Skip to content

Commit 6b8ee20

Browse files
committed
update lib
1 parent b7d0e3e commit 6b8ee20

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

flowchart-latest.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// flowchart, v1.2.2
1+
// flowchart, v1.2.3
22
// Copyright (c)2013 Adriano Raiano (adrai).
33
// Distributed under MIT license
44
// http://adrai.github.io/flowchart.js
@@ -97,7 +97,8 @@
9797
'element-color': 'black',
9898
'fill': 'white',
9999
'yes-text': 'yes',
100-
'no-text': 'no'
100+
'no-text': 'no',
101+
'arrow-end': 'block'
101102
};
102103
function _defaults(options, defaultOptions) {
103104
if (!options || typeof options === 'function') {
@@ -176,7 +177,7 @@
176177
line.attr({
177178
stroke: chart.options['line-color'],
178179
'stroke-width': chart.options['line-width'],
179-
'arrow-end': 'block'
180+
'arrow-end': chart.options['arrow-end']
180181
});
181182

182183
if (text) {

index.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,8 @@ <h3>Usage</h3>
9090
'element-color': 'black',
9191
'fill': 'white',
9292
'yes-text': 'yes',
93-
'no-text': 'no'
93+
'no-text': 'no',
94+
'arrow-end': 'block'
9495
});
9596
&lt;/script&gt;
9697
</pre>

0 commit comments

Comments
 (0)