code: def hyperbinding(
      g, defs, entities, event_entities, edges, source, destination
  ):
      nodes = pd.concat(
          [entities, event_entities], ignore_index=True, sort=False
      ).reset_index(drop=True)
      return {
          "entities": entities,
          "events": event_entities,
          "edges": edges,
          "nodes": nodes,
          "graph": g.bind(source=source, destination=destination)
          .edges(edges)
          .bind(node=defs.node_id, point_title=defs.title)
          .nodes(nodes),
      }
  
imports: from typing import TYPE_CHECKING, Any, Dict, List, Optional
  from .Engine import Engine, DataframeLike, DataframeLocalLike
  import numpy, pandas, pyarrow, sys
  from .util import setup_logger
label_desc: Use image node_id 18 for calling a global function with example usage: hyperbinding(g, defs, entities, event_entities, edges, source, destination) and returns: dict