@rashedkoutayni wrote:
Hi,
I have extended the link data arraymyDiagram.model.linkDataArray
in the flowchart example by adding one additional column that contains the value of a link label. For example, a row in the new array (calledmyLinkDataArray
) looks like:
{from: -2, to: -10, points: E, __gohashid: 1696, 'link text'}
Now I would like to display the link text on the link itself in the diagram. I tried to do this withmyDiagram.model.setDataProperty
but unfortunately I didn’t know how to do it.
Would you please advise on how to iterate over the new link arraymyLinkDataArray
and show the link label above each corresponding link?
Thanks !
Posts: 1
Participants: 1