Open edwingamboa opened 8 years ago
Looks like an issue with the layoutHierarchy: true
option. We'll investigate.
Since this issue is not JS-specific, I've opened up an ELK ticket to track it.
Should be fixed in the ELK code. @uruuru can comment on how this fix may find its way into the klayjs code base.
I use klayjs-d3 0.4.1. and I have a problem with placement of East ports. It occurs with a KGraph, which root node has West and East Ports. But if the East ports are not connected to any other ports and the other ports are connected to other ports, then the East ports are placed on West side of the node. Like in the following image:
Checking the properties of the port, after
klay.d3kgraph()
has finished, I realized that thede.cau.cs.kieler.portSide
property has the wrong value, thoughportSide
side was correctly defined:However if I remove the
dToa
edge from the graph above, the node is correctly placed:The initial graph with the problem is:
And the initial options: