On this page

Subgraph

linnet_py Class

Subgraph()

A graph-bound structural selection.

Member details

graph

Property · read-only
#
graph: Graph

No description is available for this member.

revision

Property · read-only
#
revision: int

No description is available for this member.

size

Property · read-only
#
size: int

No description is available for this member.

n_half_edges

Property · read-only
#
n_half_edges: int

No description is available for this member.

n_isolated_nodes

Property · read-only
#
n_isolated_nodes: int

No description is available for this member.

__len__

Method
#
__len__() -> int

No description is available for this member.

__bool__

Method
#
__bool__() -> bool

No description is available for this member.

includes

Method
#
includes(half_edge: int) -> bool

No description is available for this member.

Parameters

NameTypeDefaultDescription
half_edgeint——

half_edge_indices

Method
#
half_edge_indices() -> list[int]

Return stable indices suitable for constructing another selection on this revision.

isolated_node_indices

Method
#
isolated_node_indices() -> list[int]

Return the explicitly selected zero-crown node indices.

includes_node

Method
#
includes_node(node: int) -> bool

No description is available for this member.

Parameters

NameTypeDefaultDescription
nodeint——

to_half_edges

Method
#
to_half_edges() -> list[HalfEdge]

No description is available for this member.

is_subset

Method
#
is_subset(other: Subgraph) -> bool

No description is available for this member.

Parameters

NameTypeDefaultDescription
otherSubgraph——

is_superset

Method
#
is_superset(other: Subgraph) -> bool

No description is available for this member.

Parameters

NameTypeDefaultDescription
otherSubgraph——

is_disjoint

Method
#
is_disjoint(other: Subgraph) -> bool

No description is available for this member.

Parameters

NameTypeDefaultDescription
otherSubgraph——

union

Method
#
union(other: Subgraph) -> Subgraph

No description is available for this member.

Parameters

NameTypeDefaultDescription
otherSubgraph——

intersection

Method
#
intersection(other: Subgraph) -> Subgraph

No description is available for this member.

Parameters

NameTypeDefaultDescription
otherSubgraph——

symmetric_difference

Method
#
symmetric_difference(other: Subgraph) -> Subgraph

No description is available for this member.

Parameters

NameTypeDefaultDescription
otherSubgraph——

difference

Method
#
difference(other: Subgraph) -> Subgraph

No description is available for this member.

Parameters

NameTypeDefaultDescription
otherSubgraph——

complement

Method
#
complement() -> Subgraph

No description is available for this member.

__contains__

Method
#
__contains__(half_edge: int) -> bool

No description is available for this member.

Parameters

NameTypeDefaultDescription
half_edgeint——

__or__

Method
#
__or__(other: Subgraph) -> Subgraph

No description is available for this member.

Parameters

NameTypeDefaultDescription
otherSubgraph——

__and__

Method
#
__and__(other: Subgraph) -> Subgraph

No description is available for this member.

Parameters

NameTypeDefaultDescription
otherSubgraph——

__xor__

Method
#
__xor__(other: Subgraph) -> Subgraph

No description is available for this member.

Parameters

NameTypeDefaultDescription
otherSubgraph——

__sub__

Method
#
__sub__(other: Subgraph) -> Subgraph

No description is available for this member.

Parameters

NameTypeDefaultDescription
otherSubgraph——

__invert__

Method
#
__invert__() -> Subgraph

No description is available for this member.

__eq__

Method
#
__eq__(other: Subgraph) -> bool

No description is available for this member.

Parameters

NameTypeDefaultDescription
otherSubgraph——

__le__

Method
#
__le__(other: Subgraph) -> bool

No description is available for this member.

Parameters

NameTypeDefaultDescription
otherSubgraph——

__lt__

Method
#
__lt__(other: Subgraph) -> bool

No description is available for this member.

Parameters

NameTypeDefaultDescription
otherSubgraph——

__ge__

Method
#
__ge__(other: Subgraph) -> bool

No description is available for this member.

Parameters

NameTypeDefaultDescription
otherSubgraph——

__gt__

Method
#
__gt__(other: Subgraph) -> bool

No description is available for this member.

Parameters

NameTypeDefaultDescription
otherSubgraph——

__repr__

Method
#
__repr__() -> str

No description is available for this member.