For 3D I’d run a clustering algo across the graph and use the Z axis to background “far” clusters.
I’m imagining a typical graph might end up looking a bit like this: https://upload.wikimedia.org/wikipedia/commons/thumb/8/81/07... in which case I’d want to have whatever cluster/file/method/object I’m focused on front and center with some visual cues like low-contrast and z-axis perspective that preserves edges to show the “far” clusters that interact with the focal point.
edit to add: as per usual, naming the clusters automatically might be hard.