eclipse layout kernel · anatomy of elk editor algorithms kgraph core . mini tutorial 9 . 10 using...
TRANSCRIPT
![Page 1: Eclipse Layout Kernel · Anatomy of ELK Editor Algorithms KGraph Core . Mini Tutorial 9 . 10 Using ELK . 11 1 - Install GMF Support Graphviz Support Core Graphiti Support OGDF Support](https://reader030.vdocument.in/reader030/viewer/2022041109/5f0e1a937e708231d43da14d/html5/thumbnails/1.jpg)
Eclipse Layout Kernel ELK
Christoph Daniel Schulze Kiel University
Jaafar Bouayad Atos
Introducing the
![Page 2: Eclipse Layout Kernel · Anatomy of ELK Editor Algorithms KGraph Core . Mini Tutorial 9 . 10 Using ELK . 11 1 - Install GMF Support Graphviz Support Core Graphiti Support OGDF Support](https://reader030.vdocument.in/reader030/viewer/2022041109/5f0e1a937e708231d43da14d/html5/thumbnails/2.jpg)
Introduction
![Page 3: Eclipse Layout Kernel · Anatomy of ELK Editor Algorithms KGraph Core . Mini Tutorial 9 . 10 Using ELK . 11 1 - Install GMF Support Graphviz Support Core Graphiti Support OGDF Support](https://reader030.vdocument.in/reader030/viewer/2022041109/5f0e1a937e708231d43da14d/html5/thumbnails/3.jpg)
3
Introduction
![Page 4: Eclipse Layout Kernel · Anatomy of ELK Editor Algorithms KGraph Core . Mini Tutorial 9 . 10 Using ELK . 11 1 - Install GMF Support Graphviz Support Core Graphiti Support OGDF Support](https://reader030.vdocument.in/reader030/viewer/2022041109/5f0e1a937e708231d43da14d/html5/thumbnails/4.jpg)
4
Introduction
![Page 5: Eclipse Layout Kernel · Anatomy of ELK Editor Algorithms KGraph Core . Mini Tutorial 9 . 10 Using ELK . 11 1 - Install GMF Support Graphviz Support Core Graphiti Support OGDF Support](https://reader030.vdocument.in/reader030/viewer/2022041109/5f0e1a937e708231d43da14d/html5/thumbnails/5.jpg)
5
…developing
…moving things around
Source: Klauske, Dziobek (2010)
70% 30%
Time developers spend…
![Page 6: Eclipse Layout Kernel · Anatomy of ELK Editor Algorithms KGraph Core . Mini Tutorial 9 . 10 Using ELK . 11 1 - Install GMF Support Graphviz Support Core Graphiti Support OGDF Support](https://reader030.vdocument.in/reader030/viewer/2022041109/5f0e1a937e708231d43da14d/html5/thumbnails/6.jpg)
6
…selecting things
…moving things around
40% 60%
Time developers spend…
![Page 7: Eclipse Layout Kernel · Anatomy of ELK Editor Algorithms KGraph Core . Mini Tutorial 9 . 10 Using ELK . 11 1 - Install GMF Support Graphviz Support Core Graphiti Support OGDF Support](https://reader030.vdocument.in/reader030/viewer/2022041109/5f0e1a937e708231d43da14d/html5/thumbnails/7.jpg)
7
Introduction
Why not let
Your Computer move things instead ?
Easy Hard
Layout Whistling
![Page 8: Eclipse Layout Kernel · Anatomy of ELK Editor Algorithms KGraph Core . Mini Tutorial 9 . 10 Using ELK . 11 1 - Install GMF Support Graphviz Support Core Graphiti Support OGDF Support](https://reader030.vdocument.in/reader030/viewer/2022041109/5f0e1a937e708231d43da14d/html5/thumbnails/8.jpg)
8
Anatomy of ELK
Editor Algorithms
KGraph
Core
![Page 9: Eclipse Layout Kernel · Anatomy of ELK Editor Algorithms KGraph Core . Mini Tutorial 9 . 10 Using ELK . 11 1 - Install GMF Support Graphviz Support Core Graphiti Support OGDF Support](https://reader030.vdocument.in/reader030/viewer/2022041109/5f0e1a937e708231d43da14d/html5/thumbnails/9.jpg)
Mini Tutorial
9
![Page 10: Eclipse Layout Kernel · Anatomy of ELK Editor Algorithms KGraph Core . Mini Tutorial 9 . 10 Using ELK . 11 1 - Install GMF Support Graphviz Support Core Graphiti Support OGDF Support](https://reader030.vdocument.in/reader030/viewer/2022041109/5f0e1a937e708231d43da14d/html5/thumbnails/10.jpg)
10
Using ELK
![Page 11: Eclipse Layout Kernel · Anatomy of ELK Editor Algorithms KGraph Core . Mini Tutorial 9 . 10 Using ELK . 11 1 - Install GMF Support Graphviz Support Core Graphiti Support OGDF Support](https://reader030.vdocument.in/reader030/viewer/2022041109/5f0e1a937e708231d43da14d/html5/thumbnails/11.jpg)
11
1 - Install
GMF Support Graphviz Support
Core
OGDF Support Graphiti Support
![Page 12: Eclipse Layout Kernel · Anatomy of ELK Editor Algorithms KGraph Core . Mini Tutorial 9 . 10 Using ELK . 11 1 - Install GMF Support Graphviz Support Core Graphiti Support OGDF Support](https://reader030.vdocument.in/reader030/viewer/2022041109/5f0e1a937e708231d43da14d/html5/thumbnails/12.jpg)
12
Using ELK
![Page 13: Eclipse Layout Kernel · Anatomy of ELK Editor Algorithms KGraph Core . Mini Tutorial 9 . 10 Using ELK . 11 1 - Install GMF Support Graphviz Support Core Graphiti Support OGDF Support](https://reader030.vdocument.in/reader030/viewer/2022041109/5f0e1a937e708231d43da14d/html5/thumbnails/13.jpg)
13
2 - Connect
![Page 14: Eclipse Layout Kernel · Anatomy of ELK Editor Algorithms KGraph Core . Mini Tutorial 9 . 10 Using ELK . 11 1 - Install GMF Support Graphviz Support Core Graphiti Support OGDF Support](https://reader030.vdocument.in/reader030/viewer/2022041109/5f0e1a937e708231d43da14d/html5/thumbnails/14.jpg)
14
2 - Connect
Core IDiagramLayoutManager
buildLayoutGraph(…)
applyLayout(…)
![Page 15: Eclipse Layout Kernel · Anatomy of ELK Editor Algorithms KGraph Core . Mini Tutorial 9 . 10 Using ELK . 11 1 - Install GMF Support Graphviz Support Core Graphiti Support OGDF Support](https://reader030.vdocument.in/reader030/viewer/2022041109/5f0e1a937e708231d43da14d/html5/thumbnails/15.jpg)
15
2 - Connect
KNode
KEdge
KPort KLabel
KShapeLayout
KEdgeLayout
![Page 16: Eclipse Layout Kernel · Anatomy of ELK Editor Algorithms KGraph Core . Mini Tutorial 9 . 10 Using ELK . 11 1 - Install GMF Support Graphviz Support Core Graphiti Support OGDF Support](https://reader030.vdocument.in/reader030/viewer/2022041109/5f0e1a937e708231d43da14d/html5/thumbnails/16.jpg)
16
Using ELK
![Page 17: Eclipse Layout Kernel · Anatomy of ELK Editor Algorithms KGraph Core . Mini Tutorial 9 . 10 Using ELK . 11 1 - Install GMF Support Graphviz Support Core Graphiti Support OGDF Support](https://reader030.vdocument.in/reader030/viewer/2022041109/5f0e1a937e708231d43da14d/html5/thumbnails/17.jpg)
17
3 - Configure
String
T
T
id
value
default
KShapeLayout
KEdgeLayout
KLayoutData
IProperty<T>
![Page 18: Eclipse Layout Kernel · Anatomy of ELK Editor Algorithms KGraph Core . Mini Tutorial 9 . 10 Using ELK . 11 1 - Install GMF Support Graphviz Support Core Graphiti Support OGDF Support](https://reader030.vdocument.in/reader030/viewer/2022041109/5f0e1a937e708231d43da14d/html5/thumbnails/18.jpg)
18
Using ELK
![Page 19: Eclipse Layout Kernel · Anatomy of ELK Editor Algorithms KGraph Core . Mini Tutorial 9 . 10 Using ELK . 11 1 - Install GMF Support Graphviz Support Core Graphiti Support OGDF Support](https://reader030.vdocument.in/reader030/viewer/2022041109/5f0e1a937e708231d43da14d/html5/thumbnails/19.jpg)
Case Studies
19
![Page 20: Eclipse Layout Kernel · Anatomy of ELK Editor Algorithms KGraph Core . Mini Tutorial 9 . 10 Using ELK . 11 1 - Install GMF Support Graphviz Support Core Graphiti Support OGDF Support](https://reader030.vdocument.in/reader030/viewer/2022041109/5f0e1a937e708231d43da14d/html5/thumbnails/20.jpg)
20
ELK as a user in Capella
![Page 21: Eclipse Layout Kernel · Anatomy of ELK Editor Algorithms KGraph Core . Mini Tutorial 9 . 10 Using ELK . 11 1 - Install GMF Support Graphviz Support Core Graphiti Support OGDF Support](https://reader030.vdocument.in/reader030/viewer/2022041109/5f0e1a937e708231d43da14d/html5/thumbnails/21.jpg)
21
Graphical representation of a semantic property
in flowports
on the left
out flowports
on the right
![Page 22: Eclipse Layout Kernel · Anatomy of ELK Editor Algorithms KGraph Core . Mini Tutorial 9 . 10 Using ELK . 11 1 - Install GMF Support Graphviz Support Core Graphiti Support OGDF Support](https://reader030.vdocument.in/reader030/viewer/2022041109/5f0e1a937e708231d43da14d/html5/thumbnails/22.jpg)
22
Programmatic Configuration
![Page 23: Eclipse Layout Kernel · Anatomy of ELK Editor Algorithms KGraph Core . Mini Tutorial 9 . 10 Using ELK . 11 1 - Install GMF Support Graphviz Support Core Graphiti Support OGDF Support](https://reader030.vdocument.in/reader030/viewer/2022041109/5f0e1a937e708231d43da14d/html5/thumbnails/23.jpg)
23
Internal Block Diagram layout in Papyrus
![Page 24: Eclipse Layout Kernel · Anatomy of ELK Editor Algorithms KGraph Core . Mini Tutorial 9 . 10 Using ELK . 11 1 - Install GMF Support Graphviz Support Core Graphiti Support OGDF Support](https://reader030.vdocument.in/reader030/viewer/2022041109/5f0e1a937e708231d43da14d/html5/thumbnails/24.jpg)
24
Change the direction
![Page 25: Eclipse Layout Kernel · Anatomy of ELK Editor Algorithms KGraph Core . Mini Tutorial 9 . 10 Using ELK . 11 1 - Install GMF Support Graphviz Support Core Graphiti Support OGDF Support](https://reader030.vdocument.in/reader030/viewer/2022041109/5f0e1a937e708231d43da14d/html5/thumbnails/25.jpg)
25
Internal Block Diagram layout in Papyrus (down direction)
![Page 26: Eclipse Layout Kernel · Anatomy of ELK Editor Algorithms KGraph Core . Mini Tutorial 9 . 10 Using ELK . 11 1 - Install GMF Support Graphviz Support Core Graphiti Support OGDF Support](https://reader030.vdocument.in/reader030/viewer/2022041109/5f0e1a937e708231d43da14d/html5/thumbnails/26.jpg)
26
Complex diagram layout
edges of
initial and final states
directed to the right
other edges
directed downward
![Page 27: Eclipse Layout Kernel · Anatomy of ELK Editor Algorithms KGraph Core . Mini Tutorial 9 . 10 Using ELK . 11 1 - Install GMF Support Graphviz Support Core Graphiti Support OGDF Support](https://reader030.vdocument.in/reader030/viewer/2022041109/5f0e1a937e708231d43da14d/html5/thumbnails/27.jpg)
27
Multiple layout runs
![Page 28: Eclipse Layout Kernel · Anatomy of ELK Editor Algorithms KGraph Core . Mini Tutorial 9 . 10 Using ELK . 11 1 - Install GMF Support Graphviz Support Core Graphiti Support OGDF Support](https://reader030.vdocument.in/reader030/viewer/2022041109/5f0e1a937e708231d43da14d/html5/thumbnails/28.jpg)
28
State Machine Diagram layout in Papyrus
![Page 29: Eclipse Layout Kernel · Anatomy of ELK Editor Algorithms KGraph Core . Mini Tutorial 9 . 10 Using ELK . 11 1 - Install GMF Support Graphviz Support Core Graphiti Support OGDF Support](https://reader030.vdocument.in/reader030/viewer/2022041109/5f0e1a937e708231d43da14d/html5/thumbnails/29.jpg)
29
State Machine Diagram layout in Papyrus (slow motion)
![Page 30: Eclipse Layout Kernel · Anatomy of ELK Editor Algorithms KGraph Core . Mini Tutorial 9 . 10 Using ELK . 11 1 - Install GMF Support Graphviz Support Core Graphiti Support OGDF Support](https://reader030.vdocument.in/reader030/viewer/2022041109/5f0e1a937e708231d43da14d/html5/thumbnails/30.jpg)
Conclusion
30
![Page 31: Eclipse Layout Kernel · Anatomy of ELK Editor Algorithms KGraph Core . Mini Tutorial 9 . 10 Using ELK . 11 1 - Install GMF Support Graphviz Support Core Graphiti Support OGDF Support](https://reader030.vdocument.in/reader030/viewer/2022041109/5f0e1a937e708231d43da14d/html5/thumbnails/31.jpg)
31
What’s next ?
![Page 32: Eclipse Layout Kernel · Anatomy of ELK Editor Algorithms KGraph Core . Mini Tutorial 9 . 10 Using ELK . 11 1 - Install GMF Support Graphviz Support Core Graphiti Support OGDF Support](https://reader030.vdocument.in/reader030/viewer/2022041109/5f0e1a937e708231d43da14d/html5/thumbnails/32.jpg)
![Page 33: Eclipse Layout Kernel · Anatomy of ELK Editor Algorithms KGraph Core . Mini Tutorial 9 . 10 Using ELK . 11 1 - Install GMF Support Graphviz Support Core Graphiti Support OGDF Support](https://reader030.vdocument.in/reader030/viewer/2022041109/5f0e1a937e708231d43da14d/html5/thumbnails/33.jpg)
33