Skip to content

rousbound/graphviz-lua

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

graphviz-lua

Lua binding to graphviz, an open source graph visualization software.

Installation

luarocks install graphviz-lua GRAPHVIZ_INCDIR=/usr/include/graphviz

Usage/Docs

local gv = require"graphviz"

----------------------------------------
-- Render dot graph to bytes of determined format
-- @param string dot graph
-- @param string output format. Default: png
-- @return string|nil bytes
-- @return string|nil error mensage|n
local bytes, err = gv.render("digraph G{A -> B}", "png")

License

This work is released under the Apache-2.0 license. A copy of the license is provided in the LICENSE file.

About

Lua binding for Graphviz

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published