mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-23 01:09:42 +02:00
* Changed the license in package json to the correct license (MIT).
* Changed the link style from the pointed one to a more triangle formed style as default style for links * Updated the readme file regarding linkStyles to explain the magic number 3a s described in issue #41
This commit is contained in:
@@ -103,7 +103,7 @@ exports.addEdges = function (edges, g) {
|
||||
aHead = 'none';
|
||||
}
|
||||
else{
|
||||
aHead = 'vee';
|
||||
aHead = 'normal';
|
||||
}
|
||||
|
||||
var style = '';
|
||||
|
@@ -68,7 +68,7 @@ describe('when using main and ',function() {
|
||||
setEdge:function(start, end,options,name){
|
||||
expect(start).toBe('A');
|
||||
expect(end).toBe('B');
|
||||
expect(options.arrowhead).toBe('vee');
|
||||
expect(options.arrowhead).toBe('normal');
|
||||
expect(options.label.match('text ex')).toBeTruthy();
|
||||
}
|
||||
};
|
||||
@@ -85,7 +85,7 @@ describe('when using main and ',function() {
|
||||
setEdge:function(start, end,options,name){
|
||||
expect(start).toBe('A');
|
||||
expect(end).toBe('B');
|
||||
expect(options.arrowhead).toBe('vee');
|
||||
expect(options.arrowhead).toBe('normal');
|
||||
}
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user