Graph<E> constructor

Graph<E>({
  1. required List<E> items,
  2. required String? idProvider(
    1. E data
    ),
  3. required String? toProvider(
    1. E data
    ),
  4. Size boxSize = const Size(200, 100),
  5. Offset spacing = const Offset(20, 50),
  6. OrgChartOrientation orientation = OrgChartOrientation.leftToRight,
})

Implementation

Graph({
  required super.items,
  required super.idProvider,
  required super.toProvider,
  super.boxSize,
  super.spacing,
  super.orientation,
});