eclipse / elk

Eclipse Layout Kernel - Automatic layout for Java applications.
https://www.eclipse.org/elk/
Other
258 stars 86 forks source link

Can you pass custom properties to graphviz? #994

Closed mbwgh closed 8 months ago

mbwgh commented 10 months ago

I am trying to use the ordering attribute, which does not seem to be among the supported properties. I haven't found an obvious extension point after having spent some time looking at the docs and stepping through the code.

Is it possible to attach such a custom property to a node, in a way that it will be picked up by the graphviz layouter (I guess in the end DotExporter.java) and passed to graphviz?

soerendomroes commented 10 months ago

Hi, ELK uses an old version of graphviz, I do not know if this option is even supported. If I remember correctly, the implementation in ELK does not allow passing new options to graphviz, sorry.