Change `explode` and `explode_layers` to use graph views instead of magic options on the edge ref
Open
@ljeub-pometry is already working on this.
Since Dec 9, 2024.
Bug
Rust Core
Semantics/API
- Dominant language
- Rust
- Stars
- 642
- Forks
- 70
- Avg merge
- 2d 13h
- Merged PRs (30d)
- 21
Description
The fact that edges have two ways of specifying time and layer bounds causes a bunch of weird inconsistencies, e.g.:
let g = Graph::new();
let e1 = g.add_edge(0, 1, 2, NO_PROPS, Some("1")).unwrap();
let e2 = g.add_edge(1, 1, 3, NO_PROPS, Some("2")).unwrap();
assert!(e1.has_layer("2"));
assert!(e1.layers("2").unwrap().history().is_empty());
currently passes even though e1 is a view of the edge in layer "1"
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.