(&self, f: &mut fmt::Formatter<'_>)
| 461 | |
| 462 | impl fmt::Display for ProvenanceGraph { |
| 463 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { |
| 464 | writeln!( |
| 465 | f, |
| 466 | "ProvenanceGraph — {} · {} nodes · {} edges · {} changes", |
| 467 | self.agent_display_name, |
| 468 | self.node_count(), |
| 469 | self.edge_count(), |
| 470 | self.change_count(), |
| 471 | )?; |
| 472 | |
| 473 | let goals = self.nodes_of_kind(ProvenanceNodeKind::Goal); |
| 474 | for goal in &goals { |
| 475 | writeln!(f, " Goal: {}", goal.summary)?; |
| 476 | } |
| 477 | |
| 478 | writeln!(f, " {}", self.stats)?; |
| 479 | Ok(()) |
| 480 | } |
| 481 | } |
nothing calls this directly
no test coverage detected