Graph.node_coordinates

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

Return the coordinates of a node.

Parameters:
keyhashable

The identifier of the node.

axesstr, optional

The components of the node coordinates to return.

Returns:
list[float]

The coordinates of the node.