Skip to content

GraphViz DLL wrapper. This library does not use intermediary files but rather directly call the GraphViz DLLs.

License

Notifications You must be signed in to change notification settings

remyzerems/GraphVizDotNetLib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

// 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();

About

GraphViz DLL wrapper. This library does not use intermediary files but rather directly call the GraphViz DLLs.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages