-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
299 additions
and
145 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,97 @@ | ||
{ | ||
"projectName": "node-graphviz", | ||
"projectOwner": "glejeune", | ||
"repoType": "github", | ||
"repoHost": "https://github.com", | ||
"files": [ | ||
"README.md" | ||
], | ||
"imageSize": 100, | ||
"commit": false, | ||
"contributors": [ | ||
{ | ||
"login": "glejeune", | ||
"name": "Gregoire Lejeune", | ||
"avatar_url": "https://avatars1.githubusercontent.com/u/15168?v=4", | ||
"profile": "http://lejeun.es", | ||
"contributions": [ | ||
"code", | ||
"doc", | ||
"example" | ||
] | ||
}, | ||
{ | ||
"login": "dariusk", | ||
"name": "Darius Kazemi", | ||
"avatar_url": "https://avatars3.githubusercontent.com/u/266454?v=4", | ||
"profile": "https://tinysubversions.com", | ||
"contributions": [ | ||
"code" | ||
] | ||
}, | ||
{ | ||
"login": "SebastienElet", | ||
"name": "Sébastien ELET", | ||
"avatar_url": "https://avatars0.githubusercontent.com/u/541937?v=4", | ||
"profile": "https://github.com/SebastienElet", | ||
"contributions": [ | ||
"code" | ||
] | ||
}, | ||
{ | ||
"login": "papandreou", | ||
"name": "Andreas Lind", | ||
"avatar_url": "https://avatars3.githubusercontent.com/u/373545?v=4", | ||
"profile": "https://github.com/papandreou", | ||
"contributions": [ | ||
"code" | ||
] | ||
}, | ||
{ | ||
"login": "blakmatrix", | ||
"name": "Farrin Reid", | ||
"avatar_url": "https://avatars3.githubusercontent.com/u/91209?v=4", | ||
"profile": "http://www.blakmatrix.com", | ||
"contributions": [ | ||
"code" | ||
] | ||
}, | ||
{ | ||
"login": "pahen", | ||
"name": "Patrik Henningsson", | ||
"avatar_url": "https://avatars3.githubusercontent.com/u/353888?v=4", | ||
"profile": "https://pahen.se", | ||
"contributions": [ | ||
"code" | ||
] | ||
}, | ||
{ | ||
"login": "pooriaazimi", | ||
"name": "Pooria Azimi", | ||
"avatar_url": "https://avatars2.githubusercontent.com/u/814637?v=4", | ||
"profile": "https://github.com/pooriaazimi", | ||
"contributions": [ | ||
"code" | ||
] | ||
}, | ||
{ | ||
"login": "BridgeAR", | ||
"name": "Ruben Bridgewater", | ||
"avatar_url": "https://avatars2.githubusercontent.com/u/8822573?v=4", | ||
"profile": "https://twitter.com/BridgeAR", | ||
"contributions": [ | ||
"code" | ||
] | ||
}, | ||
{ | ||
"login": "mathieuravaux", | ||
"name": "Mathieu Ravaux", | ||
"avatar_url": "https://avatars1.githubusercontent.com/u/38495?v=4", | ||
"profile": "https://github.com/mathieuravaux", | ||
"contributions": [ | ||
"code" | ||
] | ||
} | ||
], | ||
"contributorsPerLine": 7 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
# Change Log | ||
|
||
## [0.0.9](https://github.com/glejeune/node-graphviz/tree/0.0.9) (2019-04-03) | ||
[Full Changelog](https://github.com/glejeune/node-graphviz/compare/0.0.8...0.0.9) | ||
|
||
**Closed issues:** | ||
|
||
- Is it possible to create a stripped down version for browsers that only generates dot code? [\#15](https://github.com/glejeune/node-graphviz/issues/15) | ||
- Is there a way to tell this library to ignore duplicate edges? [\#13](https://github.com/glejeune/node-graphviz/issues/13) | ||
- How to get x,y coords for a node? [\#11](https://github.com/glejeune/node-graphviz/issues/11) | ||
|
||
**Merged pull requests:** | ||
|
||
- Fix missing error handling [\#26](https://github.com/glejeune/node-graphviz/pull/26) ([BridgeAR](https://github.com/BridgeAR)) | ||
- Fixing `for in` loops [\#17](https://github.com/glejeune/node-graphviz/pull/17) ([dariusk](https://github.com/dariusk)) | ||
- Node setter is now fluent. [\#16](https://github.com/glejeune/node-graphviz/pull/16) ([SebastienElet](https://github.com/SebastienElet)) | ||
|
||
## [0.0.8](https://github.com/glejeune/node-graphviz/tree/0.0.8) (2012-08-04) | ||
[Full Changelog](https://github.com/glejeune/node-graphviz/compare/0.0.7...0.0.8) | ||
|
||
**Closed issues:** | ||
|
||
- Clickable Nodes [\#10](https://github.com/glejeune/node-graphviz/issues/10) | ||
|
||
**Merged pull requests:** | ||
|
||
- `npm install node-graphviz` --\> `npm install graphviz` [\#9](https://github.com/glejeune/node-graphviz/pull/9) ([pooriaazimi](https://github.com/pooriaazimi)) | ||
|
||
## [0.0.7](https://github.com/glejeune/node-graphviz/tree/0.0.7) (2012-07-01) | ||
[Full Changelog](https://github.com/glejeune/node-graphviz/compare/0.0.6...0.0.7) | ||
|
||
**Closed issues:** | ||
|
||
- Publish 0.0.6 with correct dependency on 'temp' to the npm repo? [\#5](https://github.com/glejeune/node-graphviz/issues/5) | ||
|
||
**Merged pull requests:** | ||
|
||
- Fixed so it can be installed on v0.8. Please bump version & update the NPM repo :\) [\#7](https://github.com/glejeune/node-graphviz/pull/7) ([pahen](https://github.com/pahen)) | ||
- Hi! I fixed some calls to "sys" for you! [\#6](https://github.com/glejeune/node-graphviz/pull/6) ([node-migrator-bot](https://github.com/node-migrator-bot)) | ||
|
||
## [0.0.6](https://github.com/glejeune/node-graphviz/tree/0.0.6) (2012-01-27) | ||
[Full Changelog](https://github.com/glejeune/node-graphviz/compare/0.0.5...0.0.6) | ||
|
||
**Closed issues:** | ||
|
||
- Error: EPIPE, Broken pipe [\#3](https://github.com/glejeune/node-graphviz/issues/3) | ||
- Graph.prototype.getNodeAttribut [\#2](https://github.com/glejeune/node-graphviz/issues/2) | ||
|
||
## [0.0.5](https://github.com/glejeune/node-graphviz/tree/0.0.5) (2011-12-14) | ||
[Full Changelog](https://github.com/glejeune/node-graphviz/compare/0.0.4...0.0.5) | ||
|
||
**Merged pull requests:** | ||
|
||
- graphviz.js: Don't require the 'sys' module. [\#4](https://github.com/glejeune/node-graphviz/pull/4) ([papandreou](https://github.com/papandreou)) | ||
|
||
## [0.0.4](https://github.com/glejeune/node-graphviz/tree/0.0.4) (2010-11-16) | ||
[Full Changelog](https://github.com/glejeune/node-graphviz/compare/0.0.3...0.0.4) | ||
|
||
## [0.0.3](https://github.com/glejeune/node-graphviz/tree/0.0.3) (2010-10-04) | ||
[Full Changelog](https://github.com/glejeune/node-graphviz/compare/0.0.2...0.0.3) | ||
|
||
## [0.0.2](https://github.com/glejeune/node-graphviz/tree/0.0.2) (2010-09-29) | ||
|
||
|
||
\* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,98 @@ | ||
# Node.js GraphViz Module | ||
|
||
[![All Contributors](https://img.shields.io/badge/all_contributors-9-orange.svg?style=flat-square)](#contributors) | ||
|
||
Copyright (C) 2010-2019 Gregoire Lejeune | ||
|
||
* Sources : http://github.com/glejeune/node-graphviz | ||
|
||
## DESCRIPTION | ||
|
||
Interface to the GraphViz graphing tool | ||
|
||
## SYNOPSIS | ||
|
||
A basic example | ||
|
||
``` | ||
var util = require('util'), | ||
graphviz = require('graphviz'); | ||
// Create digraph G | ||
var g = graphviz.digraph("G"); | ||
// Add node (ID: Hello) | ||
var n1 = g.addNode( "Hello", {"color" : "blue"} ); | ||
n1.set( "style", "filled" ); | ||
// Add node (ID: World) | ||
g.addNode( "World" ); | ||
// Add edge between the two nodes | ||
var e = g.addEdge( n1, "World" ); | ||
e.set( "color", "red" ); | ||
// Print the dot script | ||
console.log( g.to_dot() ); | ||
// Set GraphViz path (if not in your path) | ||
g.setGraphVizPath( "/usr/local/bin" ); | ||
// Generate a PNG output | ||
g.output( "png", "test01.png" ); | ||
``` | ||
|
||
## INSTALLATION | ||
|
||
``` | ||
$ npm install graphviz | ||
``` | ||
|
||
You also need to install GraphViz[http://www.graphviz.org] | ||
|
||
## DOCUMENTATION | ||
|
||
Install node-jake[http://github.com/mde/node-jake] and dox[http://github.com/visionmedia/dox] then run | ||
|
||
``` | ||
jake doc && open documentation.html | ||
``` | ||
|
||
## AUTHORS | ||
|
||
* Gregoire Lejeune (http://algorithmique.net) | ||
* Mathieu Ravaux (http://mathieuravaux.com) | ||
|
||
## LICENCES | ||
|
||
Copyright (c) 2010 Gregoire Lejeune <[email protected]> | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in | ||
all copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | ||
THE SOFTWARE. | ||
|
||
|
||
## Contributors | ||
|
||
Thanks goes to these wonderful people ([emoji key](https://github.com/kentcdodds/all-contributors#emoji-key)): | ||
|
||
<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section --> | ||
<!-- prettier-ignore --> | ||
<table><tr><td align="center"><a href="http://lejeun.es"><img src="https://avatars1.githubusercontent.com/u/15168?v=4" width="100px;" alt="Gregoire Lejeune"/><br /><sub><b>Gregoire Lejeune</b></sub></a><br /><a href="https://github.com/glejeune/node-graphviz/commits?author=glejeune" title="Code">💻</a> <a href="https://github.com/glejeune/node-graphviz/commits?author=glejeune" title="Documentation">📖</a> <a href="#example-glejeune" title="Examples">💡</a></td><td align="center"><a href="https://tinysubversions.com"><img src="https://avatars3.githubusercontent.com/u/266454?v=4" width="100px;" alt="Darius Kazemi"/><br /><sub><b>Darius Kazemi</b></sub></a><br /><a href="https://github.com/glejeune/node-graphviz/commits?author=dariusk" title="Code">💻</a></td><td align="center"><a href="https://github.com/SebastienElet"><img src="https://avatars0.githubusercontent.com/u/541937?v=4" width="100px;" alt="Sébastien ELET"/><br /><sub><b>Sébastien ELET</b></sub></a><br /><a href="https://github.com/glejeune/node-graphviz/commits?author=SebastienElet" title="Code">💻</a></td><td align="center"><a href="https://github.com/papandreou"><img src="https://avatars3.githubusercontent.com/u/373545?v=4" width="100px;" alt="Andreas Lind"/><br /><sub><b>Andreas Lind</b></sub></a><br /><a href="https://github.com/glejeune/node-graphviz/commits?author=papandreou" title="Code">💻</a></td><td align="center"><a href="http://www.blakmatrix.com"><img src="https://avatars3.githubusercontent.com/u/91209?v=4" width="100px;" alt="Farrin Reid"/><br /><sub><b>Farrin Reid</b></sub></a><br /><a href="https://github.com/glejeune/node-graphviz/commits?author=blakmatrix" title="Code">💻</a></td><td align="center"><a href="https://pahen.se"><img src="https://avatars3.githubusercontent.com/u/353888?v=4" width="100px;" alt="Patrik Henningsson"/><br /><sub><b>Patrik Henningsson</b></sub></a><br /><a href="https://github.com/glejeune/node-graphviz/commits?author=pahen" title="Code">💻</a></td><td align="center"><a href="https://github.com/pooriaazimi"><img src="https://avatars2.githubusercontent.com/u/814637?v=4" width="100px;" alt="Pooria Azimi"/><br /><sub><b>Pooria Azimi</b></sub></a><br /><a href="https://github.com/glejeune/node-graphviz/commits?author=pooriaazimi" title="Code">💻</a></td></tr><tr><td align="center"><a href="https://twitter.com/BridgeAR"><img src="https://avatars2.githubusercontent.com/u/8822573?v=4" width="100px;" alt="Ruben Bridgewater"/><br /><sub><b>Ruben Bridgewater</b></sub></a><br /><a href="https://github.com/glejeune/node-graphviz/commits?author=BridgeAR" title="Code">💻</a></td><td align="center"><a href="https://github.com/mathieuravaux"><img src="https://avatars1.githubusercontent.com/u/38495?v=4" width="100px;" alt="Mathieu Ravaux"/><br /><sub><b>Mathieu Ravaux</b></sub></a><br /><a href="https://github.com/glejeune/node-graphviz/commits?author=mathieuravaux" title="Code">💻</a></td></tr></table> | ||
|
||
<!-- ALL-CONTRIBUTORS-LIST:END --> | ||
|
||
This project follows the [all-contributors](https://github.com/kentcdodds/all-contributors) specification. Contributions of any kind welcome! |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.