PR 10
PR 10
460-4120
Fall 2022
Last update 8. 12. 2020
Graph Visualization
• Hierarchical visualization – similar to node-link visualization, exploit the notion of
hierarchy (graph may be naturally structured by means of nodes semantics which
is inherent for trees)
• Two step algorithm
• Nodes are assigned y-coordinates that are proportional to their layer numbers
(nodes are grouped into layers where edges point from a node in a lower
layer to a node in a higher layer)
• Nodes in each layer (top-down) are permuted to minimize the number of
edge intersections (expensive – use heuristics)
• Other methods: maximal layer width method and the depth-first search method
In contrast to the
straight lines and
splines, this
orthogonal routing
creates patterns that
are arguably easier to
follow. Note that
different levels of
detail are used
throughout the layout
Source: Alexandru C. Telea, Data
Visualization: Principles and Practice, 2014.
Source: https://observablehq.com/@d3/hierarchical-
edge-bundling
Source:
https://www.cs.middlebury.edu/~candrew
s/showcase/infovis_techniques_s16/icicle_
plots/icicleplots.html
svg.selectAll("rect")
.data([127, 61, 256])
.transition()
.duration(1500) // 1.5 second
.attr("x", 0)
.attr("y", function(d,i) { return i*90+50; })
.attr("width", function(d,i) { return d; })
.attr("height", 20)
.style("fill", "steelblue");
Python 3.x:
python –m http.server 8080
Source: https://www.generativedesign.org
• This function measures how well the placement of the projections preserves the
aforementioned constraints
• Techniques that compute a projection 𝑃 that minimizes stress function 𝜎 are
known as dimensionality reduction methods
2 2 2
𝑑𝑖,𝑙 + 𝑑𝑖,𝑗 − 𝑑𝑙,𝑗
𝑥𝑙 =
2𝑑𝑖,𝑗
• FastMap has complexity only 𝑂(𝑘𝑁)
Source: http://benalexkeen.com/wp-
content/uploads/2017/05/isomap.png