#usda 1.0
(
    customLayerData = {
        dictionary cameraSettings = {
            dictionary Front = {
                double3 position = (0, 0, 50000)
                double radius = 500
            }
            dictionary Perspective = {
                double3 position = (500.0000000000001, 500.0000000000001, 499.9999999999998)
                double3 target = (-0.000003978038478180679, 0.000007956076728987682, -0.0000039780385918675165)
            }
            dictionary Right = {
                double3 position = (-50000, 0, -1.1102230246251565e-11)
                double radius = 500
            }
            dictionary Top = {
                double3 position = (-4.329780281177466e-12, 50000, 1.1102230246251565e-11)
                double radius = 500
            }
            string boundCamera = "/OmniverseKit_Persp"
        }
        dictionary omni_layer = {
            string authoring_layer = "./TestCompoundSubgraph.usda"
            dictionary muteness = {
            }
        }
        dictionary renderSettings = {
        }
    }
    defaultPrim = "World"
    endTimeCode = 100
    metersPerUnit = 0.01
    startTimeCode = 0
    timeCodesPerSecond = 24
    upAxis = "Y"
)

def Xform "World"
{
    def DistantLight "defaultLight" (
        prepend apiSchemas = ["ShapingAPI"]
    )
    {
        float angle = 1
        float intensity = 3000
        float shaping:cone:angle = 180
        float shaping:cone:softness
        float shaping:focus
        color3f shaping:focusTint
        asset shaping:ies:file
        double3 xformOp:rotateXYZ = (315, 0, 0)
        double3 xformOp:scale = (1, 1, 1)
        double3 xformOp:translate = (0, 0, 0)
        uniform token[] xformOpOrder = ["xformOp:translate", "xformOp:rotateXYZ", "xformOp:scale"]
    }

    def OmniGraph "PushGraph"
    {
        token evaluationMode = "Automatic"
        token evaluator:type = "push"
        token fabricCacheBacking = "Shared"
        int2 fileFormatVersion = (1, 6)
        token pipelineStage = "pipelineStageSimulation"

        def OmniGraphNode "compound" (
            prepend apiSchemas = ["NodeGraphNodeAPI", "OmniGraphCompoundNodeAPI"]
        )
        {
            custom token inputs:a (
                customData = {
                    string ExtendedAttributeType = "Union-->uchar,int,uint,uint64,int64,double,float,half,timecode,int[2],int[3],int[4],double[2],double[3],double[4],float[2],float[3],float[4],half[2],half[3],half[4],colord[3],colord[4],colorf[3],colorf[4],colorh[3],colorh[4],normald[3],normalf[3],normalh[3],pointd[3],pointf[3],pointh[3],texcoordd[2],texcoordd[3],texcoordf[2],texcoordf[3],texcoordh[2],texcoordh[3],quatd[4],quatf[4],quath[4],vectord[3],vectorf[3],vectorh[3],matrixd[3],matrixd[4],transform[4],frame[4],uchar[],int[],uint[],uint64[],int64[],double[],float[],half[],timecode[],int[2][],int[3][],int[4][],double[2][],double[3][],double[4][],float[2][],float[3][],float[4][],half[2][],half[3][],half[4][],colord[3][],colord[4][],colorf[3][],colorf[4][],colorh[3][],colorh[4][],normald[3][],normalf[3][],normalh[3][],pointd[3][],pointf[3][],pointh[3][],texcoordd[2][],texcoordd[3][],texcoordf[2][],texcoordf[3][],texcoordh[2][],texcoordh[3][],quatd[4][],quatf[4][],quath[4][],vectord[3][],vectorf[3][],vectorh[3][],matrixd[3][],matrixd[4][],transform[4][],frame[4][]"
                    dictionary omni = {
                        dictionary graph = {
                            string attrType = "Union-->uchar,int,uint,uint64,int64,double,float,half,timecode,int[2],int[3],int[4],double[2],double[3],double[4],float[2],float[3],float[4],half[2],half[3],half[4],colord[3],colord[4],colorf[3],colorf[4],colorh[3],colorh[4],normald[3],normalf[3],normalh[3],pointd[3],pointf[3],pointh[3],texcoordd[2],texcoordd[3],texcoordf[2],texcoordf[3],texcoordh[2],texcoordh[3],quatd[4],quatf[4],quath[4],vectord[3],vectorf[3],vectorh[3],matrixd[3],matrixd[4],transform[4],frame[4],uchar[],int[],uint[],uint64[],int64[],double[],float[],half[],timecode[],int[2][],int[3][],int[4][],double[2][],double[3][],double[4][],float[2][],float[3][],float[4][],half[2][],half[3][],half[4][],colord[3][],colord[4][],colorf[3][],colorf[4][],colorh[3][],colorh[4][],normald[3][],normalf[3][],normalh[3][],pointd[3][],pointf[3][],pointh[3][],texcoordd[2][],texcoordd[3][],texcoordf[2][],texcoordf[3][],texcoordh[2][],texcoordh[3][],quatd[4][],quatf[4][],quath[4][],vectord[3][],vectorf[3][],vectorh[3][],matrixd[3][],matrixd[4][],transform[4][],frame[4][]"
                        }
                    }
                }
            )
            prepend token inputs:a.connect = </World/PushGraph/constant_double.inputs:value>
            custom token inputs:b (
                customData = {
                    string ExtendedAttributeType = "Union-->uchar,int,uint,uint64,int64,double,float,half,timecode,int[2],int[3],int[4],double[2],double[3],double[4],float[2],float[3],float[4],half[2],half[3],half[4],colord[3],colord[4],colorf[3],colorf[4],colorh[3],colorh[4],normald[3],normalf[3],normalh[3],pointd[3],pointf[3],pointh[3],texcoordd[2],texcoordd[3],texcoordf[2],texcoordf[3],texcoordh[2],texcoordh[3],quatd[4],quatf[4],quath[4],vectord[3],vectorf[3],vectorh[3],matrixd[3],matrixd[4],transform[4],frame[4],uchar[],int[],uint[],uint64[],int64[],double[],float[],half[],timecode[],int[2][],int[3][],int[4][],double[2][],double[3][],double[4][],float[2][],float[3][],float[4][],half[2][],half[3][],half[4][],colord[3][],colord[4][],colorf[3][],colorf[4][],colorh[3][],colorh[4][],normald[3][],normalf[3][],normalh[3][],pointd[3][],pointf[3][],pointh[3][],texcoordd[2][],texcoordd[3][],texcoordf[2][],texcoordf[3][],texcoordh[2][],texcoordh[3][],quatd[4][],quatf[4][],quath[4][],vectord[3][],vectorf[3][],vectorh[3][],matrixd[3][],matrixd[4][],transform[4][],frame[4][]"
                    dictionary omni = {
                        dictionary graph = {
                            string attrType = "Union-->uchar,int,uint,uint64,int64,double,float,half,timecode,int[2],int[3],int[4],double[2],double[3],double[4],float[2],float[3],float[4],half[2],half[3],half[4],colord[3],colord[4],colorf[3],colorf[4],colorh[3],colorh[4],normald[3],normalf[3],normalh[3],pointd[3],pointf[3],pointh[3],texcoordd[2],texcoordd[3],texcoordf[2],texcoordf[3],texcoordh[2],texcoordh[3],quatd[4],quatf[4],quath[4],vectord[3],vectorf[3],vectorh[3],matrixd[3],matrixd[4],transform[4],frame[4],uchar[],int[],uint[],uint64[],int64[],double[],float[],half[],timecode[],int[2][],int[3][],int[4][],double[2][],double[3][],double[4][],float[2][],float[3][],float[4][],half[2][],half[3][],half[4][],colord[3][],colord[4][],colorf[3][],colorf[4][],colorh[3][],colorh[4][],normald[3][],normalf[3][],normalh[3][],pointd[3][],pointf[3][],pointh[3][],texcoordd[2][],texcoordd[3][],texcoordf[2][],texcoordf[3][],texcoordh[2][],texcoordh[3][],quatd[4][],quatf[4][],quath[4][],vectord[3][],vectorf[3][],vectorh[3][],matrixd[3][],matrixd[4][],transform[4][],frame[4][]"
                        }
                    }
                }
            )
            prepend token inputs:b.connect = </World/PushGraph/constant_double.inputs:value>
            token node:type = "omni.graph.nodes.CompoundSubgraph"
            int node:typeVersion = 1
            rel omni:graph:compoundGraph = </World/PushGraph/compound/SubGraph_01>
            token omni:graph:compoundType = "nodetype"
            custom token outputs:sum (
                customData = {
                    string ExtendedAttributeType = "Union-->uchar,int,uint,uint64,int64,double,float,half,timecode,int[2],int[3],int[4],double[2],double[3],double[4],float[2],float[3],float[4],half[2],half[3],half[4],colord[3],colord[4],colorf[3],colorf[4],colorh[3],colorh[4],normald[3],normalf[3],normalh[3],pointd[3],pointf[3],pointh[3],texcoordd[2],texcoordd[3],texcoordf[2],texcoordf[3],texcoordh[2],texcoordh[3],quatd[4],quatf[4],quath[4],vectord[3],vectorf[3],vectorh[3],matrixd[3],matrixd[4],transform[4],frame[4],uchar[],int[],uint[],uint64[],int64[],double[],float[],half[],timecode[],int[2][],int[3][],int[4][],double[2][],double[3][],double[4][],float[2][],float[3][],float[4][],half[2][],half[3][],half[4][],colord[3][],colord[4][],colorf[3][],colorf[4][],colorh[3][],colorh[4][],normald[3][],normalf[3][],normalh[3][],pointd[3][],pointf[3][],pointh[3][],texcoordd[2][],texcoordd[3][],texcoordf[2][],texcoordf[3][],texcoordh[2][],texcoordh[3][],quatd[4][],quatf[4][],quath[4][],vectord[3][],vectorf[3][],vectorh[3][],matrixd[3][],matrixd[4][],transform[4][],frame[4][]"
                    dictionary omni = {
                        dictionary graph = {
                            string attrType = "Union-->uchar,int,uint,uint64,int64,double,float,half,timecode,int[2],int[3],int[4],double[2],double[3],double[4],float[2],float[3],float[4],half[2],half[3],half[4],colord[3],colord[4],colorf[3],colorf[4],colorh[3],colorh[4],normald[3],normalf[3],normalh[3],pointd[3],pointf[3],pointh[3],texcoordd[2],texcoordd[3],texcoordf[2],texcoordf[3],texcoordh[2],texcoordh[3],quatd[4],quatf[4],quath[4],vectord[3],vectorf[3],vectorh[3],matrixd[3],matrixd[4],transform[4],frame[4],uchar[],int[],uint[],uint64[],int64[],double[],float[],half[],timecode[],int[2][],int[3][],int[4][],double[2][],double[3][],double[4][],float[2][],float[3][],float[4][],half[2][],half[3][],half[4][],colord[3][],colord[4][],colorf[3][],colorf[4][],colorh[3][],colorh[4][],normald[3][],normalf[3][],normalh[3][],pointd[3][],pointf[3][],pointh[3][],texcoordd[2][],texcoordd[3][],texcoordf[2][],texcoordf[3][],texcoordh[2][],texcoordh[3][],quatd[4][],quatf[4][],quath[4][],vectord[3][],vectorf[3][],vectorh[3][],matrixd[3][],matrixd[4][],transform[4][],frame[4][]"
                        }
                    }
                }
            )
            prepend token outputs:sum.connect = </World/PushGraph/compound/SubGraph_01/Add_Node.outputs:sum>
            uniform token ui:nodegraph:node:expansionState = "open"
            uniform float2 ui:nodegraph:node:pos = (176.20505, -4.6921196)

            def OmniGraph "SubGraph_01"
            {
                token evaluationMode = "Automatic"
                token evaluator:type = "push"
                token fabricCacheBacking = "Shared"
                int2 fileFormatVersion = (1, 6)
                token pipelineStage = "pipelineStageSimulation"

                def OmniGraphNode "Add_Node"
                {
                    custom token inputs:a
                    prepend token inputs:a.connect = </World/PushGraph/compound.inputs:a>
                    custom token inputs:b
                    prepend token inputs:b.connect = </World/PushGraph/compound.inputs:b>
                    token node:type = "omni.graph.nodes.Add"
                    int node:typeVersion = 2
                    custom token outputs:sum
                }
            }
        }

        def OmniGraphNode "constant_double" (
            prepend apiSchemas = ["NodeGraphNodeAPI"]
        )
        {
            custom double inputs:value = 10
            token node:type = "omni.graph.nodes.ConstantDouble"
            int node:typeVersion = 1
            uniform token ui:nodegraph:node:expansionState = "open"
            uniform float2 ui:nodegraph:node:pos = (-73.574936, 26.129522)
        }

        def OmniGraphNode "to_string" (
            prepend apiSchemas = ["NodeGraphNodeAPI"]
        )
        {
            custom token inputs:value
            prepend token inputs:value.connect = </World/PushGraph/compound.outputs:sum>
            token node:type = "omni.graph.nodes.ToString"
            int node:typeVersion = 1
            custom string outputs:converted
            uniform token ui:nodegraph:node:expansionState = "open"
            uniform float2 ui:nodegraph:node:pos = (411.59882, 12.6411705)
        }
    }
}
