Skip to content
maxkfranz edited this page May 11, 2012 · 3 revisions

edges.target()

Get the target node connected to this edge.

edges.target()

Gets the target node of the edge

Details

This function returns the target element (i.e. target node) connected to the edge. When the collection contains more than one edge, the returned collection contains all targets.

Example

// assume graph n1 =e1=> n2 =e2=> n3

cy.edges("#e1").target(); // n2

Clone this wiki locally