[
https://issues.jboss.org/browse/DROOLS-3067?page=com.atlassian.jira.plugi...
]
Daniel José dos Santos commented on DROOLS-3067:
------------------------------------------------
At this moment, when the Diagram is opened, we verify if there is layout information or
not (i.e. if all nodes are at 0,0 position). If is true, then we apply the automatic
layout. Should I add a prompt before apply the automatic layout, explaining to the user
that there's no layout information, like is in the acceptance test? I'm not sure
if it's really necessary since if user choose not do to it the result will be nodes
stacked at top left. What do you think, [~jomarko]?
[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
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
# Positioning is automatically stored after model opening
# Simple graph, no branches, starting node on left, ending node on right
# Simple graph, no branches, starting node on bottom, ending node on top
# 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
--
This message was sent by Atlassian Jira
(v7.12.1#712002)