()
| 1552 | return this; |
| 1553 | } |
| 1554 | function removeDrawnEdge() { |
| 1555 | if (!this._drawnEdge) { |
| 1556 | return this; |
| 1557 | } |
| 1558 | var edge = this._drawnEdge.g; |
| 1559 | edge.remove(); |
| 1560 | this._drawnEdge = null; |
| 1561 | return this; |
| 1562 | } |
| 1563 | function insertDrawnEdge(name) { |
| 1564 | if (!this._drawnEdge) { |
| 1565 | throw Error('No edge has been drawn'); |