Skip to content
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

Add pages for JSON and YAML inputs, scripts to check diagrams and generate SVGs with Node.js #80

Open
wants to merge 6 commits into
base: gh-pages
Choose a base branch
from

Conversation

prantlf
Copy link
Contributor

@prantlf prantlf commented Apr 26, 2020

  • Build the JavaScript library output for both browser and Node.js from the single railroad.js source.
  • Add a command-line tool rrd2svg for converting JSON or YAML diagram input to SVG output.
  • Add a command-line tool rrdlint for validating JSON or YAML diagram input.
  • Add pages generator-json.html and generator-yaml.html for JSON and YAML diagram input.

Partially addresses #38. Based on #79.

…erate SVGs with Node.js

* Generate the main script for NPM usages instead of maintaining a separate version.
* Generate a UMD script for web page usages.
* Introduce rrd2svg - command line script for generating SVGs from JSON or YAML input.
* Introduce rrdlint - command line script for validating JSON or YAML input.
* Add JSON and YAML diagram examples.
* Add benchmarks for constructing diagrams using functions, constructors or from JSON.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant