VertexComponent constructor

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

Implementation

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