Release 0.2.5

* Support for new shapes circle,  irregular rectangle
* Support for styling of links
* Support for newlines in texts
* Centered text on links
* Shaded background for text on links
* Support for click on nodes
This commit is contained in:
knsv
2014-11-27 21:28:04 +01:00
parent 18be0e02aa
commit 9a35844731
8 changed files with 21 additions and 21 deletions

View File

@@ -22,7 +22,7 @@ var addVertices = function (vert, g) {
}
return styleStr;
}
};
// Iterate through each item in the vertice object (containing all the vertices found) in the graph definition
keys.forEach(function (id) {
@@ -92,6 +92,7 @@ var addVertices = function (vert, g) {
*/
var addEdges = function (edges, g) {
var cnt=0;
var aHead;
edges.forEach(function (edge) {
cnt++;
@@ -292,7 +293,7 @@ var init = function () {
}
}
;
};
/**
@@ -300,8 +301,8 @@ var init = function () {
* @returns {string}
*/
exports.version = function(){
return '0.2.4';
}
return '0.2.5';
};
var equals = function (val, variable){
if(typeof variable === 'undefined'){