GraphComponent constructor
GraphComponent({
- required dynamic data,
- required GraphAlgorithm algorithm,
- required BuildContext context,
- required DataConvertor convertor,
- Options? options,
Implementation
GraphComponent({
required this.data,
required this.algorithm,
required this.context,
required this.convertor,
Options? options,
}) {
super.camera = CameraComponent(world: world)..ancestors(includeSelf: true);
this.options = options ?? Options();
}