Hi Mathieu,
can you write a peace of code (interface) you would like to have? I think
this is an important in order to understand you. Basically I would do
something like this:
view shape line color: Color black.
view edgesFrom:to:.
view shape line color: Color blue.
view edgesFrom:to:.
…etc...
I suppose if you have 5 collections of edges, you have created separately,
right? But it seams you want something else, what I do not understand.
Cheers,
Jura
2013/5/14 mathieu <mathieubmddehouck(a)mailoo.org>
Hi
Well I know how to set color and width and shape for an Edge, the question
was :
if I have five sets of edges, each set representing something different,
is it possible to seperate them in the view/layout?
and can I tell these are blue and these are green with this shape without
using five blocks like "(view edges sellect: []) do: []" for each set ?
Because it's not that difficult to tell these edges must be used for
computing the layout, and these other not, but if you have four different
kinds of relationship between nodes, you may want to have an efficient way
for dinstinguishing them.
Regards
Mathieu
Le 14/05/2013 19:40, Juraj Kubelka a écrit :
Hi!
2013/5/14 mathieu <mathieubmddehouck(a)mailoo.org>
Hi
I was wondering how to give different senses to different edges, so have
a look at edgeDrivenLayout and subclasses.
It seems that there are 2 sets of edges ( edges and userDifinedEdges )
and then we face a problem:
I do not think it is related to your question. User can set
#userDefinedEdges and it defines edges used for computation of layout.
Instance variable edges is an internal variable used during the computation
of layout.
- How do we do if we want to represent more than
two kinds of edges ?
For standard ROLine shape, you can define colour or width. Is it enough?
Is Roassal able to draw dotted line ? (I
haven't found it)
No, it is not supported for now.
Regards
Mathieu
Cheers,
Jura
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
_______________________________________________
Moose-dev mailing
listMoose-dev@iam.unibe.chhttps://www.iam.unibe.ch/mailman/listinfo/moose-dev
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev