Unexpected bends in Layered Layout [message #1802223] |
Mon, 04 February 2019 16:06 |
Baptiste Colin Messages: 5 Registered: January 2019 |
Junior Member |
|
|
Hi everybody,
I'm using the LayeredLayoutProvider to lay a graph out. However, by doing so, unexpected routings are generated for edges. For instance :
This happens even though I have set the following option upon defining the root
graph.setProperty(CoreOptions.EDGE_ROUTING, EdgeRouting.ORTHOGONAL);
Are there certain options that have to be configured properly beforehand in order for these weird edges not to be generated ?
Also, when comparing the JSON generated from the graph before and after its layout, it appears that certain edges get multiplied, leading to redundancies. Is there a way to avoid this phenomenon ?
You can find attached a JSON file representing the graph illustrated before.
Thanks in advance for your precious help
-
Attachment: graph.json
(Size: 208.96KB, Downloaded 111 times)
[Updated on: Mon, 04 February 2019 16:07] Report message to a moderator
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04002 seconds