-
Class Summary
Class |
Description |
IlvLinkLayout |
The main class for the Link Layout algorithm.
|
Package ilog.views.graphlayout.link Description
The Link Layout algorithm reshapes the links of a graph without
moving the nodes.
It has two modes:
- The short link mode calculates link shapes with a limited number of bends.
This is suitable if the nodes are positioned so that most of the links
are short.
Links can be placed freely in this mode.
- The long link mode calculates link routes on a grid.
It avoids overlaps with nodes even if many bends are needed.
This is more suitable if the links can be very long.
By default, the algorithm computes orthogonal links; that is, links composed of
alternating horizontal and vertical segments. Optionally, direct links can be
computed. Both link styles can be mixed in the same drawing.
Sample drawing produced by the Link Layout in short link mode:
Click on the image to see it in normal size.
The short link mode works very well with thick links as produced by Java 2D:
Click on the image to see it in normal size.
Sample drawing produced by the Link Layout in long link mode:
Click on the image to see it in normal size.
The long link mode can find a route through a labyrinth:
Click on the image to see it in normal size.
- Since:
- JViews 3.5
- See Also:
ilog.views.graphlayout