-
Notifications
You must be signed in to change notification settings - Fork 12
Add ability to visualize DAG at CLI #62
Comments
Super important for @ihortom |
It's the ASCII art part that's hard here (using backslashes or pipes for edges etc). This is mainly because of complications such as font width etc ( Printing a topologically sorted version of the file like:
would probably complete the use-case, and be a bit less complicated to implement? |
I think here, let's not get stuck on the ASCII Art aspect. If we have to pipe the output from Factotum into another tool like |
This could also be like:
The important thing here is to see which tasks have dependencies set up - so you can catch it if one is missed. |
We could store these images with the Factfile - as we do with makefiles currently |
Usage: factotum dot <factfile> --output=sample.dot
This is completed in 2536f98 which introduces a new command |
Super cool! |
@ninjabear - below is the output I got when running one of the factiles:
I thought the DOT syntax would be rather like
Otherwise, I see no point in the top section (extra noise)
Just the below will suffice
|
Hey @ihortom, are you using a tool to read these? Check out http://www.webgraphviz.com/ for an example, there's also a command line utility called |
@ninjabear - ah, great! Thanks for that. |
We should be able to:
--verbose
settingThe text was updated successfully, but these errors were encountered: