Property
Name |
Type |
Default
Value |
Description
|
---|---|---|---|
linkPorts
|
IltLinkPort[]
|
Top
,
Bottom
,
Left
,
Right
and
Center
|
Applies only to nodes. This property denotes which link ports
are recognized by the node when links are attached to it.
This property affects the link layout when set to IltLinkLayout or IltShortLinkLayout.
Possible values are:
Top
,
Bottom
,
Left
,
Right
or
Center
.
It is possible to create new link ports by creating new
instances of
IltLinkPort
.
|
fromPort
|
IltLinkPort
|
null
|
Applies only to links. Denotes the preferred link port at the
"from" end side. Only effective when an IltShortLinkLayout is used.
|
toPort
|
IltLinkPort
|
null
|
Applies only to links. Denotes the preferred link port at the
"to" end side. Only effective when an IltShortLinkLayout is used.
|
NE1
and
NE2
. Each network element has a set of link ports defined to connect
the links that are attached to the node. In addition, there is a
link connecting
NE1
to
NE2
. For this link, the example specifies the link ports where the
link should be attached by the link layout.
#NE1 { linkPorts[0]: "Center"; } #NE2 { linkPorts[0]: Left; linkPorts[1]: Top; linkPorts[2]: Bottom; } #Link1 { fromPort: Center; toPort: Left; }
IlvBusLayout
(to set the bus object) or the
IlvTreeLayout
(to specify the root object), but you can also set parameters to
specify that certain nodes or links must remain fixed. For more
information, refer to The GraphLayout rule.