compas_singular.topology

Coloring

Coloring elements based on their topology.

is_adjacency_two_colorable

Try to color a data of adjacency with two colors only withtout any element adjacent to each other having the same colour.