Hi Team,
I am working with a specific type of diagram where I need to put custom labels on one type of link only. I have created classes for the link types.
I am able to give a default label to the links but I need to put in custom label for separate links.
The code I have used is as :
style:{
node:{display:"roundtext"},
link:{display:"text"},
linkClasses:[
{className:"classLA",style:{fillColor:"green", toDecoration:"arrow", direction:"D" , label : "Hi" }},
{className:"classLC",style:{fillColor:"red",lineDash: [10,10,2,2] }}
]
},
I want to replace the default link to custom link to be provided with the json array .
Please suggest on the changes I need to put in the code to get custom labels.
Thanks,
Shivani Sharma