1 2 3 4 5 6 7 8 9 10 11 12 13 14
use std::collections::HashMap; #[allow(dead_code)] pub struct Group { id: i64, nodes: Vec<i64>, min_width: f32, max_widht: f32, position: [f32; 2], width: f32, height: f32 } #[allow(dead_code)] pub type Groups = HashMap<i64, Group>;