Popularity
2.3
Stable
Activity
0.0
Stable
2
2
0

Monthly Downloads: 22
Programming language: Haskell
License: BSD 3-clause "New" or "Revised" License
Tags: Graphics     Graphs    
Latest version: v0.1.0.4

stacked-dag alternatives and similar packages

Based on the "Graphics" category.
Alternatively, view stacked-dag alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of stacked-dag or a related project?

Add another 'Graphics' Package

README

stacked-dag

Hackage version Build Status

Ascii DAG for visualization of dataflow

stacked-dag can show Ascii-DAG(Directed acyclic graph) from a Dot file of graphviz. Dataflow's direction is from top to bottom. 'o' means a node. A label of the node is shown to the left side. Other characters are edges of DAG.

A sample of DAG is below.

o o    l0,l4
|/
o    l1
|
o    l2
|
o    l3

Usages

Write a Dot file of graphviz.

$ cat > sample.dot
digraph graphname {
  0 [label="l0"];
  1 [label="l1"];
  2 [label="l2"];
  3 [label="l3"];
  4 [label="l4"];
  0->1;
  1->2;
  2->3;
  4->1;
}

Show ascii DAG by following command.

$ stacked-dag dot sample.dot
o o    l0,l4
|/
o    l1
|
o    l2
|
o    l3

Samples

$ stacked-dag samples
o o    l0,l1
|/
o o o    l2,l4,l6
|/_/
o    l3
|
o    l5
---
o o    l0,l1
 x
o o    l2,l3
---
o    l0
|\
o o    l1,l2
---
o
|\
o |
|/
o
---
o
|\
o |
| |
o |
|/
o