code: def test_visibility_graph__two_values_ts__single_edge_graph():
      edge_graph = nx.visibility_graph([10, 20])  # Two of Us
      assert list(edge_graph.edges) == [(0, 1)]
  
file_path: networkx/networkx/generators/tests/test_time_series.py
imports: import itertools
  import networkx
label_desc: Use image node_id 3 for calling a global function with example usage: test_visibility_graph__two_values_ts__single_edge_graph() without return types