On this page

DotHedgeData

linnet_py Class

DotHedgeData(statement: Optional[str] = None, id: Optional[int] = None, port_label: Optional[str] = None, compasspt: Optional[str] = None)

DOT hedge (half-edge) data.

Constructor

#

Create hedge data from fields.

Parameters

NameTypeDefaultDescription
statementOptional[str]None
idOptional[int]None
port_labelOptional[str]None
compassptOptional[str]None

Member details

statement

Property · read-only
#
statement: Optional[str]

Optional statement string.

id

Property · read-only
#
id: Optional[Hedge]

Optional hedge id.

port_label

Property · read-only
#
port_label: Optional[str]

Optional port label.

compasspt

Property · read-only
#
compasspt: Optional[str]

Optional compass point as a string.

__repr__

Method
#
__repr__() -> str

Debug-style representation.