code: def test_build_full_outs(repo, granular):
      target = "h" if granular else "3"
      graph = _build(repo, target=target, outs=True, full=True)
      assert set(graph.nodes()) == {
          "j",
          "i",
          "d",
          "b",
          "g",
          "f",
          "e",
          "a",
          "h",
      }
      assert set(graph.edges()) == {
          ("d", "a"),
          ("e", "a"),
          ("f", "b"),
          ("g", "b"),
          ("h", "a"),
          ("h", "b"),
          ("i", "a"),
          ("i", "b"),
          ("j", "a"),
          ("j", "h"),
      }
  
file_path: dvc/tests/unit/command/test_dag.py
imports: import networkx
  import pytest
  from dvc.cli import main, parse_args
  from dvc.commands.dag import CmdDAG, _build, _show_ascii, _show_dot, _show_mermaid
label_desc: Use image node_id 8 for calling a global function with example usage: test_build_full_outs(repo, granular) without return types