Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tzolov/viz-js
Polymer element providing solution to render Graphviz on the web. Uses the https://github.com/mdaines/viz.js
https://github.com/tzolov/viz-js
Last synced: 30 days ago
JSON representation
Polymer element providing solution to render Graphviz on the web. Uses the https://github.com/mdaines/viz.js
- Host: GitHub
- URL: https://github.com/tzolov/viz-js
- Owner: tzolov
- Created: 2015-01-06T17:25:41.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-07-07T15:43:17.000Z (over 8 years ago)
- Last Synced: 2024-10-01T14:56:04.959Z (about 1 month ago)
- Language: HTML
- Size: 931 KB
- Stars: 4
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
viz-js
============See the [component page](http://tzolov.github.io/viz-js) for more information.
## Getting Started
We've put together a [guide to viz-js](http://www.polymer-project.org/docs/start/reusableelements.html) to help get you rolling.
## Usage
## Testing Your Element
Add the logic specific to your new element and verify its functionality. Good unit tests are essential to your verification plan but a good way to quickly sanity test your component is to access your demo.html file via a local web server. There are several ways to do this but one easy method is to run a simple web server that ships with Python, using the commands:
```sh
python -m SimpleHTTPServer
```Or other method using NodeJS:
```sh
http-server ./
```This starts a web server on port 8000, so you can test your new element by navigating a browser to `localhost:8000/viz-js/demo.html`.
### web-component-tester
The tests are also compatible with [web-component-tester](https://github.com/Polymer/web-component-tester). You can run them on multiple local browsers via:
```sh
npm install -g web-component-tester
wct
```