code: def _graph(shape):
      nodes = np.arange(np.product(shape)).reshape(shape)
      return StellarGraph(nodes=nodes)
  
file_path: stellargraph/tests/mapper/test_sliding.py
imports: import numpy
  import pytest
  from stellargraph import StellarGraph
  from stellargraph.mapper import SlidingFeaturesNodeGenerator, SlidingFeaturesNodeSequence
  from ..test_utils.graphs import example_graph, example_hin_1
label_desc: Use image node_id 2 for calling a global function with example usage: _graph(shape) and returns: StellarGraph