Last modified by Alexander Schulz-Rosengarten on 2023/07/11 10:33

From version 10.1
edited by cds
on 2013/09/16 16:05
Change comment: There is no comment for this version
To version 14.1
edited by cds
on 2013/09/16 19:36
Change comment: Migrated to Confluence 5.3

Summary

Details

Page properties
Content
... ... @@ -94,7 +94,7 @@
94 94  
95 95  * {{code language="none"}}DefaultLayoutConfig{{/code}} – Sets fixed default values defined for layout options.
96 96  * {{code language="none"}}EclipseLayoutConfig{{/code}} – Users can define default layout options to be set on elements that meet certain criteria via the KIML preference page. This layout configuration takes these options and applies them.
97 -* {{code language="none"}}SemanticLayoutConfig{{/code}} – **DOCUMENT THIS**
97 +* {{code language="none"}}SemanticLayoutConfig{{/code}} – A configuration that bases its layout option values on the semantic objects represented by the KGraph elements.
98 98  * {{code language="none"}}GmfLayoutConfig{{/code}} / {{code language="none"}}GraphitiLayoutConfig{{/code}} – These configurations apply layout options set by the user in the layout view or stored in the notation model file of a diagram.
99 99  * {{code language="none"}}VolatileLayoutConfig{{/code}} – A configuration whose only purpose it is to make sure certain layout options are set on certain diagram elements in a particular layout run.
100 100  
... ... @@ -102,7 +102,7 @@
102 102  
103 103  == A Few Details on Layout Configurations ==
104 104  
105 -What we just learned is a bit of a simplification of what happens. The layout options manager not only asks each layout configuration to provide layout options for each graph element. Before we look at the details, let's take a look at the methods each layout configuration provides:
105 +What we just learned is a bit of a simplification of what happens. Before we look at the details, let's take a look at the methods each layout configuration provides:
106 106  
107 107  {{code language="java"}}
108 108  public interface ILayoutConfig {
... ... @@ -132,6 +132,12 @@
132 132  
133 133  = (% style="line-height: 1.4285715;" %)Programmatically Setting Layout Options(%%) =
134 134  
135 +(% style="line-height: 1.4285715;" %)So with all these layout configurations available, how do you actually go about setting layout options programmatically? Well, as always: it depends.
136 +
137 +
138 +(% style="line-height: 1.4285715;" %)
139 +
140 +
135 135  {{warning title="ToDo"}}
136 136  Write this section. This will be about when to use the different kinds of layout configurations, mainly {{code language="none"}}SemanticLayoutConfig{{/code}} and {{code language="none"}}VolatileLayoutConfig{{/code}}.
137 137  {{/warning}}
Confluence.Code.ConfluencePageClass[0]
Id
... ... @@ -1,1 +1,1 @@
1 -7701011
1 +9469977
URL
... ... @@ -1,1 +1,1 @@
1 -https://rtsys.informatik.uni-kiel.de/confluence//wiki/spaces/KIELER/pages/7701011/Configuring Automatic Layout
1 +https://rtsys.informatik.uni-kiel.de/confluence//wiki/spaces/KIELER/pages/9469977/Configuring Automatic Layout