pyphi.visualize.projection.InclusionOrder#

class pyphi.visualize.projection.InclusionOrder(covers, rank, size)[source]#

Bases: object

An inclusion partial order over distinctions.

covers[i] lists the node ids that node i directly down-includes (the transitive reduction); rank[i] is the length of the longest down-chain below i (minimal elements have rank 0, the “whole” distinction the maximum), so it is monotonic in the partial order and suitable as a vertical layout coordinate. size[i] is the cardinality of the underlying unit set, an alternative vertical coordinate that leaves gaps at sizes with no distinctions.

Parameters: