code: def get_supervertex(sv_configs: CfgNode) -> SuperVertexParaSetting:
      """Get supervertex parameter setting from configurations."""
  
      exter_list = sv_configs.EXTER_AGG_CHANNELS_LIST
  
      if len(exter_list):
          exter_dict = {k: v for k, v in exter_list}
  
          return SuperVertexParaSetting(
              sv_configs.NAME,
              sv_configs.INTER_FEAT_CHANNELS,
              sv_configs.INTER_AGG_CHANNELS_LIST,
              exter_agg_channels_dict=exter_dict,
              mode=sv_configs.MODE,
          )
  
      return SuperVertexParaSetting(
          sv_configs.NAME,
          sv_configs.INTER_FEAT_CHANNELS,
          sv_configs.INTER_AGG_CHANNELS_LIST,
      )
  
imports: from yacs.config import CfgNode
  from kale.predict.decode import GripNetLinkPrediction
  from kale.prepdata.supergraph_construct import SuperGraph, SuperVertexParaSetting
label_desc: Use image node_id 1 for calling a global function with example usage: get_supervertex(sv_configs) and returns: SuperVertexParaSetting, SuperVertexParaSetting