PlanarEmbedding.set_data#

PlanarEmbedding.set_data(data)[source]#

Inserts edges according to given sorted neighbor list.

The input format is the same as the output format of get_data().

Parameters:
datadict

A dict mapping all nodes to a list of neighbors sorted in clockwise order.

See also

get_data