VertexComponent constructor
VertexComponent(
- Vertex vertex,
- Graph graph,
- BuildContext context,
- GraphAlgorithm algorithm, {
- Options? options,
- GraphComponent? graphComponent,
Implementation
VertexComponent(
this.vertex,
this.graph,
this.context,
this.algorithm, {
this.options,
this.graphComponent,
}) : super(
position: vertex.position,
anchor: Anchor.center,
priority: 1,
);