Layout Features Tutorial
Edge Router
This demo shows common configuration options for the (polyline)
EdgeRouter
.
-
Basic distance settings like the
minimum node-edge distance
and the
minimum edge-edge distance
.
-
Scope
: the
orange edges
are
not
routed by the algorithm, they are so-called
fixed
edges. All other edges are routed, thus, called
affected
edges.
-
Routing Style
: the default style in this example is orthogonal, but the
blue edges
are routed using the octilinear style.
-
Grouping of edges: the
pink edges
are grouped at their target side.
-
Restricting ports via
Port Candidates
: at node '5' and node '7', ports are restricted to be on the left or right side
(west/east). For other nodes the port sides are not restricted.
-
Grid routing
. Edges are routed on a 10x10 grid.
Code Snippet
To experiment with the settings, you can copy the code snippet to configure the router
from
GitHub
Demos
More features offered by the EdgeRouter algorithm are shown by the
Layout Styles Demo
.
Documentation
The Developer's Guide provides more in-depth information about the available
Polyline Edge Routing
features.