|
|
|
|
Re: Incremental layout [message #1817950 is a reply to message #1817929] |
Tue, 03 December 2019 14:14 |
Christophe De Loor Messages: 9 Registered: May 2018 |
Junior Member |
|
|
Thanks for the reply Chris.
As long as I only update edges, this interactive mode seems to work quite well.
However, adding a new node to the graph is troublesome. The new node is always added on the top-left of the graph (see attachment)
Is there still an issue with the layout options I am setting? For interactive, I am currently using (elkjs version):
'elk.algorithm': 'layered',
'elk.direction': 'RIGHT',
'elk.separateConnectedComponents': false,
'elk.layered.spacing.nodeNodeBetweenLayers': 50,
'elk.padding': '[top=70,left=50,bottom=50,right=50]',
'elk.layered.contentAlignment': 'H_LEFT',
'elk.alignment': 'LEFT',
'elk.hierarchyHandling': 'INCLUDE_CHILDREN',
'elk.layered.layering.strategy': 'INTERACTIVE',
'elk.layered.cycleBreaking.strategy': 'INTERACTIVE',
'elk.layered.crossingMinimization.strategy': 'INTERACTIVE',
'elk.layered.nodePlacement.strategy': 'INTERACTIVE',
|
|
|
|
Powered by
FUDForum. Page generated in 0.49853 seconds