* 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:
knsv
2014-12-09 20:42:31 +01:00
parent 6988dea353
commit 9aeff6be2d
8 changed files with 12 additions and 9 deletions

View File

@@ -103,7 +103,7 @@ exports.addEdges = function (edges, g) {
aHead = 'none';
}
else{
aHead = 'vee';
aHead = 'normal';
}
var style = '';

View File

@@ -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');
}
};