GraphNetwork2D
Note
This page is a reference documentation. It only explains the class signature, and not how to use it. Please refer to the Habitat Guide and Python API guide (v2.0) for usage.
- class GraphNetwork2D(options: ~habit.kernels.habitat_graph.features.HabitatGraphFeatureOptions = <factory>, at: str = 'habitat_map')[source]
Bases:
objectIntra- and inter-habitat 2D network on the representative slice.
Same
optionsobject asGraphSlice/Spec("graph"). 2D only (display-only slice graph). 3D surface / network renders stay onhabit.viz, not this atom.- options
Graph construction shared with the quantify stage.
- draw(ctx: SubjectContext) 'Figure' | None[source]
Draw the 2D network, or
Nonewhen the map has no habitats.