Graphs use (not named) tuples for speed and space. Added weighted score to handle types of objects.