code: def test_get_layout():
      from vispy.visuals.graphs.layouts.random import random
  
      # Simple retrieval
      assert_equal(random, get_layout("random"))
  
      # Pass arguments
      fruchterman_reingold = get_layout(
          "force_directed", iterations=100
      )
      assert_equal(fruchterman_reingold.iterations, 100)
  
      # Check if layout exists
      assert_raises(KeyError, get_layout, "fdgdfgs_non_existent")
  
imports: import numpy
  from numpy.testing import assert_allclose, assert_equal
  from vispy.visuals.graphs.layouts import get_layout
  from vispy.testing import run_tests_if_main, assert_raises
label_desc: Use image node_id 1 for calling a global function with example usage: test_get_layout() without return types