Pausable
Pausable
Section titled “Pausable”Kind: class
Source: src/graphrefly/_modules.py:84
Signature
Section titled “Signature”Pausable(node: Node[Any], control: PauseControl)Description
Section titled “Description”A pausable node and the control of its lock state.
Attributes
Section titled “Attributes”| Name | Type | Description |
|---|---|---|
node | Node[Any] | |
control | PauseControl | |
locks | State[Any] | The lock state: a list of the locks held. |
Methods
Section titled “Methods”pause(lock: str | None = None) -> strTake a lock; see :meth:PauseControl.pause.
Source: src/graphrefly/_modules.py:97
resume
Section titled “resume”resume(lock: str) -> NoneRelease a lock; see :meth:PauseControl.resume.
Source: src/graphrefly/_modules.py:102