The chromatic number of a graph is the minimum number of colours used in a proper colouring of the graph. The chromatic number of the following graph is ______.
Tap to open full sizeFigure description
A graph on 8 vertices drawn at the corners of an octagon, labelled in order around the outline: v0 top-left, v1 top-right, v2 right-upper, v3 right-lower, v4 bottom-right, v5 bottom-left, v6 left-lower, v7 left-upper. Edges: the slanted and side outline edges v1-v2, v2-v3, v3-v4, v5-v6, v6-v7, v7-v0; the two verticals v0-v5 and v1-v4; the two horizontals v7-v2 and v6-v3; and the four diagonals v0-v3, v1-v6, v7-v4, v2-v5. The short edges between the two top vertices (v0-v1) and between the two bottom vertices (v4-v5) do not clearly appear in the picture; the answer is the same whether or not they are present.