sketchgraphs.data.sequence.EdgeOp¶
-
class
sketchgraphs.data.sequence.
EdgeOp
(label: sketchgraphs.data._constraint.ConstraintType, references: Tuple[int, …], parameters: dict = {})¶ This class represents an edge (or constraint) operation in a construction sequence.
An edge is specified by a label, a variable number of targets, and a dictionary of parameters. Targets for an edge are nodes, which are referred to using their index in the construction sequence.
-
__getnewargs__
()¶ Return self as a plain tuple. Used by copy and pickle.
-
static
__new__
(_cls, label: sketchgraphs.data._constraint.ConstraintType, references: Tuple[int, …], parameters: dict = {})¶ Create new instance of EdgeOp(label, references, parameters)
-
label
: sketchgraphs.data._constraint.ConstraintType¶ Alias for field number 0
-