summaryrefslogtreecommitdiff
path: root/graph
diff options
context:
space:
mode:
Diffstat (limited to 'graph')
-rw-r--r--graph/src/labelled/binary.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/graph/src/labelled/binary.rs b/graph/src/labelled/binary.rs
index 3b96b92..9f3afa8 100644
--- a/graph/src/labelled/binary.rs
+++ b/graph/src/labelled/binary.rs
@@ -220,7 +220,7 @@ impl<T: GraphLabel> Graph for PLGraph<T> {
for node in self.nodes() {
post.push_str(&format!(
- " {node} [label = \"{}\"]\n",
+ " {node} [label = \"{node}:{}\"]\n",
match self.vertex_label(node) {
Ok(Some(label)) => {
format!("{label}")