Skip to content

Commit 91ae4a4

Browse files
committed
feat: comment to specify element where plot is rendered
1 parent b250686 commit 91ae4a4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/graph.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ function nodeIcon(nodeType:string) {
9696
}
9797

9898
// Drawing Graph using d3JS
99+
// Function expects there is only one svg tag in the DOM where the generated plot is rendered
99100
function drawGraph(pre_nodes:Map<string, PrintNode>, pre_links:Link[], use_drag = true, print_info?: (node: any, pre_nodes: PrintNode) => void) {
100101
const width = 960,
101102
height = 375;

0 commit comments

Comments
 (0)