elkjs icon indicating copy to clipboard operation
elkjs copied to clipboard

Exposing ElkGraphUtil.java?

Open meoyawn opened this issue 3 years ago • 1 comments

Reading https://www.eclipse.org/elk/documentation/tooldevelopers/graphdatastructure.html I see that there's many useful functions in ElkGraphUtil.java

Edge Containment: Unless one uses one of the create methods to create edges, finding the node an edge should be contained in may be annoying (thus, don’t). The updateContainment(ElkEdge) method automatically computes the best containment and puts the edge there.

Any way to call that from elkjs?

meoyawn avatar Mar 31 '21 17:03 meoyawn

Exposing them probably won't help as in elkjs you want those methods to operate on the json graph structure.

I agree, however, that it would be a handy addition. In particular the issue with finding the correct edge containment occurs regularly.

uruuru avatar Mar 31 '21 18:03 uruuru