-
-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CLI map generation from markup? #71
Comments
There isn't anything in this codebase to do that, but what the whole tool does is generate a map from the markup. So your use case doesn't sound far fetched. Essentially just opening a source file directly then outputting a .png or .svg? |
Correct. Would make it more versatile.
…On Sun, May 31, 2020, 11:54 Christian Davis ***@***.***> wrote:
There isn't anything in this codebase to do that, but what the whole tool
does is generate a map from the markup. So your use case doesn't sound far
fetched. Essentially just opening a source file directly then outputting a
.png or .svg?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#71 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AADFIM6VUQVYAQGBGGZ4WHDRUKRWDANCNFSM4NOLD2SQ>
.
|
OnlineWardleyMaps has been wrapped into a vscode extension which I think will give most of what you need. vscode-wardley-maps |
the extension is already quite helpful. If we could really generate svg or png files on the cli, we could also use the diagrams in generated documents like markup, asciidoc or pdf. |
Is there any possibility of being able to export the displayed map to PNG from VSCode? Right now, I have to go to https://onlinewardleymaps.com and paste in my markup from VSCode, then use the web PNG export...Kind of a drag. |
Will address this on the vscode-wardleymaps issue/repo.
Will revist the PR from @ChristianDavis https://github.com/damonsk/onlinewardleymaps/pull/75/commits |
First: thanks for building such an awesome tool. +1 on the need for a CLI. It would be SO helpful to be able to use a CLI to take a .wm file and generate a png/svg. This could be used as part of a build pipeline to create docs (so no vscode available). Makes the whole thing scale outside of a single user. The vscode plugin is very helpful whilst editing - but a cli could then be used in for example a github action to generate and publish a diagram into a document repository. I've tried to figure how to build this myself, but with the engine being in frontend code, I can't think of a nice way to make it headless |
The web tool is quite nice for authoring, and the human-readable markup is great to easily create them and modify without even a mouse.
But, I'd like to be able to manage these maps in a git repo, for example, to track changes over time. And perhaps would want to generate SVG or images from the markup. Perhaps even use this in an IDE/editor preview plugin (think PlantUML).
Is there already a CLI version of the tool that could work in this environment?
The text was updated successfully, but these errors were encountered: