Comments (3)
I encountered the same error; perhaps another example helps pinning down the problem:
I get the error when trying to generate the following graph with dot:
digraph G{
type="digraph";
rankdir="TB";
3->5[label="e1",color="#00cc00",constraint="false",fontcolor="#00cc00"]
5->4[label="e2",color="#00cc00",constraint="false",fontcolor="#00cc00"]
10->5[label="e3",color="#00cc00",constraint="false",fontcolor="#00cc00"]
10->8[label="e6",color="#00cc00",constraint="false",fontcolor="#00cc00"]
3->4[style="invis"]
4->5[style="invis"]
5->6[style="invis"]
6->7[style="invis"]
7->8[style="invis"]
8->9[style="invis"]
9->10[style="invis"]
10->11[style="invis"]
subgraph tokens{
rank="same";
3[label="t1",shape="box"]
4[label="t2",shape="box"]
5[label="t3",shape="box"]
6[label="t4",shape="box"]
7[label="t5",shape="box"]
8[label="t6",shape="box"]
9[label="t7",shape="box"]
10[label="t8",shape="box"]
11[label="t9",shape="box"]
}
}
The stacktrace:
InternalError: uncaught exception: abort() at jsStackTrace@http://mdaines.github.io/viz.js/bower_components/viz.js/viz.js:5:20800 stackTrace@http://mdaines.github.io/viz.js/bower_components/viz.js/viz.js:5:20983 abort@http://mdaines.github.io/viz.js/bower_components/viz.js/viz.js:28:5424 _abort@http://mdaines.github.io/viz.js/bower_components/viz.js/viz.js:5:603385 O4@http://mdaines.github.io/viz.js/bower_components/viz.js/viz.js:21:14501 zf@http://mdaines.github.io/viz.js/bower_components/viz.js/viz.js:11:124669 sf@http://mdaines.github.io/viz.js/bower_components/viz.js/viz.js:11:120869 gF@http://mdaines.github.io/viz.js/bower_components/viz.js/viz.js:9:172924 ec@http://mdaines.github.io/viz.js/bower_components/viz.js/viz.js:11:882 ccallFunc@http://mdaines.github.io/viz.js/bower_components/viz.js/viz.js:5:8075 render@http://mdaines.github.io/viz.js/bower_components/viz.js/viz.js:62:25 Viz@http://mdaines.github.io/viz.js/bower_components/viz.js/viz.js:44:14 onmessage@http://mdaines.github.io/viz.js/worker.js:4:16 If this abort() is unexpected, build with -s ASSERTIONS=1 which can give more information.
Graph generation works as soon as you remove one of the visible edges.
from viz-js.
This is actually an instance of the bug reported in #65.
from viz-js.
Addressed in 2257a40.
from viz-js.
Related Issues (20)
- full.render.js is broken on Realese 2.1.1 HOT 4
- Sorry, it's another rollup / typescript question HOT 16
- Name "cluster" is not allowed when format = JSON HOT 1
- node proces crash after single viz instance renderString more then 1714 times HOT 1
- Can't build w/ emscripten 1.38.25 (latest) HOT 2
- Is synchronous use still possible? HOT 1
- Update viz-js.com to use new version
- Add type definitions HOT 4
- Publish lang-dot package
- Figure out why pkg-config doesn't work as expected for Expat
- Investigate distributing a non-WASM build
- Investigate support for separate WebAssembly instantiation
- Support -x (reduce) option
- Image support in v3 HOT 6
- RuntimeError with long label starting with newline HOT 1
- Android Project HOT 1
- Types can not be imported with current package.json HOT 2
- Dynamic font Family HOT 2
- Strict mode but merge labels HOT 1
- Text not rendering in nodes HOT 11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from viz-js.