Closed jbeard4 closed 6 years ago
Edit: it's not correct what I said before. I'll look into it :).
Maybe my first comment was partly correct after all: Setting layoutOptions: { "hierarchyHandling": "INCLUDE_CHILDREN" }
should give you proper sections for the edge. Note that in klayjs that value of hierarchyHandling
was default, which is not the case anymore.
I'm still a bit puzzled by the fact that you say it works with simple edges. The layout of the drawing you included, is it created with elkjs+simple edges? I presume the small triangles are ports in your full model.
Please consider the following reduced example.
Given the following JSON:
Calling elk.layout generates the following graph:
Expected behavior: the edge with id "a1:0" should have populated array
sections
. Actual behavior: the edge with id "a1:0" has empty arraysections
.Note that this bug does not occur when using primitive edge format, as described here:https://www.eclipse.org/elk/documentation/tooldevelopers/graphdatastructure/jsonformat.html
In that case, the graph is layed out as follows:
Thank you for your help looking into this.