Symbols
Implements geometric objects used in the graph representation.
- class Symbol(name, symbols_graph, dep)
Bases:
ABC
Symbol in the symbols graph.
Can be Point, Line, Circle, etc.
Each node maintains a merge history to other nodes if they are (found out to be) equivalent
a -> b - \ c -> d -> e -> f -> g
d.merged_to = e d.rep = g d.merged_from = {a, b, c, d} d.equivs = {a, b, c, d, e, f, g} d.members = {a, b, c, d}
- rep()
- Return type:
Self
- merge(nodes)
Merge all nodes.
- Return type:
None