(edge: &Edge, indent: usize)
| 350 | } |
| 351 | |
| 352 | fn print_edge(edge: &Edge, indent: usize) { |
| 353 | if let Some(identifier) = &edge.identifier { |
| 354 | debug!("{}Identifier: {}", get_indent(indent), identifier); |
| 355 | } |
| 356 | |
| 357 | if !edge.labels.is_empty() { |
| 358 | debug!("{}Labels: [{}]", get_indent(indent), edge.labels.join(", ")); |
| 359 | } |
| 360 | |
| 361 | debug!("{}Direction: {:?}", get_indent(indent), edge.direction); |
| 362 | |
| 363 | if let Some(properties) = &edge.properties { |
| 364 | debug!("{}Properties", get_indent(indent)); |
| 365 | print_property_map(properties, indent + 1); |
| 366 | } |
| 367 | } |
| 368 | |
| 369 | fn print_property_map(prop_map: &PropertyMap, indent: usize) { |
| 370 | for property in &prop_map.properties { |
no test coverage detected