Error while rendering a graph with more than 270 edges
See original GitHub issueI’m facing below error when I increase the number of edges in the graph after a certain limit. Can someone please help me in resolving this?
Cannot enlarge memory arrays. Either (1) compile with -s TOTAL_MEMORY=X with X higher than the current value 16777216, (2) compile with -s ALLOW_MEMORY_GROWTH=1 which allows increasing the size at runtime but prevents some optimizations, (3) set Module.TOTAL_MEMORY to a higher value before the program runs, or (4) if you want malloc to return NULL (0) instead of this abort, compile with -s ABORTING_MALLOC=0
Here is the code snippet
d3.select("#app").graphviz().renderDot(data); console.log(d3)
Here are the dependencies and their versions
d3: 5.9.1 d3-graphviz: 2.6.1 fs: 0.0.1-security
Issue Analytics
- State:
- Created a year ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Problem with graph.write.png...AssertionError: 1 · Issue #203
So i'm running this code and it tells me that there is a certain syntax error in /tmp/tmpgIPxNG. Something is not working when...
Read more >Using mxgraph to Construct and Render a Graph from an ...
It may be worth noting that I can successfully construct and render a graph when manually inserting vertices and edges via the graph....
Read more >Common issues and resolutions for Power Apps
A list of common issues and resolutions within Power Apps.
Read more >Draw a Graph Using LaTeX | Baeldung on Computer Science
In this tutorial, we'll discuss how to draw a graph using LaTeX. ... For this reason, if our graph holds more than a...
Read more >exported-issues-01-July-2016.xml - Nothing Here - Graphviz
1 In complex graphs edges created by dot are split in multiple spline ... than 7000 nodes and more than 8000 edges). dot...
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
@vinaycheguri0245: It’s a dependency of d3-graphviz. See https://github.com/magjac/d3-graphviz#defining-the-hpcc-jswasm-script-tag.
If you need additional help, I suggest you use Stack Overflow instead. This issue was about something completely different.
@magjac here are the dependencies present in my project. There isn’t any dependency like @hpcc-js/wasm. I’ve also tried adding @hpcc-js/wasm dependency of version 1.15.4 but still the issue remains
"dependencies": { "d3": "6.6.0", "d3-graphviz": "4.1.1", "fs": "0.0.1-security" }, "devDependencies": { "@babel/core": "7.2.0", "parcel-bundler": "^1.6.1" }