pgimalac / rust-graphviz Goto Github PK
View Code? Open in Web Editor NEWFFI bindings for the graphviz C lib generated with rust-bindgen.
License: MIT License
FFI bindings for the graphviz C lib generated with rust-bindgen.
License: MIT License
Hi, I was looking for Graphviz FFI too and came across the JavaScript EMSCRIPTEN bindings, check it out here:
https://github.com/mdaines/viz-js/blob/v3/packages/viz/src/module/viz.c
Hi! Thanks for the crate :)
Do you mind updating to a new bindgen version in crates.io? The one currently used is yanked.
Thanks
Hi! Maybe I am doing something really wrong since I have never used ffi in Rust...
I wanted to run the README example in my computer and I have the following error when compiling.
Compiling graphviz-ffi v0.1.2
error: failed to run custom build command for `graphviz-ffi v0.1.2`
Caused by:
process didn't exit successfully: `C:\Users\rsaonaur\projects\knowledge\target\debug\build\graphviz-ffi-b606b415f266dceb\build-script-build` (exit code: 101)
--- stdout
cargo:rustc-link-lib=gvc
cargo:rustc-link-lib=cgraph
--- stderr
thread 'main' panicked at 'Unable to find libclang: "couldn't find any valid shared libraries matching: ['clang.dll', 'libclang.dll'], set the `LIBCLANG_PATH` environment variable to a path where one of these files can be found (invalid: [])"', C:\Users\rsaonaur\.cargo\registry\src\github.com-1ecc6299db9ec823\bindgen-0.59.1\src/lib.rs:2117:31
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
I am not sure what it means :/
Do I have to install libclang
before using this crate?
Maybe I have to obtain gvc
and cgraph
from graphviz
to make the link?
Again, sorry if this is a very basic question.
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.