INNER CODE UNIT · Dart
maxY
nabil6391/graphview · lib/Graph.dart:245
maxY = max(maxY, node.y + node.height);
}
return Rect.fromLTRB(minX, minY, maxX, maxY);
}
/// Returns the total size of the graph based on its bounding rectangle.
Size calculateGraphSize() {
final bounds = calculateGraphBounds();
return bounds.size;
}
}
/// Visual style for edge and connection lines.
enum LineType {
/// Solid continuous line.
Default,
/// Dotted line with small circle segments.