easyiec.problems.GraphLayout#
- class easyiec.problems.GraphLayout(graph=None)[source]#
Bases:
ProblemAesthetic drawing of a network (Zachary’s karate club, Zachary 1977, via networkx).
The genome blends four base layouts (spring, Kamada–Kawai, spectral, circular), separates the two factions, rotates the drawing and sets node size, edge transparency and colours.
objectives()reports classical graph-drawing aesthetics — edge crossings, edge-length uniformity, node overlap (cf. Purchase, 1997).
Examples using easyiec.problems.GraphLayout#
Design: palettes, chart styles, faces and network drawings
Design: palettes, chart styles, faces and network drawings