Skip to content

Commit dc7ae1e

Browse files
output edge weights in graph dot format (#1931)
1 parent a07eee1 commit dc7ae1e

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

zenoh/src/net/protocol/network.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -238,10 +238,7 @@ impl Network {
238238
}
239239

240240
pub(crate) fn dot(&self) -> String {
241-
std::format!(
242-
"{:?}",
243-
petgraph::dot::Dot::with_config(&self.graph, &[petgraph::dot::Config::EdgeNoLabel])
244-
)
241+
std::format!("{:?}", petgraph::dot::Dot::new(&self.graph))
245242
}
246243

247244
#[inline]

0 commit comments

Comments
 (0)