A finite simple graph with an ordered vertex colouring by Fin k in
which every colour is used. This is the Mathlib-side counterpart of
Hex.GraphIso.Colored: the colouring need not be proper, and an
isomorphism has to preserve each colour index.
Constructor
Hex.GraphIso.Mathlib.Colored.mk.{u}
Fields
graph : SimpleGraph V
The underlying Mathlib graph.
color : V → Fin k
The ordered colour of each vertex.
onto : Function.Surjective self.color
Every colour is used.