<
From version < 13.1 >
edited by uru
on 2015/04/22 12:17
To version < 16.1 >
edited by uru
on 2023/07/07 05:45
>
Change comment: Renamed from xwiki:TUT.KLay Layered

Summary

Details

Page properties
Parent
... ... @@ -1,0 +1,1 @@
1 +Diagrams and Layout
Content
... ... @@ -30,7 +30,7 @@
30 30  
31 31  Don't hesitate to switch between the tasks and don't be afraid of exceptions or errors during debugging. When you use your layering phase without the intermediate processors the rest of KLay Layered will most likely complain (for cyclic input graphs). In other words, the following two assignments only work combined and not alone.
32 32  
33 -{{panel title="Assignment (b)"}}
33 +{{panel title="Assignment (a)"}}
34 34  Create a layout phase called
35 35  
36 36  {{code language="none"}}
... ... @@ -37,9 +37,15 @@
37 37  NullPhase
38 38  {{/code}}
39 39  
40 - that does nothing but can be used as a cycle breaking strategy. You have to add it to the 
40 + that does nothing and can be used as a cycle breaking strategy. Hint: It has to implement the
41 41  
42 42  {{code language="none"}}
43 +ILayoutPhase
44 +{{/code}}
45 +
46 + interface and has to be added to the 
47 +
48 +{{code language="none"}}
43 43  CycleBreakingStrategy
44 44  {{/code}}
45 45  
... ... @@ -96,14 +96,6 @@
96 96  The layout options you definitely need are {{code language="none"}}de.cau.cs.kieler.klay.layered.cycleBreaking{{/code}} and {{code language="none"}}de.cau.cs.kieler.klay.layered.nodePlace{{/code}}.
97 97  {{/tip}}
98 98  
99 -
100 -
101 -
102 -
103 -
104 -
105 -
106 -
107 107  A result might look like this. The default strategies of KLay Layered try to achieve short edges and a low number of reversed edges. The left screenshot shows the result of a random layerer and is obviously inferior to the result seen in the right screenshot.
108 108  
109 109  
klay.jpg
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.XWikiGuest
Size
... ... @@ -1,0 +1,1 @@
1 +9.6 KB
Content
lgraph.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.XWikiGuest
Size
... ... @@ -1,0 +1,1 @@
1 +53.6 KB
Content
rand.jpg
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.XWikiGuest
Size
... ... @@ -1,0 +1,1 @@
1 +12.1 KB
Content
Confluence.Code.ConfluencePageClass[0]
Id
... ... @@ -1,1 +1,1 @@
1 -10751782
1 +10751721
URL
... ... @@ -1,1 +1,1 @@
1 -https://rtsys.informatik.uni-kiel.de/confluence//wiki/spaces/TUT/pages/10751782/KLay Layered
1 +https://rtsys.informatik.uni-kiel.de/confluence//wiki/spaces/TUT/pages/10751721/KLay Layered