<
From version < 3.1 >
edited by cds
on 2013/09/11 15:52
To version < 5.1 >
edited by cds
on 2013/09/11 16:23
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,3 +1,9 @@
1 +{{warning}}
2 +We haven't finished writing this page yet.
3 +{{/warning}}
4 +
5 +
6 +
1 1  This page describes how layout options are applied by KIML during the layout process. After having read this, you should be able to answer the following questions:
2 2  
3 3  * What are //layout options//?
... ... @@ -16,7 +16,7 @@
16 16  
17 17  = Layout Options and What They Are Good For =
18 18  
19 -Even the most basic layout algorithm has some settings for you to play with. This might be something as simple as the space left between different nodes, or something as complex as changing how node labels are placed and how that influences the size of each node. Each such setting must be registered with KIML as a //layout option//, and each algorithm must specify exactly which of these options it supports. Registering a layout option is done through one of KIML's extension points and can look like this:
25 +Even the most basic layout algorithm provides some settings for you to play with. This might be something as simple as the space left between different nodes, or something as complex as changing how node labels are placed and how that influences the size of each node. Each such setting must be registered with KIML as a //layout option//, and each algorithm must specify exactly which of these options it supports. Registering a layout option is done through one of KIML's extension points and can look like this:
20 20  
21 21  {{code language="html/xml"}}
22 22  <extension point="de.cau.cs.kieler.kiml.layoutProviders">
... ... @@ -73,6 +73,15 @@
73 73  
74 74  = (% style="line-height: 1.4285715;" %)The Layout Options Manager(%%) =
75 75  
82 +(% style="line-height: 1.4285715;" %)By now, we have an idea of what layout options do and why they are important in the first place. However, we haven't looked at how layout options end up on KGraph elements yet. This is where the [[{{code language="none"}}LayoutOptionsManager{{/code}}>>url:http://git.rtsys.informatik.uni-kiel.de/projects/KIELER/repos/pragmatics/browse/plugins/de.cau.cs.kieler.kiml.ui/src/de/cau/cs/kieler/kiml/ui/service/LayoutOptionManager.java||shape="rect"]] comes in.
83 +
84 +{{tip}}
85 +The [[KIML page>>doc:Infrastructure for Meta Layout (KIML)]] has a high-level explanation of what happens when during the layout process. To take a look at it if you haven't already – it will make the following concepts easier to understand.
86 +{{/tip}}
87 +
88 +(% style="line-height: 1.4285715;" %)After a layout manager has
89 +
90 +
76 76  {{warning title="ToDo"}}
77 77  Write this section.
78 78  {{/warning}}
Confluence.Code.ConfluencePageClass[0]
Id
... ... @@ -1,1 +1,1 @@
1 -7700947
1 +7700951
URL
... ... @@ -1,1 +1,1 @@
1 -https://rtsys.informatik.uni-kiel.de/confluence//wiki/spaces/KIELER/pages/7700947/Working With Layout Options
1 +https://rtsys.informatik.uni-kiel.de/confluence//wiki/spaces/KIELER/pages/7700951/Working With Layout Options