# Association Properties

Associations define the relationships between nodes.

Property
example
Description Type Default
id
abcd
A unique id for the association
child
{ Node Object }
The child node string ""
lineColor
#000000
The line color in hex. If not set, it will use the node.options.lineColor property. string #000
lineOpacity
.75
The line opacity (0.0 - 1.0). If not set, it will use the node.options.lineOpacity property. integer 1
lineEffect
outlined
The line effect filter. If not set, it will use the node.options.lineEffect property. The available filters are: dropShadow, postItNote, tattered, blur, outline, pixelate, posterize, and pencil string ""
lineWidth
10
The line width in px. If not set, it will use the node.options.lineWidth property. integer 2
isStraightLine
false
Set to true for a straight line, otherwise all associations default to bezier curves boolean false
showParentArrow
true
Show the parent arrowhead boolean true
showChildArrow
true
Show the child arrowhead boolean true