API / geotoolkit / flowcharts / shapes / connectors / LinkConnection / LinkConnection
connectors.LinkConnection.LinkConnection
Stores information about connection between a visual and a link ("arrow"). That said, modelPoint defines a point for the link in visual's bounds (which does takes Local Transformation into account). LinkSide defines the side of a link: Begin or End. linkVisual defines a link that is connected to a visual.
Methods
Constructors
• new LinkConnection(visual, modelPoint, linkSide, linkVisual)
Creates connection
Throws
if visual does not inherit Node
Methods
▸ getClassName(): string
string
▸ getLinkSide(): LinkSide
Gets link side that defines link orientation (flow)
▸ getLinkVisual(): ILink
return link visual
▸ getModelPoint(): Point
Gets model point (in visual space)
▸ getProperty(name): string | number
| Name | Type |
|---|---|
name | "relatedVisualId" |
string | number
▸ getProperty(name): Component
| Name | Type |
|---|---|
name | "visuals" |
▸ getRelatedVisualId(): string | number
gets a visual ID related to this connection
string | number
a visual ID
▸ getVisual(): Component
Gets associated visual
▸ setProperty(name, component): LinkConnection
| Name | Type |
|---|---|
name | "visuals" |
component | Component |
▸ Static getClassName(): string
string