EdgeComponent constructor

EdgeComponent(
  1. Edge edge,
  2. Graph graph,
  3. BuildContext context
)

Implementation

EdgeComponent(this.edge, this.graph, this.context)
    : super(
        position: edge.start.cpn?.position ?? Vector2.zero(),
        anchor: Anchor.centerLeft,
      );