Skip to content

Commit 83f8305

Browse files
committed
fix: Setting the EdgeInput type to EdgeArrowType.both has no effect #35
fix #35 The _defaultStyleBuilder method receives an instance of Edge but does not pass the arrowType configuration to the EdgeStyle.
1 parent e0d80f8 commit 83f8305

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/graphite_edges_painter.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import 'package:graphite/graphite_typings.dart';
77
import 'package:touchable/touchable.dart';
88

99
EdgeStyle _defaultStyleBuilder(Edge edge) {
10-
return EdgeStyle();
10+
return EdgeStyle(arrowType: edge.arrowType);
1111
}
1212

1313
class LinesPainter extends CustomPainter {

0 commit comments

Comments
 (0)