Is it possible to get a hyperlink to work on an edge?
Example, I have two nodes that are connected, And have a label on them
{ id: 1601, label: 'label', x: -1085, y: -429, url: 'link' },
So for the above, The url works for the node when using this option
network.on("selectNode", function (params) {
if (params.nodes.length === 1) {
var node = nodes.get(params.nodes[0]);
window.open(node.url, '_blank');
}
});
Now I have a link between two nodes using the standard config
{ from: 1600, to: 1613, label: "label value" },
Is it possible to get a huperlink to work on the lines / edge that connections the two nodes?