MCPcopy Create free account
hub / github.com/SeaOfNodes/Simple / removeDrawnEdge

Function removeDrawnEdge

chapter19/docs/d3-graphviz.js:1554–1562  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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');

Callers

nothing calls this directly

Calls 1

removeMethod · 0.45

Tested by

no test coverage detected