mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-17 14:29:48 +02:00
Styles on links
This commit is contained in:
@@ -62,8 +62,9 @@ exports.addLink = function (start, end, type, linktext) {
|
||||
* @param style
|
||||
*/
|
||||
exports.updateLink = function (pos, style) {
|
||||
console.log('Updating '+pos+'link:'+style);
|
||||
var position = pos.substr(1);
|
||||
edges[position].style = style;
|
||||
edges[pos].style = style;
|
||||
};
|
||||
|
||||
exports.addClass = function (id, style) {
|
||||
|
Reference in New Issue
Block a user