Network.embed_in_plane
- Network.embed_in_plane(fixed=None, straightline=True)[source]
Embed the network in the plane.
- Parameters:
- network
compas.datastructures.Network
A network object.
- fixed[hashable, hashable], optional
Two fixed points.
- straightlinebool, optional
If True, embed using straight lines only.
- network
- Returns:
- bool
True if the embedding was successful. False otherwise.
- Raises:
- ImportError
If NetworkX is not installed.