Graph.embed_in_plane

Graph.embed_in_plane(fixed=None)[source]

Embed the graph in the plane.

Parameters:
graphcompas.datastructures.Graph

A graph object.

fixed[hashable, hashable], optional

Two fixed points.

Returns:
bool

True if the embedding was successful. False otherwise.

Raises:
ImportError

If NetworkX is not installed.