interface SearchFirstResult {
    found: cytoscape.NodeCollection;
    path: CollectionArgument;
}

Properties

Properties

The node found by the search

  • If no node was found, then found is empty.
  • If your handler function returns false, then the only the path up to that point is returned.

The path of the search.

  • The path returned includes edges such that if path[i] is a node, then path[i - 1] is the edge used to get to that node.