0

I need to bring the name of the target node, while hovering over the edges for a particular node connected with the edge. Like in this example http://assembl.coeus.ca/static/js/bower/cytoscape/debug/ It uses cytoscape with arborjs. We can customize it from the drop downs to show what I need exactly.

nyxem1
  • 179
  • 1
  • 4
  • 16

1 Answers1

0

You can use cy.on() with a delegate selector: http://cytoscape.github.io/cytoscape.js/#core/events/cy.on

maxkfranz
  • 11,896
  • 1
  • 27
  • 36
  • yeah.. i did that...worked successfully. But isn't there a workaround to do it without cytoscape – nyxem1 May 01 '14 at 05:04
  • Arbor is just a layout algorithm, not a graph library. If you want to just use Arbor, you'll have to build your own model/event system on top of it. – maxkfranz May 01 '14 at 15:58
  • thanx for the reply. Can you push me in a right direction so as to achieve my goal. I'll really appreciate it. – nyxem1 May 01 '14 at 17:44
  • i think i can achieve that, but with cytoscape the fluidity of arborjs layout is lost. Is this also due to the same reason? – nyxem1 May 02 '14 at 05:27