EdgeConnectionsModel constructor
EdgeConnectionsModel({
- String? id,
- required NodeSocketModel source,
- required NodeSocketModel target,
- dynamic data,
- LukeEdgePainter? painter,
- bool isAnimated = false,
- double animationSpeed = 1,
Implementation
EdgeConnectionsModel({
String? id,
required this.source,
required this.target,
this.data,
this.painter,
this.isAnimated = false,
this.animationSpeed = 1,
}) {
this.id = "${source.id}-${target.id}";
}