Expand description
Id relativization: rewrite absolute file-path node ids to portable
{target}/rel / {root}/rel tokens (and follow them through edges, parents,
cycle node lists, and external path attributes), so a snapshot is
machine-independent.
Functionsยง
- relativize_
graph - Relativize a structural
Graphin place (before cycles are computed): file node ids (absolute paths) become{target}/rel/{root}/rel, edge endpoints and node parents follow, externalpathattributes are relativized, and redundant/emptypathattributes are dropped. - relativize_
level - Rewrite a file-based level graph from absolute paths to relativized ids: