code: def flatten_vertex_structure(
      vertex: Vertex, id_col: str = "id", label_col: str = "label"
  ) -> dict:
      return {id_col: vertex.id, label_col: vertex.label}
  
imports: from typing import Any, Callable, Iterable, List, Optional, Set, Union, TYPE_CHECKING
  import os, pandas
  from .Plottable import Plottable
  from .util import setup_logger
label_desc: Use image node_id 11 for calling a global function with example usage: flatten_vertex_structure(vertex, id_col, label_col) and returns: dict