Positive graph dot and graphml formatting functions

This commit is contained in:
elvis
2025-10-28 22:21:09 +01:00
parent f90308a11e
commit 0700b016eb
3 changed files with 1272 additions and 209 deletions

View File

@ -704,4 +704,8 @@ impl PositiveSet {
.collect::<PositiveSet>()
.union(self)
}
pub fn elements(&self) -> Set {
self.iter().map(|el| *el.0).collect::<Vec<_>>().into()
}
}