Download ILOG JViews 5.5 Graphics Framework User's Manual

Transcript
NESTED GRAPHERS
This method returns true if a link connector is installed. If no link connector is installed, a
default connection point is computed. If a link connector is installed, the link connector then
computes the connection point with the method:
IlvPoint getConnectionPoint(IlvLinkImage link,
boolean origin, IlvTransformer t)
◆ When the link is a regular link, the transformer is the transformer used to draw the link,
which is the same as the transformer used to draw the origin and destination.
◆ When the link is an intergraph link, then the transformer is the transformer used to draw
the origin or destination.
So when developing a new class of links or link connectors, there is no special work to be
done to take into account the specific case of intergraph links.
Collapsed Grapher and Intergraph Links
When a grapher is collapsed, the graphic objects that it contains are no longer visible on the
screen. The nodes that are the destination and origin of an intergraph link are not visible on
the screen, and thus such intergraph links cannot visually point to their end nodes. These
intergraph links will point to the collapsed representation of the grapher on the screen.
Here is an example of intergraph links in a grapher that is expanded (Figure 6.10) and
collapsed (Figure 6.11):
Figure 6.10
Figure 6.10
108
Intergraph links to an Expanded Grapher
ILOG JVIEWS GRAPHICS FRAMEWORK 5.5 — USER’S MANUAL