For the router: frees it and everything added to it. For other objects:
removes the object. Shapes, junctions and connectors are removed through
their router, like router.deleteShape(shape), with the same
restrictions; a pin is removed from its shape or junction immediately.
Everything the object owns goes with it. Using the object afterwards
throws.
Same as delete(), for using declarations.
True once the object was freed, whether by its own delete() or by deleting its owner (e.g. a pin's shape, or the router).
The unique id: options.id given when it was added, or one assigned by the router.
The obstacle's polygon, as a new array.
The centre of the shape's routing box, or the junction's position.
Bounding box of the polygon grown by the router's shapeBufferDistance,
i.e. the area connectors are routed around.
Adds a connection pin at the junction's position, deleted with the junction.
Sets whether the junction's position is fixed. If it is not (the default), the router may suggest a better position while improving hyperedge routes; see recommendedPosition(). Takes effect at the next processTransaction().
Whether the junction's position is fixed; see setPositionFixed().
The position the router suggests for the junction after improving the
routes of its connectors, which it does when the
improveHyperedgeRoutesMovingJunctions option is on (the default).
The junction itself is not moved: use router.moveJunction to apply the
suggestion. Meaningful after processTransaction().
A point where several connectors meet. Created by
router.addJunction.