pyphi.visualize.render.hypergraph.HypergraphGeometry#

class pyphi.visualize.render.hypergraph.HypergraphGeometry(max_radius=1.0, z_spacing=0.4, direction_offset=0.3, purview_jitter=0.1, endpoint_placement='mechanism_anchored', embedding_method='mds', embed_purview_weight=1.0, embed_mechanism_weight=0.5, embed_direction_weight=0.5, embed_planar=False)[source]#

Bases: object

Plot-space layout knobs for the hypergraph view.

z_spacing stacks the size shells vertically, so height encodes subset size; set it to 0 for a flat (planar) arrangement. The embed_*_weight fields weight the purview, mechanism, and direction blocks of the global-embedding layout; purview dominates by default. embed_planar flattens that layout to two dimensions (z = 0), mirroring the planar scatter view.

Parameters:
  • max_radius (float)

  • z_spacing (float)

  • direction_offset (float)

  • purview_jitter (float)

  • endpoint_placement (str)

  • embedding_method (str)

  • embed_purview_weight (float)

  • embed_mechanism_weight (float)

  • embed_direction_weight (float)

  • embed_planar (bool)