Vincent, does this LayerBuilder solves your question?
Alexandre
On Apr 7, 2014, at 12:50 PM, Alexandre Bergel <alexandre.bergel(a)me.com> wrote:
Hi Vincent,
I am not sure to understand what you need exactly.
I just created a new builder, called RTLayerBuilder.
A simple example:
-=-=-=-=-=-=-=-=-=-=-=-=
| b |
b := RTLayerBuilder new.
b addLayer: 'ABC'.
b addLayer: 'BCA'.
b addLayer: 'DEFA'.
b open
-=-=-=-=-=-=-=-=-=-=-=-=
It gives:
<Screen Shot 2014-04-07 at 12.16.31 PM.png>
By being a builder, you can enjoy all the facilities for defining shapes and
interaction:
-=-=-=-=-=-=-=-=-=-=-=-=
| b |
b := RTLayerBuilder new.
b shape circle
size: 20; withText.
b verticalGap: 30.
b horizontalGap: 40.
b addLayer: 'ABC'.
b addLayer: 'BCA'.
b addLayer: 'DEFA'.
b open
-=-=-=-=-=-=-=-=-=-=-=-=
<Screen Shot 2014-04-07 at 12.16.44 PM.png>
Cheers,
Alexandre
On Apr 1, 2014, at 6:17 AM, Blondeau Vincent <vincent.blondeau(a)worldline.com>
wrote:
Hi,
I would like to display a some elements by layers with Roassal.
Each element has a layer number (from 1 to 6 in the exemple) and is linked to elements
from other layers (green lines).
So each line of the visualization contains elements of one layer.
I have tried with all the treeLayout but I don’t get a representation by the wanted
layers.
So I asked Usman and he tells me to use userDefinedEdges:.
So I defined virtual edges from all elements from a layer to all the elements to the next
layer.
And I get:
<image001.png>
All the nodes are on the good line but the linked between them (in green) are horribly
crossed.
Which virtual nodes should I add to make it works ? Or should I create/use a layout ?
Thanks for your answers,
Cheers,
Vincent
Ce message et les pièces jointes sont confidentiels et réservés à l'usage exclusif de
ses destinataires. Il peut également être protégé par le secret professionnel. Si vous
recevez ce message par erreur, merci d'en avertir immédiatement l'expéditeur et de
le détruire. L'intégrité du message ne pouvant être assurée sur Internet, la
responsabilité de Worldline ne pourra être recherchée quant au contenu de ce message. Bien
que les meilleurs efforts soient faits pour maintenir cette transmission exempte de tout
virus, l'expéditeur ne donne aucune garantie à cet égard et sa responsabilité ne
saurait être recherchée pour tout dommage résultant d'un virus transmis.
This e-mail and the documents attached are confidential and intended solely for the
addressee; it may also be privileged. If you receive this e-mail in error, please notify
the sender immediately and destroy it. As its integrity cannot be secured on the Internet,
the Worldline liability cannot be triggered for the message content. Although the sender
endeavours to maintain a computer virus-free network, the sender does not warrant that
this transmission is virus-free and will not be liable for any damages resulting from any
virus transmitted.
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel
http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel
http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.