amdoing / graphviz.js Goto Github PK
View Code? Open in Web Editor NEWThis project forked from bpartridge/graphviz.js
Graphviz layout engine running in the browser using the Emscripten cross-compiler
This project forked from bpartridge/graphviz.js
Graphviz layout engine running in the browser using the Emscripten cross-compiler
graphviz.js is an experimental port of the Graphviz graph visualization software to in-browser Javascript. Once optimized for size, this will allow on-the-fly layout of graph nodes on the client, with all the layout features of Graphviz. graphviz.js contains all the required code, and it can be minified to fit your use case. To build the library from the graphviz source code, use the supplied Makefile, which will download the graphviz source code and compile it using your installed version of emscripten (as per your ~/.emscripten file). Both of the following fixes to emscripten are worked around in the most recent version of this repository, although they should eventually be submitted as issues. ============ Outstanding issue in emscripten when <sys/types.h> is included before <stdint.h>... hack is to comment out block at stdint.h:114 as follows: #if 0 #if __have_long64 typedef signed long int64_t; typedef unsigned long uint64_t; #define __int64_t_defined 1 #elif __have_longlong64 typedef signed long long int64_t; typedef unsigned long long uint64_t; #define __int64_t_defined 1 #elif __STDINT_EXP(INT_MAX) > 0x7fffffff typedef signed int int64_t; typedef unsigned int uint64_t; #define __int64_t_defined 1 #endif #endif If the dirent struct is never actually used, it only occurs as a return value by pointer in glob.h, and it shows up in the .ll as an opaque type. Unfortunately, this breaks runtime.js, which expects the type to match library.js's description of what a dirent should be. By commenting out this assertion, it's possible that dirent will no longer work. But since we don't expect the code to be globbing files anyways, it seems to be acceptable.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.