class documentation
class ColorRepresentation(Enum):
This enumeration encapsulates the concept of an edge color representation style in the context
of the two adjacency matrix formats and the four flattened formats from the GraphFormat
enumeration.
| Constant | BINARY |
This item corresponds to the graph formats where binary slices indicate whether each edge (resp. arc) has a specific color, namely the adjacency matrix format with binary slices, the flattened row-major format with binary slices, and the flattened clockwise format with binary slices. |
| Constant | COLOR |
This item corresponds to the graph formats where each entry contains the color of an edge (resp. arc), namely the adjacency matrix format with color numbers, the flattened row-major format with color numbers, and the flattened clockwise format with color numbers. |