Workflow Auto Layout

Hi All,

Does anyone know where I can find the source file that does the auto layout workflow print, or does anyone know how that algorithm works?




Hi Kyle,

a KNIME-workflow is essentially a directed acyclic graph, so I guess that the auto-layout could be reduced to topological sorting (plus some simple heuristics maybe). To me, the generated layouts look like they are generated this way.

Do you have a particular workflow for which you are unhappy with the result?


Hi Nils,

I was actually looking to recreate the algorithm for a different purpose. I liked the way KNIME built the graphs.



The workflow layouting can be found in the plug-in org.knime.workbench.ui.layout. Just install the "Sources for KNIME Core" from the update site and you will get the corresponding source plug-in.