Network3gs.embed_in_plane

Network3gs.embed_in_plane(fixed=None, straightline=True)

Embed the network in the plane.

Parameters
  • network (Network) – A network object.

  • fixed (list (None)) – Two fixed points.

  • straightline (bool (True)) – Embed using straight lines.

Returns

bool – True if the embedding was successful. False otherwise.

Raises

ImportError – If NetworkX is not installed.

Examples

>>>