Comparing version 0.0.1 to 0.0.2
@@ -0,1 +1,6 @@ | ||
v0.0.2 | ||
====== | ||
* Pull in dagre v0.3.1, which includes support for rank constraints. | ||
v0.0.1 | ||
@@ -2,0 +7,0 @@ ====== |
@@ -107,3 +107,4 @@ var layout = require("dagre").layout; | ||
.selectAll("g .node") | ||
.data(graph.nodes()) | ||
// Only include non-subgraph nodes | ||
.data(graph.nodes().filter(function(u) { return !graph.children(u).length; })) | ||
.enter() | ||
@@ -110,0 +111,0 @@ .append("g") |
@@ -1,1 +0,1 @@ | ||
module.exports = '0.0.1'; | ||
module.exports = '0.0.2'; |
{ | ||
"name": "dagre-d3", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "A D3-based renderer for Dagre", | ||
@@ -14,3 +14,3 @@ "keywords": [ | ||
"chai": "1.7.x", | ||
"graphlib-dot": "0.4.1", | ||
"graphlib-dot": "0.4.8", | ||
"mocha": "1.12.x", | ||
@@ -21,4 +21,5 @@ "semver": "2.1.x", | ||
"dependencies": { | ||
"graphlib": "0.5.7", | ||
"dagre": "0.3.x" | ||
"cp-data": "1.1.0", | ||
"graphlib": "0.7.0", | ||
"dagre": "~0.3.1" | ||
}, | ||
@@ -25,0 +26,0 @@ "author": "Chris Pettitt <chris@samsarin.com>", |
@@ -122,3 +122,3 @@ # dagre-d3 - A D3-based renderer for Dagre | ||
g.addEdge(null, "hford", "lwilson", { label: "Anchorman 2" }); | ||
g.addEdge(null, "oplat", "kbacon", { label: "Telling Lies in America" }); | ||
g.addEdge(null, "lwilson", "kbacon", { label: "Telling Lies in America" }); | ||
``` | ||
@@ -148,3 +148,3 @@ | ||
TBD | ||
![oracle-of-bacon1.png](http://cpettitt.github.io/project/dagre-d3/static/oracle-of-bacon1.png) | ||
@@ -166,5 +166,5 @@ ### Configuring the Layout | ||
```js | ||
var layout = dagre.layout() | ||
.nodeSep(20) | ||
.rankDir("LR"); | ||
var layout = dagreD3.layout() | ||
.nodeSep(20) | ||
.rankDir("LR"); | ||
render.layout(layout).run(g, d3.select("svg g")); | ||
@@ -175,3 +175,3 @@ ``` | ||
TBD | ||
![oracle-of-bacon2.png](http://cpettitt.github.io/project/dagre-d3/static/oracle-of-bacon2.png) | ||
@@ -178,0 +178,0 @@ ## License |
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
19086
3
9
346
+ Addedcp-data@1.1.0
- Removedgraphlib@0.5.7(transitive)
Updateddagre@~0.3.1
Updatedgraphlib@0.7.0