def METHOD_NAME(self) -> tuple[list[Vertex], list[float]]:
    res = tuple(map(list, zip(*((node, dist) for node, dist in self.edges.items()))))
    return res if len(res) > 0 else ([], [])  # type: ignore