File:Q8directedpowergraphtrimmed.png

The directed power graph (trimmed) of quaternion group. A dark edge from each element to its square (except the loop at the identity) and dashed edge from any element to any odd power of it.

The file was created using Graphviz. The generating code is given below:

digraph G{       rankdir = "BT"; one[label="1, Identity element"]; minusone[label="-1, non-identity central element"]; i[label="i"]; minusi[label="-i = i^3"]; j[label="j"]; minusj[label="-j = j^3"]; k[label="k"]; minusk[label="-k = k^3"]; i -> minusone; minusi -> minusone; j -> minusone; minusj -> minusone; k -> minusone; minusk -> minusone; minusone -> one; i -> minusi [style=dotted]; minusi -> i [style=dotted]; j -> minusj [style=dotted]; minusj -> j [style=dotted]; k -> minusk [style=dotted]; minusk -> k [style=dotted]; }