pyphi.visualize.projection.InclusionOrder#
- class pyphi.visualize.projection.InclusionOrder(covers, rank, size)[source]#
Bases:
objectAn inclusion partial order over distinctions.
covers[i]lists the node ids that nodeidirectly down-includes (the transitive reduction);rank[i]is the length of the longest down-chain belowi(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.