1.0.1 • Published 12 months ago
@atsora/grunt-graph-easy v1.0.1
grunt-graph-easy
Use graph-easy to convert text graphs into images
Getting Started
Requirements
Grunt
graph-easy (on Debian: sudo apt install libgraph-easy-perl)
Installation
Install this plugin:
$ npm install grunt-graph-easy --save-dev
Include the task in your Gruntfile:
grunt.loadNpmTasks('grunt-graph-easy');
ocamlbuild task
Run this task with the grunt graph-easy
command.
Options
format
Type: String
Output format: ascii
, png
Default: guess it from destination file suffix
grapheasy
Type: String array
Additional options to be passed to graph-easy
.
Usage Examples
graph-easy: {
main: {
files: {
'dist/images': 'graph/a.txt'
},
options:
format: 'ascii',
grapheasy: []
},
},
This task supports all the file mapping format Grunt supports. Please read Globbing patterns and Building the files object dynamically for additional details.
##License
Copyright (c) 2017 Lemoine Automation Technologies
Licensed under the MIT license.
1.0.1
12 months ago