INNER CODE UNIT · Dart
EdgeRender
nabil6391/graphview · lib/GraphView.dart:1336
class EdgeRender extends CustomPainter {
Algorithm algorithm;
Graph graph;
Offset offset;
Paint? customPaint;
EdgeRender(this.algorithm, this.graph, this.offset, this.customPaint);
@override
void paint(Canvas canvas, Size size) {
var edgePaint = customPaint ??
(Paint()
..color = Colors.black
..strokeWidth = 3
..style = PaintingStyle.stroke
..strokeCap = StrokeCap.butt);
canvas.save();