Registry / utility / ruby-graphviz

ruby-graphviz

JSON →
library1.2.5rbrubygemsunverified

Ruby/Graphviz provides an interface to layout and generate images of directed graphs in a variety of formats using GraphViz.

gem install ruby-graphviz
INSTALL
IMPORT
SIG · RUBY-GRAPHVIZ
R
ruby-graphviz
utilityrubyv1.2.5
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

GraphViz
require 'graphviz'

Create a simple directed graph and output it as a PNG image.

require 'graphviz' g = GraphViz.new(:G) g.node[:shape] = 'box' g.add_nodes('Hello').label = 'Hello' g.output(png: 'hello.png')
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.2.5latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Amazon
1
Resources
ruby-graphviz — gem install ruby-graphviz · libregistry