code: def generate_graph_data(num_nodes, random_seed):
      """Generates a graph of 10k nodes with a 3D force layout
  
      This function is unused but serves as an example of how the data in
      this visualization was generated
      """
      import networkx as nx  # noqa
  
      g = nx.random_internet_as_graph(num_nodes, random_seed)
      node_positions = nx.fruchterman_reingold_layout(g, dim=3)
  
      force_layout_df = pd.DataFrame.from_records(
          node_positions
      ).transpose()
      force_layout_df["group"] = [d[1]["type"] for d in g.nodes.data()]
      force_layout_df.columns = ["x", "y", "z", "group"]
      return force_layout_df
  
imports: import pydeck
  import pandas
label_desc: Use image node_id 1 for calling a global function with example usage: generate_graph_data(num_nodes, random_seed) and returns: force_layout_df