Skip to content

hobby-dev-c-vbs-rb-py/pyxdiag

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

pyxdiag

pyxdiag provides an integrated interface of diag series -(block|seq|act|nw|rack|packet)diag-.

> python pyxdiag.py example.diag

Background

diag series are very usefull tools but the user needs to write "diagram directive comment"(e.g. blockdiag {...}, seqdiag {...}) and has to use the appropriate tool as below:

http://blockdiag.com/en/blockdiag/examples.html#simple-diagram

blockdiag {
   A -> B -> C -> D;
   A -> E -> F -> G;
}
> blockdiag a.diag

http://blockdiag.com/en/seqdiag/examples.html#simple-diagram

seqdiag {
  browser  -> webserver [label = "GET /index.html"];
  browser <-- webserver;
  browser  -> webserver [label = "POST /blog/comment"];
              webserver  -> database [label = "INSERT comment"];
              webserver <-- database;
  browser <-- webserver;
}
> seqdiag b.diag

However, if a.diag and b.diag include "diagram directive comment" , the appropriate tool can be estimated. This means the user needs to write "diagram directive comment" but does not need to swtich the tools.

So, pyxdiag does it.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages