Subgraph
linnet_py Class
Subgraph()A graph-bound structural selection.
Member details
graph
Property · read-onlyrevision
Property · read-onlysize
Property · read-onlyn_half_edges
Property · read-onlyn_isolated_nodes
Property · read-only__len__
Method__bool__
Methodincludes
Methodincludes(half_edge: int) -> boolNo description is available for this member.
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
half_edge | int | — | — |
half_edge_indices
Methodhalf_edge_indices() -> list[int]Return stable indices suitable for constructing another selection on this revision.
isolated_node_indices
Methodincludes_node
Methodto_half_edges
Methodis_subset
Methodis_subset(other: Subgraph) -> boolNo description is available for this member.
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
other | Subgraph | — | — |
is_superset
Methodis_superset(other: Subgraph) -> boolNo description is available for this member.
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
other | Subgraph | — | — |
is_disjoint
Methodis_disjoint(other: Subgraph) -> boolNo description is available for this member.
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
other | Subgraph | — | — |
union
Methodunion(other: Subgraph) -> SubgraphNo description is available for this member.
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
other | Subgraph | — | — |
intersection
Methodintersection(other: Subgraph) -> SubgraphNo description is available for this member.
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
other | Subgraph | — | — |
symmetric_difference
Methodsymmetric_difference(other: Subgraph) -> SubgraphNo description is available for this member.
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
other | Subgraph | — | — |
difference
Methoddifference(other: Subgraph) -> SubgraphNo description is available for this member.
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
other | Subgraph | — | — |
complement
Method__contains__
Method__contains__(half_edge: int) -> boolNo description is available for this member.
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
half_edge | int | — | — |
__or__
Method__or__(other: Subgraph) -> SubgraphNo description is available for this member.
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
other | Subgraph | — | — |
__and__
Method__and__(other: Subgraph) -> SubgraphNo description is available for this member.
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
other | Subgraph | — | — |
__xor__
Method__xor__(other: Subgraph) -> SubgraphNo description is available for this member.
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
other | Subgraph | — | — |
__sub__
Method__sub__(other: Subgraph) -> SubgraphNo description is available for this member.
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
other | Subgraph | — | — |
__invert__
Method__eq__
Method__eq__(other: Subgraph) -> boolNo description is available for this member.
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
other | Subgraph | — | — |
__le__
Method__le__(other: Subgraph) -> boolNo description is available for this member.
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
other | Subgraph | — | — |
__lt__
Method__lt__(other: Subgraph) -> boolNo description is available for this member.
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
other | Subgraph | — | — |
__ge__
Method__ge__(other: Subgraph) -> boolNo description is available for this member.
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
other | Subgraph | — | — |
__gt__
Method__gt__(other: Subgraph) -> boolNo description is available for this member.
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
other | Subgraph | — | — |
__repr__
MethodView generated signature source: docs/api/python/linnet-py.pyi:1138