Better graphviz debugging (include values)
[?]
Feb 10, 2021, 9:25 PM
QBDBAQXYIPEJMYZMHQ3URXTNL2D2JHKZQVRG6YSOG36XKHSBFUBQCDependencies
Change contents
- replacement in sanakirja/src/debug.rs at line 105
while let Some((key, _, r)) = P::next(txn, *p, &mut cursor) {while let Some((key, val, r)) = P::next(txn, *p, &mut cursor) { - replacement in sanakirja/src/debug.rs at line 117
writeln!(buf, "n_{}_{}[label=\"{}: {:?}\"];", p.offset, i, i, key).unwrap();writeln!(buf,"n_{}_{}[label=\"{}: {:?} -> {:?}\"];",p.offset, i, i, key, val).unwrap();