class_docstr: Interface for any component which will run in a graph.
class_docstr_tok: ["Interface","for","any","component","which","will","run","in","a","graph","."]
docstr: Creates a new `GraphComponent`.
  
  Args:
      config: This config overrides the `default_config`.
      model_storage: Storage which graph components can use to persist and load
          themselves.
      resource: Resource locator for this component which can be used to persist
          and load itself from the `model_storage`.
      execution_context: Information about the current graph run.
  
  Returns: An instantiated `GraphComponent`.
code: def create(
      cls,
      config: Dict[Text, Any],
      model_storage: ModelStorage,
      resource: Resource,
      execution_context: ExecutionContext,
  ) -> GraphComponent:
      """Creates a new `GraphComponent`.
  
      Args:
          config: This config overrides the `default_config`.
          model_storage: Storage which graph components can use to persist and load
              themselves.
          resource: Resource locator for this component which can be used to persist
              and load itself from the `model_storage`.
          execution_context: Information about the current graph run.
  
      Returns: An instantiated `GraphComponent`.
      """
      ...
  
imports: from __future__ import annotations
  import dataclasses
  from abc import ABC, abstractmethod
  from dataclasses import dataclass, field
  import logging
  from typing import Any, Callable, Dict, List, Optional, Text, Type, Tuple, Union
  from rasa.engine.exceptions import GraphComponentException, GraphRunError, GraphSchemaException
  import rasa.shared.utils.common
  import rasa.utils.common
  from rasa.engine.storage.resource import Resource
  from rasa.engine.storage.storage import ModelStorage
  from rasa.shared.exceptions import InvalidConfigException, RasaException
  from rasa.shared.data import TrainingType
label_desc: Use image node_id 2 for calling the GraphComponent obj's underlying member method code with example usage: obj.create(cls, config, model_storage, resource, execution_context) without return types