Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Small utility program to generate DOT graph files for Graphviz from Lisp-like trees

License

NotificationsYou must be signed in to change notification settings

andrewlin16/tree2dot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tree2dot is a simple command-line utility to generate a DOT graph file from atree expressed in a Lisp-like syntax.

Usage

tree2dot reads input from stdin and outputs the resulting DOT file to stdout.

Example usage:tree2dot < examples/test.txt > examples/test.dot

This will take the tree in examples/test.txt and output a DOT file toexamples/test.dot.

The output of tree2dot can also be piped directly into graphviz.

Example usage:tree2dot < examples/test.txt | dot -Tsvg > examples/test.svg

This will take the tree in examples/test.txt, pipe the resulting DOT to the dotprogram, and output a SVG file to examples/test.svg. You will need the graphvizpackage installed for this to run. On Debian/Ubuntu-based systems, this can bedone by runningapt-get install graphviz.

License

tree2dot is licensed under the MIT license. See LICENSE.txt.

About

Small utility program to generate DOT graph files for Graphviz from Lisp-like trees

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp