jsnetworkx.js:5 Uncaught TypeError: Cannot read property 'force' of undefined
Open
- Dominant language
- JavaScript
- Stars
- 779
- Forks
- 178
- PR merge metrics
- No merged PRs in 30d
Description
Hi, I'm trying to draw the graph, but always get this error:
jsnetworkx.js:5 Uncaught TypeError: Cannot read property 'force' of undefined
Even if I try sth. like this:
` G = new jsnx.Graph();
```
G.addNode(1);
G.addNode(2);
G.addEdge(1,2);
jsnx.draw(G, {
element: '#canvas',
withLabels: false
});`
```
Does someone have an idea what's the reason for this?
D3 is included.
Thanks in advance.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.