Skip to content

Instantly share code, notes, and snippets.

@ashwin
Created October 21, 2017 01:19
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ashwin/fea490d78814f6e0db38d2eb18b47ed8 to your computer and use it in GitHub Desktop.
Save ashwin/fea490d78814f6e0db38d2eb18b47ed8 to your computer and use it in GitHub Desktop.
Perl script to convert DOT file to ASCII graph
#!/usr/bin/perl -w
use Graph::Easy::Parser::Graphviz;
my $parser = Graph::Easy::Parser::Graphviz->new();
print $parser->from_file($ARGV[0])->as_ascii();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment