SNIK Graph - v25.01
    Preparing search index...

    Function positions

    • Returns an array containing the positions of the given nodes

      Parameters

      • nodes: NodeCollection

        the nodes whose positions are returned

      Returns any[][]

      an array containing the positions of the given nodes

      // returns [["http://www.snik.eu...",{"x":0,"y":0}],...]
      positions(cy.nodes());