Skip to content

justin2004/graph-easy-box

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

  • cat some.dg | docker run --rm -i justin2004/graph-easy-box

  • example some.dg:
digraph G {
	rankdir=LR;
	a->b;
	b->c;
	x->b;
	z->x; 
}
  • yields:
+---+     +---+     +---+
| a | --> | b | --> | c |
+---+     +---+     +---+
            ^
            |
            |
+---+     +---+
| z | --> | x |
+---+     +---+


  • example graph.g
graph BOB {
       a -- b -- c;
       a -- {x y};
       x -- c;
       x -- y;
}
  • yields:

  +-------------------+
  |                   |
+---+     +---+     +---+
| y | --- | x | --- | a |
+---+     +---+     +---+
            |         |
            |         |
            |         |
            |       +---+
            |       | b |
            |       +---+
            |         |
            |         |
            |         |
            |       +---+
            +-------| c |
                    +---+
  • see man graphviz and man dot for graph and digraph syntax

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published