Programatically control associations with the below methods.
The node making the call is the parent of the association.
node
parent
association
node.relationships.addAssociation({ child: otherNode, lineColor: '#000', lineOpacity: 1, lineEffect: 'outline', lineWidth: 10, isStraightLine: false, showParentArrow: true, showChildArrow: false });
child
lineColor
lineOpacity
lineEffect
postItNote
dropShadow
outlined
tattered
posterize
pencil
lineWidth
isStraightLine
true
showParentArrow
showChildArrow
null