This is CLI application which generate screen trantision diagram based on some yaml file.
You can check the actual generated svgs from the Sample folder.
This tool is specifically designed for the screen transition of mobile applications, so that a diagram is generated that covers screens that are transitioned from a single root screen.
$ git clone this repository
$ cd this repository
$ swift build
$ ./.build/debug/y2p
When executing this command, you need to have the "y2p.yaml" file in the directory where the command is being executed.
$ brew tap takeshi-1000/y2p
$ brew install y2p
$ y2p
or$ y2p -fileName {name of yaml file}
-fileName
: specific yaml file which you like (e.g./.build/debug/y2p -fileName test.yaml
)-o
: output fileName, default isscreen_transition_diagram.svg
. (e.g./.build/debug/y2p -o test.svg
)-d
or-dump
: dump svg text (this is only for svg, and now even if you add this option, svg file is created)
This tool is powered by:
Inspiration for this tool came from:
Contributions are always welcome. Please create an issue or pull request as needed.
Licensed under the MIT license