funtracks.user_actions.user_delete_edge
UserDeleteEdge
UserDeleteEdge(
tracks: Tracks,
edge: tuple[int, int],
_top_level: bool = True,
)
Bases: ActionGroup
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
tracks
|
Tracks
|
The tracks to delete the edge from. |
required |
edge
|
tuple[int, int]
|
The edge to delete. |
required |
_top_level
|
bool
|
If True, add this action to the history and emit refresh. Set to False when used as a sub-action inside a compound action. Defaults to True. |
True
|
Raises:
| Type | Description |
|---|---|
InvalidActionError
|
If the edge does not exist in the graph. |