mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-19 15:30:03 +02:00
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:
@@ -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'){
|
||||
|
Reference in New Issue
Block a user