Class: ojDiagramLinkProperties

Oracle® JavaScript Extension Toolkit (JET)
9.0.0

F24343-01

QuickNav

Fields

ojDiagramLinkProperties

Version:
  • 9.0.0
Module:
  • jsdoc

Module usage

See JET Module Loading for an overview of module usage within JET.

Constructor

new ojDiagramLinkProperties()

Fields

categories :Array.<string>

An array of category strings corresponding to this link. This allows highlighting and filtering of links. By default, the label is used as the link category.

color :string

The link color.

endConnectorType :arrow|arrowConcave|arrowOpen|circle|none|rectangle|rectangleRounded

Specifies the type of end connector on the link. Can take the name of a built-in shape.
Supported Values:
Value
arrow
arrowConcave
arrowOpen
circle
none
rectangle
rectangleRounded

endNode :any

Specifies the end node id.

label :string

Text used for the link label.
Default Value:
  • ""

labelStyle :(CSSStyleDeclaration|null)

The CSS style object defining the style of the diagram link label. The default values come from the CSS classes and varies based on theme. The following style properties are supported: backgroundColor, borderColor, borderWidth, borderRadius, color, cursor, fontFamily, fontSize, fontStyle, fontWeight, maxWidth, textDecoration.

selectable :auto|off

Specifies whether or not the link will be selectable.
Supported Values:
Value
auto
off
Default Value:
  • "auto"

shortDesc :string

The text that displays in the link's tooltip.
Default Value:
  • ""

startConnectorType :arrow|arrowConcave|arrowOpen|circle|none|rectangle|rectangleRounded

Specifies the type of start connector on the link. Can take the name of a built-in shape.
Supported Values:
Value
arrow
arrowConcave
arrowOpen
circle
none
rectangle
rectangleRounded

startNode :any

Specifies the start node id.

svgClassName :string

The CSS style class defining the style of the link.
Default Value:
  • ""

svgStyle :CSSStyleDeclaration

The CSS style object defining the style of the link. Only SVG CSS style properties are supported.
Default Value:
  • {}

width :number

The link width in pixels.