code: def test_debc011_traverse_with_tuples():
      c, c1, c2, c3, c4, c5 = nested_tree()
      c2.children = tuple(c2.children)
      c.children = tuple(c.children)
      elements = [i for i in c._traverse()]
      assert elements == list(c.children) + [c3] + [c2] + list(
          c2.children
      )
  
imports: import json
  import plotly
  import pytest
  from dash import __version__, Dash
  from dash import html
  from dash.development.base_component import Component
  from dash import dcc, Input, Output
label_desc: Use image node_id 12 for calling a global function with example usage: test_debc011_traverse_with_tuples() without return types