How Can I find a link by a labelKeys. I try to find by example myDiagram.findLinksByExample({ “labelKeys”: “-10” }) but i can’t. I only can findLinksByExample with from or to. Please, can someone help me? Thank you very much.
I have this:
{ "class": "go.GraphLinksModel",
"linkLabelKeysProperty": "labelKeys",
"nodeDataArray": [
....
],
"linkDataArray": [
{"category":"pointer", "from":3, "to":4, "labelKeys":[ -8 ]},
{"category":"pointer", "from":4, "to":6, "labelKeys":[ -10 ]},
{"category":"pointer", "from":6, "to":5, "labelKeys":[ -11 ]},
{"category":"pointer", "from":7, "to":6, "labelKeys":[ -12 ]},
{"category":"pointer", "from":3, "to":7, "labelKeys":[ -13 ]},
{"category":"pointer", "from":5, "to":7, "labelKeys":[ -14 ]}
]}