nodeSize property

double get nodeSize

Size of the node based on interaction count.

Implementation

double get nodeSize {
  if (interactionCount == 0) return 30.0;
  if (interactionCount < 5) return 40.0;
  if (interactionCount < 20) return 50.0;
  return 60.0;
}