Each line in the configuration specifies the name of a node, the mechanism that
the node implements, and the nodes in the network which input to the node. For
example, in the above configuration the line ('A', 'OR', 'B', 'C') specifies
that node A is an OR-gate over the inputs B and C.

Once we’ve initialized a Graph object, we can create a PyPhi Network:

>>> network = graph.pyphi_network()

That’s it! You can now perform all IIT computations using this network.

Mechanisms

While graphiit has a number of builtin mechanisms, you can easily specify
your own by defining a function which takes the states of the input nodes as a
parameter and returns True if the mechanism should be on and False if
it should be off.