Network.node_coordinates

Network.node_coordinates(key, axes='xyz')[source]

Return the coordinates of a node.

Parameters
  • key (hashable) – The identifier of the node.

  • axes (str, optional) – The components of the node coordinates to return. Default is 'xyz'.

Returns

list – The coordniates of the node.