Skip to content

Commit

Permalink
Prep v0.4.1 release
Browse files Browse the repository at this point in the history
  • Loading branch information
cpettitt committed Jan 3, 2015
1 parent 7b0ee00 commit af27e34
Show file tree
Hide file tree
Showing 7 changed files with 52 additions and 14 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "dagre-d3",
"version": "0.4.0",
"version": "0.4.1",
"main": [
"dist/dagre-d3.core.js",
"dist/dagre-d3.core.min.js"
Expand Down
23 changes: 21 additions & 2 deletions dist/dagre-d3.core.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ var util = require("./util");
module.exports = {
"default": normal,
"normal": normal,
"vee": vee
"vee": vee,
"undirected": undirected
};

function normal(parent, id, edge, type) {
Expand Down Expand Up @@ -75,6 +76,24 @@ function vee(parent, id, edge, type) {
util.applyStyle(path, edge[type + "Style"]);
}

function undirected(parent, id, edge, type) {
var marker = parent.append("marker")
.attr("id", id)
.attr("viewBox", "0 0 10 10")
.attr("refX", 9)
.attr("refY", 5)
.attr("markerUnits", "strokeWidth")
.attr("markerWidth", 8)
.attr("markerHeight", 6)
.attr("orient", "auto");

var path = marker.append("path")
.attr("d", "M 0 5 L 10 5")
.style("stroke-width", 1)
.style("stroke-dasharray", "1,0");
util.applyStyle(path, edge[type + "Style"]);
}

},{"./util":25}],3:[function(require,module,exports){
var util = require("./util");

Expand Down Expand Up @@ -1050,7 +1069,7 @@ function applyTransition(selection, g) {
}

},{"./lodash":20}],26:[function(require,module,exports){
module.exports = "0.4.0";
module.exports = "0.4.1";

},{}]},{},[1])(1)
});
2 changes: 1 addition & 1 deletion dist/dagre-d3.core.min.js

Large diffs are not rendered by default.

23 changes: 21 additions & 2 deletions dist/dagre-d3.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ var util = require("./util");
module.exports = {
"default": normal,
"normal": normal,
"vee": vee
"vee": vee,
"undirected": undirected
};

function normal(parent, id, edge, type) {
Expand Down Expand Up @@ -75,6 +76,24 @@ function vee(parent, id, edge, type) {
util.applyStyle(path, edge[type + "Style"]);
}

function undirected(parent, id, edge, type) {
var marker = parent.append("marker")
.attr("id", id)
.attr("viewBox", "0 0 10 10")
.attr("refX", 9)
.attr("refY", 5)
.attr("markerUnits", "strokeWidth")
.attr("markerWidth", 8)
.attr("markerHeight", 6)
.attr("orient", "auto");

var path = marker.append("path")
.attr("d", "M 0 5 L 10 5")
.style("stroke-width", 1)
.style("stroke-dasharray", "1,0");
util.applyStyle(path, edge[type + "Style"]);
}

},{"./util":25}],3:[function(require,module,exports){
var util = require("./util");

Expand Down Expand Up @@ -1050,7 +1069,7 @@ function applyTransition(selection, g) {
}

},{"./lodash":20}],26:[function(require,module,exports){
module.exports = "0.4.0";
module.exports = "0.4.1";

},{}],27:[function(require,module,exports){
/*
Expand Down
10 changes: 5 additions & 5 deletions dist/dagre-d3.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lib/version.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
module.exports = "0.4.1-pre";
module.exports = "0.4.1";
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "dagre-d3",
"version": "0.4.1-pre",
"version": "0.4.1",
"description": "A D3-based renderer for Dagre",
"author": "Chris Pettitt <chris@samsarin.com>",
"keywords": [
Expand Down Expand Up @@ -38,4 +38,4 @@
"url": "https://github.com/cpettitt/dagre-d3.git"
},
"license": "MIT"
}
}

0 comments on commit af27e34

Please sign in to comment.