By default, TML does not place the
connection points of links. It relies on the link connectors of
the nodes to determine the connection points. If no link
connectors are installed at the nodes, the default behavior is to
connect to a point at the border of the bounding box of the
nodes. If the node has a nonrectangular shape such as a triangle,
rhombus, or circle, you may want the connection points to be
placed exactly on the border of the shape. This can be achieved
by specifying a link clip interface. The link clip interface
allows you to correct the calculated connection point so that it
lies on the border of the shape. The following figure shows an
example.
![Picture
of a layout without link clipping and with link clipping](../../../GraphLayout/_media/Fig4-14online17_default.gif)
Effect of Link Clipping interface
You can modify the position of the connection points of the links
by providing a class that implements the IlvLinkClipInterface. An example for the
implementation of a link clip interface is in Link clipping. To set a link clip interface.
To set a link clip interface:
In CSS
It is not possible to set the link clip interface. See Link clipping.
In Java™
Use the method:
void setLinkClipInterface(IlvLinkClipInterface interface)
Note
The link clip interface requires link connectors at the nodes of
an IlvGrapher that allow connector pins to be
placed freely at the node border. It is recommended that you use
IlvFreeLinkConnector or IlvClippingLinkConnector for link
connectors to be used in combination with
IlvGrapher
objects. The clip link connector updates the clipped connection
points automatically during interactive node movements.