code: def test_node2vec_line(graph_file, directed):
      G = graph_file.get_graph(
          download=True, create_using=cugraph.Graph(directed=directed)
      )
      max_depth = 3
      start_vertices = cudf.Series([0, 3, 6], dtype="int32")
      df, seeds = calc_node2vec(
          G,
          start_vertices,
          max_depth,
          compress_result=True,
          p=0.8,
          q=0.5,
      )
  
file_path: cugraph/python/cugraph/cugraph/tests/sampling/test_node2vec.py
imports: import gc
  import random
  import pytest
  import cudf
  import cugraph
  from cugraph.datasets import small_line, karate
  from cugraph.testing import utils, SMALL_DATASETS
label_desc: Use image node_id 5 for calling a global function with example usage: test_node2vec_line(graph_file, directed) without return types