Tool to create ASCII graph from a set of vertices and edges?

Viewed 2758

Is there a tool that takes as input a series of vertices and edges, and outputs a graph in ASCII/Unicode format?

Thanks, Kevin

5 Answers

For whoever reading this post in 2022, check out Diagon.
There are both a command line tool diagon and a website.

you can create multiple ASCII visualization from text such as :

  • DAG
  • flowchart
  • sequence diagram
  • mathematical expression (without Latex)

DAG Example :

┌─────┐┌─────────┐┌─────┐     
│socks││underwear││shirt│     
└┬────┘└┬─┬──────┘└┬─┬──┘     
 │      │┌▽─────┐  │┌▽───────┐
 │      ││pants │  ││tie     │
 │      │└┬──┬──┘  │└┬───────┘
┌▽──────▽─▽┐┌▽─────▽┐│        
│shoes     ││belt   ││        
└──────────┘└┬──────┘│        
┌────────────▽───────▽┐       
│jacket               │       
└─────────────────────┘       

Also worth looking : https://www.plantuml.com/

Related