finam_graph.GraphSizes#
- class finam_graph.GraphSizes(grid_size=(160, 100), component_size=(80, 60), adapter_size=(80, 30), margin=50, comp_slot_size=(30, 14), adap_slot_size=(10, 10), curve_size=20)[source]#
Bases:
object
Graph sizing properties
- Parameters:
grid_size ((int, int)) – Size of grid cells for alignment
component_size ((int, int)) – Size of component boxes
adapter_size ((int, int)) – Size of adapter boxes
margin (int) – Margin around all boxes
comp_slot_size ((int, int)) – Input and output slot size for components
adap_slot_size ((int, int)) – Input and output slot size for adapters
curve_size (int) – Connection curve “radius” (control point distance)