On May 14, 2013, at 9:24 PM, Tudor Girba <tudor(a)tudorgirba.com> wrote:
Hi,
I think there is a confusion somewhere.
By default, a layout will consider all edges in the graph.
userDefinedEdges is a mechanism to tell the layout to
only consider a subset of edges when arranging nodes. For example, in the MetaBrowser the
visualization at the bottom shows red edges, but these edges are not taken into account by
the layout.
yes we are doing the same.
We want a layout that convey a knd of zoom out of source code with labels and
invocations.
But, it seems to me that you would like to customize
the way the edges look. userDefinedEdges have nothing to do with this issue. What you want
here is to set a shape for your edges.
So, if you want to set different shapes for different edges, you could do like this:
view nodes: #(1 2 3).
view shape line.
view edgeFromAssociation: 1->2.
view shape arrowedLine.
view edgeFromAssociation: 2->3.
view horizontalLineLayout gapSize: 100
About dotted line, this is not yet supported, but you can add it as a subclass of
ROLine.
Does this clarify the situation?
Cheers,
Doru
On May 14, 2013, at 6:58 PM, mathieu <mathieubmddehouck(a)mailoo.org> wrote:
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:
- How do we do if we want to represent more than two kinds of edges ?
Is Roassal able to draw dotted line ? (I haven't found it)
Regards
Mathieu
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
--
www.tudorgirba.com
"Presenting is storytelling."
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev