some potentially useful graph and tree stuff