d3-node/d3node-output

Name: d3node-output

Owner: D3-Node

Description: simple way to export d3-node instance to png/jpg, svg & html files

Created: 2017-03-12 03:19:03.0

Updated: 2017-10-25 06:35:51.0

Pushed: 2017-08-28 18:19:10.0

Homepage:

Size: 16

Language: JavaScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

D3Node-output

Used in examples to export a d3node instance to html, svg, & png files

Install
install d3node-output
Usage
t output = require('d3node-output')
t voronoi = require('d3node-voronoi');
t data = new Array(99);

rop your png to a custom size
efaults to the size of your svg if not defined
t options = {width: 100, height: 200};

utput files to /dist dir
ut('./dist/myVoronoi', voronoi(data), options, callback);
PaaS usage:
Contributing
  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D
LICENSE

MIT © d3-node


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.