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
My graph is a left-to-right flowchart style digraph, and I am trying to get my joints to automatically lay themselves out whenever the nodes are moved. What is the recommended approach?
Overriding GNodeSkin::layoutConnectors() seems like the way to go, but I've had trouble getting it to work; there seems to be no way to derive the position of a connector relative to the entire graph from either a GConnection object or a GJoint object. What am I doing wrong?
The text was updated successfully, but these errors were encountered:
Issue-Label Bot is automatically applying the label question to this issue, with a confidence of 0.91. Please mark this comment with 👍 or 👎 to give our bot feedback!
midrare
changed the title
Is there a way to automatically position the joints in a connection?
How do I automatically position the joints in a connection?
Oct 15, 2020
This sounds more like some sort of automatic layout (with collision detection)?
Somewhere I have a prototype of doing just this with the help of the eclipse layout kernel (https://github.com/eclipse/elk).. but it is not ready for prime time.
My graph is a left-to-right flowchart style digraph, and I am trying to get my joints to automatically lay themselves out whenever the nodes are moved. What is the recommended approach?
Overriding
GNodeSkin::layoutConnectors()
seems like the way to go, but I've had trouble getting it to work; there seems to be no way to derive the position of a connector relative to the entire graph from either aGConnection
object or aGJoint
object. What am I doing wrong?The text was updated successfully, but these errors were encountered: