grapa.shared.command_recorder.CurveGraphsReferrer

class grapa.shared.command_recorder.CurveGraphsReferrer

Bases: object

Keeps track of Graphs containing a Curve. Used by Curve to know which Graphs it belongs to. Taken advantage by CommandRecorder Workflow: action on Graph.ContainerCurves, which triggers action onto CurveGraphsReferrer

__init__()

Methods

__init__()

cleanup()

Cleans up _list_graphs from invalid/outdated entries.

register_graph(graph)

Register a graph as containing the Curve.

unregister_graph(graph)

Unregister a graph as containing the Curve.

cleanup()

Cleans up _list_graphs from invalid/outdated entries. purose: bug tracking. Should never find anything. REMOVE FUNCTION at some point

register_graph(graph)

Register a graph as containing the Curve.

unregister_graph(graph)

Unregister a graph as containing the Curve.