Git Product home page Git Product logo

Comments (7)

ChristianDavis avatar ChristianDavis commented on September 26, 2024 2

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?

from onlinewardleymaps.

jaxley avatar jaxley commented on September 26, 2024 1

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.

from onlinewardleymaps.

damonsk avatar damonsk commented on September 26, 2024 1

Will address this on the vscode-wardleymaps issue/repo.

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 revist the PR from @ChristianDavis https://github.com/damonsk/onlinewardleymaps/pull/75/commits

from onlinewardleymaps.

jaxley avatar jaxley commented on September 26, 2024

from onlinewardleymaps.

damonsk avatar damonsk commented on September 26, 2024

OnlineWardleyMaps has been wrapped into a vscode extension which I think will give most of what you need. vscode-wardley-maps

from onlinewardleymaps.

rdmueller avatar rdmueller commented on September 26, 2024

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.

from onlinewardleymaps.

roylines avatar roylines commented on September 26, 2024

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

from onlinewardleymaps.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.