Validate and convert a number to a valid state.
input integer representing the state, can be a vector of 0/1 or an int
network node names
Numeric binary vector of the same length as the number of nodes. Each position corresponds to a node of the network. The values of each element are 0 or 1. The name of each element corresponds to the name of the node in that position in the network.
intToBits which this function wraps
1 2 3
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.