Skip to content
Snippets Groups Projects
Commit a30cc3b6 authored by Simon Barner's avatar Simon Barner
Browse files

- Enable specialized handling for feedback edges (results into slightly...

- Enable specialized handling for feedback edges (results into slightly larger, but more meaningful diagrams)
refs 2898
parent b933ea20
No related branches found
No related tags found
No related merge requests found
......@@ -59,6 +59,8 @@ import de.cau.cs.kieler.kiml.options.LayoutOptions;
import de.cau.cs.kieler.kiml.options.PortSide;
import de.cau.cs.kieler.kiml.util.KimlUtil;
import de.cau.cs.kieler.klay.layered.LayeredLayoutProvider;
import de.cau.cs.kieler.klay.layered.properties.InteractiveReferencePoint;
import de.cau.cs.kieler.klay.layered.properties.Properties;
/**
* <p>
......@@ -78,7 +80,7 @@ import de.cau.cs.kieler.klay.layered.LayeredLayoutProvider;
* @author offtermatt, barner
* @author $Author$
* @version $Rev$
* @ConQAT.Rating YELLOW Hash: D34F2640E49CACAC2B6B776E3BF8E48E
* @ConQAT.Rating YELLOW Hash: EEC3D86CD41265BFED5C9CB32D2EDA5F
*/
public class KielerAutoLayouter implements IAutoLayouter {
......@@ -114,6 +116,8 @@ public class KielerAutoLayouter implements IAutoLayouter {
KShapeLayout par = parentNode.getData(KShapeLayout.class);
par.setProperty(LayoutOptions.DIRECTION, Direction.RIGHT);
par.setProperty(LayoutOptions.INTERACTIVE, true);
par.setProperty(Properties.FEEDBACK_EDGES, true);
par.setProperty(Properties.INTERACTIVE_REFERENCE_POINT, InteractiveReferencePoint.TOP_LEFT);
AbstractLayoutProvider layoutProvider = new LayeredLayoutProvider();
IKielerProgressMonitor progressMonitor = new BasicProgressMonitor();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment