DotEdgeData
linnet_py Class
DotEdgeData(statements: Optional[Mapping[str, str]] = None, local_statements: Optional[Mapping[str, str]] = None, edge_id: Optional[int] = None)DOT edge data (attributes + optional edge id).
Constructor
#Create edge data from fields.
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
statements | Optional[Mapping[str, str]] | None | — |
local_statements | Optional[Mapping[str, str]] | None | — |
edge_id | Optional[int] | None | — |
Member details
statements
Property · read-onlylocal_statements
Property · read-onlyedge_id
Property · read-onlyadd_statement
Method#
add_statement(key: str, value: str) -> NoneInsert or update an attribute statement.
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
key | str | — | — |
value | str | — | — |
__repr__
MethodView generated signature source: docs/api/python/linnet-py.pyi:52