You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ask your questions
I'm am looking for help on how to layout a graph with some edge-to-edge connections using the layered algorithm.
The use case is from constraints or comments on UML / SysML type diagrams where a comment node can be tied to an edge between other nodes using an edge. Elk produces an error when trying to link an edge to another edge (because it's not targetable).
My source tool for developing the graphs treats the edges as separate entities (so I have an edge with the source as a node and the target as an edge)
Edge to edge connections are not possible in ELK. You would have to insert a node where you want to connect the edge and give it an appropriate size and rendering to blend with the edges. The original edge would of course have to be split into two edges.
As seen here, comments are just a special kind of node. Sadly, I do not think that you can recreate the edge comment shown above by that but you can use this as an example for syntactically correct comment boxes.
Ask your questions
I'm am looking for help on how to layout a graph with some edge-to-edge connections using the layered algorithm.
The use case is from constraints or comments on UML / SysML type diagrams where a comment node can be tied to an edge between other nodes using an edge. Elk produces an error when trying to link an edge to another edge (because it's not targetable).
My source tool for developing the graphs treats the edges as separate entities (so I have an edge with the source as a node and the target as an edge)
Elk JSON attempt: example
Expected behavior
layed out edges.
Screenshots
The text was updated successfully, but these errors were encountered: