Added directive support to state diagrams

Fixed an issue with markerUnits: (default is 'strokeWidth' not 0
This commit is contained in:
chris moran
2020-07-27 19:44:45 -04:00
parent 4ee65822aa
commit 0299ff0a79
4 changed files with 65 additions and 4 deletions

View File

@@ -240,7 +240,7 @@ const barb = (elem, type) => {
.attr('refY', 7)
.attr('markerWidth', 20)
.attr('markerHeight', 14)
.attr('markerUnits', 0)
.attr('markerUnits', 'strokeWidth')
.attr('orient', 'auto')
.append('path')
.attr('d', 'M 19,7 L9,13 L14,7 L9,1 Z');