write out the start of the subgraph cluster
(&mut self, f: &mut fmt::Formatter, title: &str)
| 50 | |
| 51 | // write out the start of the subgraph cluster |
| 52 | pub fn start_cluster(&mut self, f: &mut fmt::Formatter, title: &str) -> fmt::Result { |
| 53 | writeln!(f, " subgraph cluster_{}", self.next_id())?; |
| 54 | writeln!(f, " {{")?; |
| 55 | writeln!(f, " graph[label={}]", Self::quoted(title)) |
| 56 | } |
| 57 | |
| 58 | // write out the end of the subgraph cluster |
| 59 | pub fn end_cluster(&mut self, f: &mut fmt::Formatter) -> fmt::Result { |