Académique Documents
Professionnel Documents
Culture Documents
Tim.Dwyer@infotech.monash.edu.au
This talk:
Brief overview of constraint optimisation and operations research techniques in graph drawing Position statement:
Usual GD approach:
Define overall optimisation problem too hard! Simplify model and attack a sequence of more tractable sub-problems
OR techniques in GD
OR techniques in GD
OR techniques in GD
OR techniques in GD
Crossing minimisation
Exact solution
n 1
min :
i 1 j i 1
(c
ij
c ji ) xij
OR techniques in GD
cycle removal
layer assignment layer by layer crossing minimization
Planarization
Bend minimization
Compaction
Limitations
These frameworks apply a succession of stages each optimising with respect to a given requirement Assignments in earlier stages can limit the success of later stages
Usually the algorithms are not able to backtrack to a previous stage Leads to parameters for the various stages which users must juggle to improve output
Constrained FD Layout
Constraints are not springies, they must be satisfied Springies are a modification of the goal function Constraints (in the OR sense) are separate (in)equalities subject to which the original goal function is optimised Springies:
Sugiyama and Misue (1995), Ryal et al. (1997), etc He and Marriott (1998); Dwyer and Koren (2005); Dwyer, Koren and Marriott (2006)
Constraints:
Separation Constraints
Separation constraints: x1+d x2 , y1+d y2 can be used with force-directed layout to impose certain spacing requirements
w1 (x1,y1)
w2 (x2,y2) h2
x1+
(w1+w2) x2 2
y3+
(x3,y3) h3
(h2+h3) y2 2
y* x* y* X*
Instead of solving unconstrained quadratic forms we solve subject to separation constraints i.e. Quadratic Programming
stress(X)
x*
y* x* y* X*
My $0.02
Consider practical performance for the kind of graphs that people actually want to draw
Where does rigour yield the most benefit?