code: def test_non_numeric_ordering():
      G = MultiDiGraph([("a", "b"), ("b", "c"), ("c", "a")])
      s = scale_free_graph(3, initial_graph=G)
      assert len(s) == 3
      assert len(s.edges) == 3
  
file_path: networkx/networkx/generators/tests/test_directed.py
imports: import pytest
  import networkx
  from networkx.classes import Graph, MultiDiGraph
  from networkx.generators.directed import gn_graph, gnc_graph, gnr_graph, random_k_out_graph, random_uniform_k_out_graph, scale_free_graph
label_desc: Use image node_id 2 for calling a global function with example usage: test_non_numeric_ordering() without return types