Text this: Homology classification of spatial graphs by linking numbers and Simon invariants