# Subgraphs II

Number of Nodes:

Connect Node \(i\) to Node \(i\) + mod \(n\)

Highlight edge:

Connect Node \(i\) to Node \(i\) + mod \(n\)

Highlight edge:

Number of Nodes:

Connect Node \(i\) to Node \(i\) + mod \(n\)

Highlight edge:

Connect Node \(i\) to Node \(i\) + mod \(n\)

Highlight edge:

The subgraphs generated by this applet are created using a particular pattern. The lengths \(l\) of the edges in the graph are fixed. The \(i\)th node is connected to node \((l+i)\) mod \(n\), where \(n\) is the number of nodes. The result is a regular star polygon, unless \(l = 0\) mod \(n\) or \(n\) is even and \(l = n/2\).

Choose the number of nodes and a skip value. To see how the pattern is formed, increase the value of the highlighted edge. Set to 0 to turn off highlights.

This applet was created using JavaScript and the Raphael library. If you are unable to see the applet, make sure you have JavaScript enabled in your browser. This applet may not be supported by older browsers.