Changes FrameTransformTree to use GraphName instead of FrameName

After this change, we still support both tf and tf2.