code: public void setRootComponent(final MvcComponent component) {
          if (uiThreadRunner.isOnUiThread()) {
              try {
                  graph.setRootComponent(component);
              } catch (Graph.IllegalRootComponentException e) {
                  throw new MvcGraphException(e.getMessage(), e);
              }
          } else {
              uiThreadRunner.post(new Runnable() {
                  @Override
                  public void run() {
                      try {
                          graph.setRootComponent(component);
                      } catch (Graph.IllegalRootComponentException e) {
                          throw new MvcGraphException(e.getMessage(), e);
                      }
                  }
              });
          }
      }
docs: Add {@link Component} to the graph.
  
  @param component The root {@link Component} of this graph.