new D3JSLink()
Members
-
family :olympe.df.debug.d3.D3JSLinkFamily|undefined
-
Type:
- olympe.df.debug.d3.D3JSLinkFamily | undefined
-
shapeView :olympe.df.debug.d3.ShapeView|undefined
-
Type:
- olympe.df.debug.d3.ShapeView | undefined
-
sourceIsOnLeft :boolean
-
Type:
- boolean
Methods
-
getAngle()
-
Returns:
- Type
- number
-
getCenterAngle()
-
Returns:
- Type
- number
-
getColor()
-
Returns:
-
getDistance()
-
Returns:
- Type
- number
-
getFamily()
-
Returns:
-
getId()
-
Returns:
- Type
- undefined | string
-
getLeftIntersection()
-
returns the coordinate of the intersection between the link and the left shape
Returns:
- Type
- Object
-
getLeftShape()
-
Returns:
- Type
- undefined | olympe.df.debug.d3.D3JSShape
-
getLeftStartText()
-
returns the adjustment for the text near the right shape
Returns:
- Type
- number
-
getLeftText()
-
Returns:
- Type
- string
-
getLength()
-
Returns:
- Type
- number
-
getLinkPath()
-
Returns:
- Type
- string
-
getName12()
-
Returns:
- Type
- string
-
getName21()
-
Returns:
- Type
- string
-
getRightIntersection()
-
returns the coordinate of the intersection between the link and the right shape
Returns:
- Type
- Object
-
getRightShape()
-
Returns:
- Type
- undefined | olympe.df.debug.d3.D3JSShape
-
getRightStartText()
-
returns the adjustement for the text near the right shape
Returns:
- Type
- number
-
getRightText()
-
Returns:
- Type
- string
-
getSource()
-
Returns:
- Type
- undefined | olympe.df.debug.d3.D3JSShape
-
getSourceId()
-
Returns:
- Type
- string | undefined
-
getTarget()
-
Returns:
-
getTargetId()
-
Returns:
- Type
- string | undefined
-
getWidth()
-
Returns:
- Type
- number
-
isSourceOnLeft()
-
Returns:
- Type
- boolean
-
posHasChanged()
-
Returns:
- Type
- boolean
-
redraw(d3Node)
-
Parameters:
Name Type Description d3Node* -
setFamily(family)
-
Parameters:
Name Type Description familyolympe.df.debug.d3.D3JSLinkFamily -
setId(id)
-
Parameters:
Name Type Description idstring -
setShapeView(sv)
-
Parameters:
Name Type Description svolympe.df.debug.d3.ShapeView -
setSource(source)
-
Parameters:
Name Type Description sourceolympe.df.debug.d3.D3JSShape -
setTarget(target)
-
Parameters:
Name Type Description targetolympe.df.debug.d3.D3JSShape -
update(id, sourceId, sourceConnectorId, targetId, targetConnectorId, color, length, width, name1, name2)
-
Parameters:
Name Type Description idstring sourceIdstring sourceConnectorIdstring | undefined targetIdstring targetConnectorIdstring | undefined colorObject lengthnumber widthnumber name1string name2string
Olympe SDK