Cherry picked most recent LineGraphLoader.r commit from branch 225, and resolved inbound merge conflicts for this specific file.