Can omniverse graph be exported as code?

When I added an actionGraph to a .usd file, I wondered if it can be exported to the format of python or C++ script?