SplitWire
SplitWire
SplitWire(designer, w, port) => GroupAction
Creates an action to represent a Wire being split.
Parameters
designer: CircuitDesigner
– The CircuitDesigner the action is being done on.w: Wire
– The Wire being split.port: Node
– The new Port that is splitting the Wire.
Returns
-
GroupAction
– a GroupAction representing the Wire being split.
SnipWire
SnipWire(designer, port) => GroupAction
Creates an action to represent a Wire being snipped.
Parameters
designer: CircuitDesigner
– The CircuitDesigner the action is being done on.port: Node
– The Port being snipped from the Wire.
Returns
-
GroupAction
– A GroupAction representing the Wire being snipped.
SnipGroup
SnipGroup(designer, ports) => GroupAction
Creates a GroupAction of snip actions.
Parameters
designer: CircuitDesigner
– The CircuitDesigner the actions are being done on.ports: Node[]
– The Ports being snipped.
Returns
-
GroupAction
– A GroupAction of the actions to snip the wires.