diff --git a/bower.json b/bower.json index b57bb603..f8beddfc 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "dagre", - "version": "1.0.5-pre", + "version": "1.0.6", "main": [ "dist/dagre.core.js" ], diff --git a/dist/dagre.js b/dist/dagre.js index 80d95e1d..2d6257c8 100644 --- a/dist/dagre.js +++ b/dist/dagre.js @@ -2193,7 +2193,7 @@ function positionY(g) { borderTopSeen = true; labelheight = node.labelheight; } - node.y = prevY + maxHeight / 2 + node.y = prevY + maxHeight / 2; }); if (borderTopSeen) { @@ -2979,7 +2979,7 @@ function zipObject(props, values) { } },{"@dagrejs/graphlib":29}],28:[function(require,module,exports){ -module.exports = "1.0.5-pre"; +module.exports = "1.0.6"; },{}],29:[function(require,module,exports){ /** diff --git a/dist/dagre.min.js b/dist/dagre.min.js index f3bd25a0..02cc10c8 100644 --- a/dist/dagre.min.js +++ b/dist/dagre.min.js @@ -502,7 +502,7 @@ function addWhimBorderNode(g,prefix,labelHeight){const node={width:0,height:0,wh /* * Returns a new function that wraps `fn` with a timer. The wrapper logs the * time it takes to execute the function. - */function time(name,fn){let start=Date.now();try{return fn()}finally{console.log(name+" time: "+(Date.now()-start)+"ms")}}function notime(name,fn){return fn()}let idCounter=0;function uniqueId(prefix){var id=++idCounter;return toString(prefix)+id}function range(start,limit,step=1){if(limit==null){limit=start;start=0}let endCon=i=>ilimitval[funcOrProp]}return Object.entries(obj).reduce((acc,[k,v])=>{acc[k]=func(v,k);return acc},{})}function zipObject(props,values){return props.reduce((acc,key,i)=>{acc[key]=values[i];return acc},{})}},{"@dagrejs/graphlib":29}],28:[function(require,module,exports){module.exports="1.0.5-pre"},{}],29:[function(require,module,exports){ + */function time(name,fn){let start=Date.now();try{return fn()}finally{console.log(name+" time: "+(Date.now()-start)+"ms")}}function notime(name,fn){return fn()}let idCounter=0;function uniqueId(prefix){var id=++idCounter;return toString(prefix)+id}function range(start,limit,step=1){if(limit==null){limit=start;start=0}let endCon=i=>ilimitval[funcOrProp]}return Object.entries(obj).reduce((acc,[k,v])=>{acc[k]=func(v,k);return acc},{})}function zipObject(props,values){return props.reduce((acc,key,i)=>{acc[key]=values[i];return acc},{})}},{"@dagrejs/graphlib":29}],28:[function(require,module,exports){module.exports="1.0.6"},{}],29:[function(require,module,exports){ /** * Copyright (c) 2014, Chris Pettitt * All rights reserved. diff --git a/lib/version.js b/lib/version.js index d4eed649..8b89e07a 100644 --- a/lib/version.js +++ b/lib/version.js @@ -1 +1 @@ -module.exports = "1.0.5-pre"; +module.exports = "1.0.6"; diff --git a/package-lock.json b/package-lock.json index fd360945..a4b93ca5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@whimsicalcode/dagre", - "version": "1.0.5-pre", + "version": "1.0.6", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@whimsicalcode/dagre", - "version": "1.0.5-pre", + "version": "1.0.6", "license": "MIT", "dependencies": { "@dagrejs/graphlib": "2.1.13" diff --git a/package.json b/package.json index 9f5ed8d7..469d0621 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@whimsicalcode/dagre", - "version": "1.0.5-pre", + "version": "1.0.6", "description": "Graph layout for JavaScript", "author": "Chris Pettitt ", "contributors": [