Comparing version 0.0.4 to 0.0.5
@@ -0,1 +1,6 @@ | ||
v0.0.5 | ||
====== | ||
* Pull in dagre v0.3.4, which includes a fix for the demos with IE. | ||
v0.0.4 | ||
@@ -2,0 +7,0 @@ ====== |
var layout = require('dagre').layout; | ||
var d3; | ||
try { d3 = require('d3'); } catch (_) { d3 = window.d3; } | ||
module.exports = Renderer; | ||
@@ -4,0 +7,0 @@ |
@@ -23,3 +23,3 @@ /* | ||
if (!f(xs[i])) { | ||
return false; | ||
return false; | ||
} | ||
@@ -26,0 +26,0 @@ } |
@@ -1,1 +0,1 @@ | ||
module.exports = '0.0.4'; | ||
module.exports = '0.0.5'; |
{ | ||
"name": "dagre-d3", | ||
"version": "0.0.4", | ||
"version": "0.0.5", | ||
"description": "A D3-based renderer for Dagre", | ||
@@ -15,3 +15,5 @@ "keywords": [ | ||
"graphlib-dot": "0.4.8", | ||
"jshint": "~2.3.0", | ||
"mocha": "1.12.x", | ||
"phantomjs": "~1.9.2-2", | ||
"semver": "2.1.x", | ||
@@ -22,4 +24,5 @@ "uglify-js": "1.2.3" | ||
"cp-data": "1.1.0", | ||
"graphlib": "0.7.0", | ||
"dagre": "0.3.3" | ||
"dagre": "0.3.4", | ||
"d3": "~3.3.8", | ||
"graphlib": "0.7.0" | ||
}, | ||
@@ -29,3 +32,3 @@ "author": "Chris Pettitt <chris@samsarin.com>", | ||
"type": "git", | ||
"url": "https://github.com/cpettitt/dagre.git" | ||
"url": "https://github.com/cpettitt/dagre-d3.git" | ||
}, | ||
@@ -32,0 +35,0 @@ "license": "MIT", |
@@ -78,3 +78,3 @@ # dagre-d3 - A D3-based renderer for Dagre | ||
<script src="http://d3js.org/d3.v3.min.js"></script> | ||
<script src="http://cpettitt.github.io/project/dagre-d3/latest/dagre-d3.min.js)"></script> | ||
<script src="http://cpettitt.github.io/project/dagre-d3/latest/dagre-d3.min.js"></script> | ||
``` | ||
@@ -88,3 +88,3 @@ | ||
<script src="http://d3js.org/d3.v3.min.js"></script> | ||
<script src="http://cpettitt.github.io/project/dagre-d3/v0.0.1/dagre-d3.min.js)"></script> | ||
<script src="http://cpettitt.github.io/project/dagre-d3/v0.0.1/dagre-d3.min.js"></script> | ||
``` | ||
@@ -147,2 +147,28 @@ | ||
We also need to add some basic style information to get a usable graph. These values can be tweaked, of course. | ||
```css | ||
<style> | ||
rect { | ||
fill: #fff; | ||
} | ||
.node rect { | ||
stroke-width: 1.5px; | ||
stroke: #333; | ||
fill: none; | ||
} | ||
.edge rect { | ||
fill: #fff; | ||
} | ||
.edge path { | ||
fill: none; | ||
stroke: #333; | ||
stroke-width: 1.5px; | ||
} | ||
</style> | ||
``` | ||
This produces the graph: | ||
@@ -149,0 +175,0 @@ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
21215
10
380
207
4
8
+ Addedd3@~3.3.8
+ Addedajv@6.12.6(transitive)
+ Addedasn1@0.2.6(transitive)
+ Addedassert-plus@1.0.0(transitive)
+ Addedasynckit@0.4.0(transitive)
+ Addedaws-sign2@0.7.0(transitive)
+ Addedaws4@1.13.2(transitive)
+ Addedbcrypt-pbkdf@1.0.2(transitive)
+ Addedbindings@1.5.0(transitive)
+ Addedcaseless@0.12.0(transitive)
+ Addedcombined-stream@1.0.8(transitive)
+ Addedcontextify@0.1.15(transitive)
+ Addedcore-util-is@1.0.2(transitive)
+ Addedcssom@0.2.50.3.8(transitive)
+ Addedcssstyle@0.2.37(transitive)
+ Addedd3@3.3.13(transitive)
+ Addeddagre@0.3.4(transitive)
+ Addeddashdash@1.14.1(transitive)
+ Addeddelayed-stream@1.0.0(transitive)
+ Addedecc-jsbn@0.1.2(transitive)
+ Addedextend@3.0.2(transitive)
+ Addedextsprintf@1.3.0(transitive)
+ Addedfast-deep-equal@3.1.3(transitive)
+ Addedfast-json-stable-stringify@2.1.0(transitive)
+ Addedfile-uri-to-path@1.0.0(transitive)
+ Addedforever-agent@0.6.1(transitive)
+ Addedform-data@2.3.3(transitive)
+ Addedgetpass@0.1.7(transitive)
+ Addedhar-schema@2.0.0(transitive)
+ Addedhar-validator@5.1.5(transitive)
+ Addedhtmlparser@1.7.7(transitive)
+ Addedhttp-signature@1.2.0(transitive)
+ Addedis-typedarray@1.0.0(transitive)
+ Addedisstream@0.1.2(transitive)
+ Addedjsbn@0.1.1(transitive)
+ Addedjsdom@0.5.7(transitive)
+ Addedjson-schema@0.4.0(transitive)
+ Addedjson-schema-traverse@0.4.1(transitive)
+ Addedjson-stringify-safe@5.0.1(transitive)
+ Addedjsprim@1.4.2(transitive)
+ Addedmime-db@1.52.0(transitive)
+ Addedmime-types@2.1.35(transitive)
+ Addednan@2.22.0(transitive)
+ Addednwmatcher@1.3.9(transitive)
+ Addedoauth-sign@0.9.0(transitive)
+ Addedperformance-now@2.1.0(transitive)
+ Addedpsl@1.9.0(transitive)
+ Addedpunycode@2.3.1(transitive)
+ Addedqs@6.5.3(transitive)
+ Addedrequest@2.88.2(transitive)
+ Addedsafe-buffer@5.2.1(transitive)
+ Addedsafer-buffer@2.1.2(transitive)
+ Addedsshpk@1.18.0(transitive)
+ Addedtough-cookie@2.5.0(transitive)
+ Addedtunnel-agent@0.6.0(transitive)
+ Addedtweetnacl@0.14.5(transitive)
+ Addeduri-js@4.4.1(transitive)
+ Addeduuid@3.4.0(transitive)
+ Addedverror@1.10.0(transitive)
- Removeddagre@0.3.3(transitive)
Updateddagre@0.3.4