DiagramLine

class geojson_modelica_translator.model_connectors.couplings.utils.DiagramLine(a_name, a_port, b_name, b_port)

Bases: tuple

__init__()

Methods

__init__()

count(value, /)

Return number of occurrences of value.

index(value[, start, stop])

Return first index of value.

Attributes

a_name

Alias for field number 0

a_port

Alias for field number 1

b_name

Alias for field number 2

b_port

Alias for field number 3

a_name

Alias for field number 0

a_port

Alias for field number 1

b_name

Alias for field number 2

b_port

Alias for field number 3

count(value, /)

Return number of occurrences of value.

index(value, start=0, stop=9223372036854775807, /)

Return first index of value.

Raises ValueError if the value is not present.