Stress-Minimizing Orthogonal Layout
- f Data Flow Diagrams with Ports
Ulf Rüegg Kiel University Steve Kieffer Tim Dwyer Kim Marriott Michael Wybrow Monash University
Graph Drawing 2014
Stress-Minimizing Orthogonal Layout of Data Flow Diagrams with Ports - - PowerPoint PPT Presentation
Stress-Minimizing Orthogonal Layout of Data Flow Diagrams with Ports Ulf Regg Steve Kieffer Tim Dwyer Kim Marriott Michael Wybrow Kiel University Monash University Graph Drawing 2014 Background: Automotive Industry 2 Background:
Ulf Rüegg Kiel University Steve Kieffer Tim Dwyer Kim Marriott Michael Wybrow Monash University
Graph Drawing 2014
2
2
ATOMIC NODES
2
ATOMIC NODES ORTHOGONAL EDGES
2
PORTS ATOMIC NODES ORTHOGONAL EDGES
2
PORTS ATOMIC NODES COMPOUND NODES ORTHOGONAL EDGES
2
PORTS ATOMIC NODES COMPOUND NODES ORTHOGONAL EDGES HIERARCHICAL PORTS
3
3
R1
3
R1 R2
3
R1 R3 R2
3
R1 R3 R2
R4
3
R1 R3 R2
R4 R5
3
R1 R3 R2
R6 R4 R5
4
4
4
4
4
4
5
5
cola.js
5
cola.js
5
cola.js
subject to certain constraints Minimize
𝑥𝑣𝑤 𝑚𝑞𝑣𝑤 − 𝑐(𝑣, 𝑤) + 2 + 𝑚−2 𝑐 𝑣, 𝑤 − 𝑚 + 2
(𝑣,𝑤)∈𝐹 𝑣<𝑤∈𝑊
6
[Dwyer et al. GD'09]
subject to certain constraints Minimize
𝑐 𝑣, 𝑤 euclidean distance between u and v 𝑞𝑣𝑤 number of edges on shortest path between u and v 𝑚 an ideal edge length 𝑥𝑣𝑤 normalization factor (𝑨)+ max(0,𝑨)
𝑥𝑣𝑤 𝑚𝑞𝑣𝑤 − 𝑐(𝑣, 𝑤) + 2 + 𝑚−2 𝑐 𝑣, 𝑤 − 𝑚 + 2
(𝑣,𝑤)∈𝐹 𝑣<𝑤∈𝑊
repulsive attractive
6
INTUITION
certain distance
ideal length is reached
[Dwyer et al. GD'09]
7
7
FIXED POSITION
8
Port Dummy
FIXED POSITION
8
Port Dummy
FIXED POSITION
FIXED SIDE
8
Port Dummy
FIXED POSITION
FIXED SIDE
8
Port Dummy
FIXED POSITION
FIXED SIDE
8
Port Dummy
fixed
9
[Kieffer et al. GD'13]
9
[Kieffer et al. GD'13]
9
[Kieffer et al. GD'13]
9
[Kieffer et al. GD'13]
10
10
10
10
[Wybrow et al. GD'10]
11
Stress
11
BETTER
Stress Average edge length
11
BETTER
Stress Average edge length Edge length variance
11
BETTER
Stress Average edge length Edge length variance Area and aspect ratio
11
BETTER
Stress Average edge length Edge length variance Area and aspect ratio Symmetry
11
BETTER
Stress Average edge length Edge length variance Area and aspect ratio Symmetry Implementation complexity
11
BETTER
Stress Average edge length Edge length variance Area and aspect ratio Symmetry Implementation complexity Edge crossings
11
BETTER WORSE
Stress Average edge length Edge length variance Area and aspect ratio Symmetry Implementation complexity Edge crossings Edge bends
11
BETTER WORSE
Stress Average edge length Edge length variance Area and aspect ratio Symmetry Implementation complexity Edge crossings Edge bends Execution time
11
BETTER WORSE
12
KLay Layered
12
CoDaFlow
13
1. No constraints 2. + Flow constraints 3. + Port costraints 4. + Non-overlap constraints 5. + Orthogonalizing constraints
13
1. No constraints 2. + Flow constraints 3. + Port costraints 4. + Non-overlap constraints 5. + Orthogonalizing constraints
13
14
14
layered graphs with port constraints. Journal of Visual Languages & Computing.
procedure for separation constraint layout of graphs. IEEE Transactions on Visualization and Computer Graphics
constrained graph layout. Graph Drawing.
grid-like layout using soft and hard constraints. Graph Drawing.
15