VertexComponent constructor

VertexComponent(
  1. Vertex vertex,
  2. Graph graph,
  3. BuildContext context,
  4. GraphAlgorithm algorithm, {
  5. Options? options,
  6. GraphComponent? graphComponent,
  7. int? priority = 1,
})

Implementation

VertexComponent(
  this.vertex,
  this.graph,
  this.context,
  this.algorithm, {
  this.options,
  this.graphComponent,
  super.priority = 1,
}) : super(
        position: vertex.position,
        anchor: Anchor.center,
      );