https://github.com/remyzerems/graphvizdotnetlib
GraphViz DLL wrapper. This library does not use intermediary files but rather directly call the GraphViz DLLs.
https://github.com/remyzerems/graphvizdotnetlib
graphviz graphviz-dot
Last synced: about 2 months ago
JSON representation
GraphViz DLL wrapper. This library does not use intermediary files but rather directly call the GraphViz DLLs.
- Host: GitHub
- URL: https://github.com/remyzerems/graphvizdotnetlib
- Owner: remyzerems
- License: epl-1.0
- Created: 2016-02-20T11:41:43.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2016-02-20T12:37:27.000Z (about 9 years ago)
- Last Synced: 2025-01-16T07:56:47.747Z (4 months ago)
- Topics: graphviz, graphviz-dot
- Language: C#
- Homepage:
- Size: 18.6 KB
- Stars: 2
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# GraphViz Dot Net Library
GraphViz DLL wrapper library. This library does not use intermediary files but rather directly call the GraphViz DLLs.### Features
* Draws images from GraphViz code
* Only memory streams : no intermediary files when rendering the image, no console tricks
* Configurable image output format
* Configurable layout engine (dot, neato...)
* Automated determination of the GraphViz install path (DLLs location)### Basic example
```csharp
// Add this using directive
using GraphVizDotNetLib;// Start creating a graph
GraphVizRenderer gv = new GraphVizRenderer();// Draw the graph described by the code
Bitmap bmp = gv.DrawGraphFromDotCode("digraph{a -> b; b -> c; c -> a;}");// Do whatever you want to do with the bitmap
...// Once finished, free the resources
gv.Dispose();
```