Closed subhc closed 6 years ago
Issue type
Bug report
Environment info
Current (buggy) behaviour
Ancestor list is always empty for nodes.parents(). I am not sure if I am using the method correctly.
nodes.parents()
Desired behaviour
It should return the ancestors of a node.
Minimum steps to reproduce
F12
cy.nodes('#n15').parents()
It should return 3 nodes but returns a zero length object.
Not a bug.
Read the docs, please:
Issue type
Bug report
Environment info
Current (buggy) behaviour
Ancestor list is always empty for
nodes.parents()
. I am not sure if I am using the method correctly.Desired behaviour
It should return the ancestors of a node.
Minimum steps to reproduce
F12
), typecy.nodes('#n15').parents()
in its consoleIt should return 3 nodes but returns a zero length object.