(self)
| 107 | } |
| 108 | |
| 109 | pub fn show(self) { |
| 110 | |
| 111 | let conf = Conf { |
| 112 | window_title: self.graph_desc.title.clone(), |
| 113 | window_width: 395, |
| 114 | window_height: 395, |
| 115 | ..Default::default() |
| 116 | }; |
| 117 | litequad::Window::from_config(conf, render::graph::run(self)); |
| 118 | } |
| 119 | } |
| 120 | |
| 121 | fn count_nodes_in_layers(layers: &[Layer]) -> usize { |