#
Association Methods
Programatically control associations with the below methods.
#
relationships.addAssociation
The node
making the call is the parent
of the association
.
Set an image to the background of the node
arguments
node.relationships.addAssociation({
child: otherNode,
lineColor: '#000',
lineOpacity: 1,
lineEffect: 'outline',
lineWidth: 10,
isStraightLine: false,
showParentArrow: true,
showChildArrow: false
});
returns
null