examples/visualize_cg.py