Open pritamdodeja opened 2 years ago
Hello! Sorry for this late reply ;-(
How would user specify in the input what they want to see in the output? Would you had example?
No problem at all! How about something like this:
diagon Flowchart -expand=horizontal < flow
Horizontal keeps growing the flowchart horizontally till something is returned, and vertical would do vertically. If there are no returns, -expand is ignored or an error is thrown informing the user of an invalid selection.
Awesome project! I was looking to do some ascii diagramming to depict the execution flow in some python programs in vim. I am looking to capture the flow of the program as it executes to organize the design better. Specifically, I have the following flowcharge
This produces the following flowchart:
Right off the bat, this is really good and helpful. As you can see, I am trying to depict what's happening inside the pipeline function using a conditional. Probably not what you intended, and if there's a better way, please let me know. What I'd like to do is to be able to encapsulate/abstract the details that when needed. I was thinking of two ways that this could be done.
The first is to continue the left branch only after "stuff" is returned by the pipeline function. This way, I can fold the text in vim to abstract the details if needed.
A second option is to allow for the branch to be rendered horizontally, so that if I want to go into the details, I can navigate in the text editor horizontally.
Thanks for this excellent project!