code: public static <T extends WindupVertexFrame> WindupVertexFrame removeTypeFromModel(GraphContext graphContext, WindupVertexFrame frame, Class<T> type)
      {
          Vertex vertex = frame.getElement();
          graphContext.getGraphTypeManager().removeTypeFromElement(type, vertex);
          return graphContext.getFramed().frameElement(vertex, WindupVertexFrame.class);
      }
docs: Removes the specified type from the frame.