Definition of "Inverse" / Inverting from a Graph