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.

Returns

list[float] – The coordinates of the node.