Support for complex edge labels [message #1775664] |
Fri, 03 November 2017 00:24  |
Eclipse User |
|
|
|
Hello,
I was wondering if there is a way to position a complex node (i.e. a node containing other nodes) adjacent to an edge, essentially positioning it as a label?
I saw there was some documentation about this here for KLay: rtsys.informatik.uni-kiel.de/confluence/display/KIELER/Dynamic+Label+Sizing
I was wondering if there are any updates for ELK?
Thank you for your guidance on this,
Jake
|
|
|
Re: Support for complex edge labels [message #1775749 is a reply to message #1775664] |
Sun, 05 November 2017 13:01   |
Eclipse User |
|
|
|
Hi Jacob,
we have no built-in ability to treat nodes as we treat labels as that would blur the distinction between the two and make a lot of things in the algorithm much more complicated.
What you might want to do is call automatic layout several times: once with a graph that describes only your complex node, and a second time with a graph that describes the diagrams that complex node should be placed in. In that second graph, you could model that node as a label of the same size the node would have. When applying the layout results, you would apply the coordinates assigned to the label to the compound node.
Cheers,
Chris
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.06429 seconds