refactor: rename member to better reflect usage
comments to clarify modifications needed for weighted edges