pub fn resolve_link(source_file: &str, raw_target: &str) -> String
Resolve a link target relative to a source file, producing a path relative to the graph root. Uses Path::join for correct platform-aware path handling.