]
Daniel José dos Santos commented on DROOLS-3067:
------------------------------------------------
[~jomarko] Thank you! Is not intentional, but the algorithm is not aware of what is most
important, so it uses a heuristic to position the nodes inside each layer (level). I think
it's possible to improve it further selecting which nodes are more important setting
weights for edges. At this point I'm considering all edges with weight 1 (one), but I
think we can set a bigger weight for the edges connected to the most important nodes. So
the nodes will eventually be at the top.
[DMN Designer] Automatic Layout Feature Workbench Integration
-------------------------------------------------------------
Key: DROOLS-3067
URL:
https://issues.jboss.org/browse/DROOLS-3067
Project: Drools
Issue Type: Task
Components: DMN Editor
Reporter: Jozef Marko
Assignee: Daniel José dos Santos
Priority: Major
Labels: drools-tools
Attachments: DMCommunity Challenge - March 2017.dmn, Screenshot from 2018-10-10
08-22-25.png, a3.dmn, auto.png, manual.png
Integrate the Automatic Layout feature into workbench, so during opening an imported DMN
model its nodes are positioned automatically with this feature.
h2. Acceptance tests
# -User is prompted if he wants or not to apply autolayout feature- discussed in
comments
# Positioning is automatically stored after model opening (/)
# Simple graph, no branches, starting node -> node -> ...... node -> ending node
(/)
# Tree, top node in the middle of the screen, some branches to all sides (/)
# Graph with big crossing of edges, similar to complete graph (/)
# Large (but sparse) graph, not all nodes visible without scrolling (/)