code: def add_graph_div(n_clicks: int, div_children: List[html.Div]):
      uid = str(uuid4())
      new_child = html.Div(
          children=[
              dcc.Graph(
                  id={"type": "dynamic-graph", "index": uid},
                  figure=go.Figure(),
              ),
              # Note: we also add a dcc.Store component, which will be used to link the
              #       server side cached FigureResampler object
              dcc.Loading(
                  dcc.Store(id={"type": "store", "index": uid})
              ),
              # This dcc.Interval components makes sure that the `construct_display_graph`
              # callback is fired once after these components are added to the session
              # its front-end
              dcc.Interval(
                  id={"type": "interval", "index": uid},
                  max_intervals=1,
                  interval=1,
              ),
          ],
      )
      div_children.append(new_child)
      return div_children
  
file_path: plotly-resampler/examples/dash_apps/03_minimal_cache_dynamic.py
imports: from typing import List
  from uuid import uuid4
  import numpy
  import plotly.graph_objects
  from dash import MATCH, Input, Output, State, dcc, html, no_update
  from dash_extensions.enrich import DashProxy, Serverside, ServersideOutputTransform, Trigger, TriggerTransform
  from plotly_resampler import FigureResampler
  from plotly_resampler.aggregation import MinMaxLTTB
label_desc: Use image node_id 1 for calling a global function with example usage: add_graph_div(n_clicks, div_children) and returns: div_children