code: def barbell():
      graph = nx.barbell_graph(m1=10, m2=11)
      for i, (src, tgt) in enumerate(graph.edges):
          graph[src][tgt]["weight"] = (i + 1) / 5
      return StellarGraph.from_networkx(graph)
  
imports: from stellargraph import StellarGraph, StellarDiGraph, IndexedArray
  import networkx
  import pandas
  import numpy
  import random
  import pytest
label_desc: Use image node_id 16 for calling a global function with example usage: barbell() and returns: StellarGraph