Step IRI generation
Closed this issue · 1 comments
JervenBolleman commented
We need to figure out how to generate an IRI from a step. This requires at least two components. The name of the path, and either an ordinal offset or rank (step number in the path).
For the first we can use odgi::get_path_name
.
To find the ordinal I don't yet know how to do it.
JervenBolleman commented
We run through the objects and count from the start to generate the step IRI.
This can lead to non optimal query response times but that is a limitation of Odgi.
If it does not track step position or rank then we can't use an index for it.