INNER CODE UNIT · Dart
maxX
nabil6391/graphview · lib/Graph.dart:244
maxX = max(maxX, node.x + node.width);
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,