Graph<N, L, D>.base constructor

Graph<N, L, D>.base({
  1. required String id,
  2. required List<Node<N, L>> nodes,
  3. required List<Link<N, L>> links,
  4. required TypedAccessorFn<Node<N, L>, D> nodeDomainFn,
  5. required TypedAccessorFn<Link<N, L>, D> linkDomainFn,
  6. required TypedAccessorFn<Node<N, L>, num?> nodeMeasureFn,
  7. required TypedAccessorFn<Link<N, L>, num?> linkMeasureFn,
  8. required TypedAccessorFn<Node<N, L>, Color>? nodeColorFn,
  9. required TypedAccessorFn<Node<N, L>, Color>? nodeFillColorFn,
  10. required TypedAccessorFn<Node<N, L>, FillPatternType>? nodeFillPatternFn,
  11. required TypedAccessorFn<Node<N, L>, num>? nodeStrokeWidthPxFn,
  12. required TypedAccessorFn<Link<N, L>, Color>? linkFillColorFn,
})

Implementation

Graph.base({
  required this.id,
  required this.nodes,
  required this.links,
  required this.nodeDomainFn,
  required this.linkDomainFn,
  required this.nodeMeasureFn,
  required this.linkMeasureFn,
  required this.nodeColorFn,
  required this.nodeFillColorFn,
  required this.nodeFillPatternFn,
  required this.nodeStrokeWidthPxFn,
  required this.linkFillColorFn,
});