Force Directed Graph not rendering correctly
See original GitHub issueI’m submitting a … (check one with “x”)
[x] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request => Please do not submit support request here
Current behavior
In the demo, if you choose Force Directed Graph, the graph that gets rendered does not include the correct edges. Even if I modify generateGraph in data.ts the graph looks wrong: edges are missing. Expected behavior
Reproduction of the problem
What is the motivation / use case for changing the behavior?
Please tell us about your environment:
- ngx-charts version: x.x.x
- Angular version: 2.x.x
- Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]
- Language: [all | TypeScript X.X | ES6/7 | ES5]
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (1 by maintainers)
Top Results From Across the Web
d3 force directed graph not rendering properly - Stack Overflow
I am trying to render the d3 forced direct grpah, but as you can see it is not utilising right side of the...
Read more >[Solved]-Graph not rendering my Date data-d3.js
Coding example for the question Graph not rendering my Date data-d3.js. ... d3.time.scale function takes in a javascript date object. in your line...
Read more >Cytoscape.js
Graph theory / network library for analysis and visualisation - compatible with CommonJS/Node.js/Browserify/Webpack, AMD/Require.js, npm, ...
Read more >Force-directed graph rendered on HTML5 canvas
A web component to represent a graph data structure in a 2-dimensional canvas using a force-directed iterative layout. Uses HTML5 canvas for rendering...
Read more >Three.js and R - CRAN
graphjs: an interactive force directed graph widget; scatterplot3js: a ... Safari on Mac OS X seems to fall back to Canvas (not WebGL)...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@MartinoMensio correct. Please use ngx-graph. We added support for custom layouts in v6, and it can do all that the force directed chart can do and much more. We are deprecating force-directed chart and will be removing it in the next major version in favor of ngx-graph.
@ngocson18081195 I think the best option is to use ngx-graph (another package from swimlane) https://github.com/swimlane/ngx-graph that seems more updated and also supports the force directed graph https://swimlane.github.io/ngx-graph/#layouts#force-directed