RadialLayout constructor

RadialLayout({
  1. List<SNumber> center = const [SNumber.percent(50), SNumber(50, true)],
  2. num linkDistance = 30,
  3. int maxIteration = 500,
  4. GraphNode? focusNode,
  5. num? radiusGap = 30,
  6. bool preventOverlap = false,
  7. Fun1<GraphNode, Size>? sizeFun,
  8. num nodeGap = 0,
  9. int maxPreventOverlapIteration = 100,
  10. bool strictRadial = true,
  11. num sortStrength = 10,
  12. Fun2<Graph, List<GraphNode>, Map<GraphNode, num>>? sort,
  13. bool workerThread = false,
})

Implementation

RadialLayout({
  this.center = const [SNumber.percent(50), SNumber(50, true)],
  this.linkDistance = 30,
  this.maxIteration = 500,
  this.focusNode,
  this.radiusGap = 30,
  this.preventOverlap = false,
  this.sizeFun,
  this.nodeGap = 0,
  this.maxPreventOverlapIteration = 100,
  this.strictRadial = true,
  this.sortStrength = 10,
  super.sort,
  super.workerThread,
});