Compact
Cell Spacing




The orthogonal graph layout produces orthogonal graph drawings of all types of graphs (including those with self-loops and duplicate edges). It tries to compact the graph drawing area and also to minimize the number of edge crossings and bends.

The most important properties are:

  • CellSpacing - determines the distance between 2 grid cells. For example if a grid cell is calculated to have a size of 100 x 100 and the CellSpacing property is set to 10, then the cell size will be 120 x 120. Note that the node is always placed in the middle of the cell.
  • Compact - if set to true, a compaction algorithm will be applied to the embedded graph. This will decrease the total area of the drawing with 20 to 50 % (in the average case) at the cost of some additional time needed for the calculations.
  • PlugSpacing - determines the spacing between the plugs of a node. You can set a fixed amount of spacing or a proportional spacing, which means that the plugs are distributed along the whole side of the node.