SNIK Graph - v26.11
    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 [string, Position][]

      an array containing the positions of the given nodes

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