{ "Type": "JsonSerialization", "Version": 1, "ClassName": "ScriptCanvasData", "ClassData": { "m_scriptCanvas": { "Id": { "id": 382940605667374 }, "Name": "LY_SC_UnitTest_MathExpression", "Components": { "Component_[16938950299749457314]": { "$type": "EditorGraph", "Id": 16938950299749457314, "m_graphData": { "m_nodes": [ { "Id": { "id": 382949195601966 }, "Name": "SC-Node(MathExpression)", "Components": { "Component_[1072514751244163127]": { "$type": "MathExpression", "Id": 1072514751244163127, "Slots": [ { "id": { "m_id": "{A3B4F6EE-3BF0-4DCD-B5C4-317BC167D1E2}" }, "contracts": [ { "$type": "SlotTypeContract" } ], "slotName": "In", "toolTip": "Input signal", "Descriptor": { "ConnectionType": 1, "SlotType": 1 } }, { "id": { "m_id": "{F1C5C888-B969-4528-8BEA-3202A056B174}" }, "contracts": [ { "$type": "SlotTypeContract" } ], "slotName": "Out", "toolTip": "Output signal", "Descriptor": { "ConnectionType": 2, "SlotType": 1 } }, { "id": { "m_id": "{6D935182-2576-45C0-A4E8-BADF5A845404}" }, "contracts": [ { "$type": "SlotTypeContract" }, null ], "slotName": "Value", "toolTip": "Value which replaces instances of {Value} in the resulting expression.", "DisplayGroup": { "Value": 1997398926 }, "Descriptor": { "ConnectionType": 1, "SlotType": 2 }, "DataType": 1 }, { "id": { "m_id": "{EEAE884E-2491-44EF-9E08-F353D4CF6078}" }, "contracts": [ { "$type": "SlotTypeContract" }, null ], "slotName": "Value_1", "toolTip": "Value which replaces instances of {Value_1} in the resulting expression.", "DisplayGroup": { "Value": 1997398926 }, "Descriptor": { "ConnectionType": 1, "SlotType": 2 }, "DataType": 1 }, { "id": { "m_id": "{EDCADAE3-0114-464E-9656-92EFF281EB79}" }, "contracts": [ { "$type": "SlotTypeContract" }, null ], "slotName": "Value_2", "toolTip": "Value which replaces instances of {Value_2} in the resulting expression.", "DisplayGroup": { "Value": 1997398926 }, "Descriptor": { "ConnectionType": 1, "SlotType": 2 }, "DataType": 1 }, { "id": { "m_id": "{C6609540-CD76-496D-BC34-FEA6B7EE03FB}" }, "contracts": [ { "$type": "SlotTypeContract" }, null ], "slotName": "Value_3", "toolTip": "Value which replaces instances of {Value_3} in the resulting expression.", "DisplayGroup": { "Value": 1997398926 }, "Descriptor": { "ConnectionType": 1, "SlotType": 2 }, "DataType": 1 }, { "id": { "m_id": "{F3663767-C617-45E4-B483-2F1D780B5615}" }, "contracts": [ { "$type": "SlotTypeContract" } ], "slotName": "Result", "toolTip": "The resulting string.", "DisplayDataType": { "m_type": 3 }, "DisplayGroup": { "Value": 1997398926 }, "Descriptor": { "ConnectionType": 2, "SlotType": 2 }, "DataType": 1 } ], "Datums": [ { "scriptCanvasType": { "m_type": 3 }, "isNullPointer": false, "$type": "double", "value": 4.0, "label": "Value" }, { "scriptCanvasType": { "m_type": 3 }, "isNullPointer": false, "$type": "double", "value": 2.0, "label": "Value_1" }, { "scriptCanvasType": { "m_type": 3 }, "isNullPointer": false, "$type": "double", "value": 1.0, "label": "Value_2" }, { "scriptCanvasType": { "m_type": 3 }, "isNullPointer": false, "$type": "double", "value": 3.0, "label": "Value_3" } ], "m_format": "({Value} / {Value_1} + {Value_2}) * {Value_3} ", "m_expressionTree": { "Variables": [ { "Key": { "Value": 494360628 }, "Value": { "SupportedTypes": [ "{110C4B14-11A8-4E9D-8638-5051013A56AC}" ], "$type": "double", "Value": 4.0 } }, { "Key": { "Value": 498074932 }, "Value": { "SupportedTypes": [ "{110C4B14-11A8-4E9D-8638-5051013A56AC}" ], "$type": "double", "Value": 3.0 } }, { "Key": { "Value": 1790391714 }, "Value": { "SupportedTypes": [ "{110C4B14-11A8-4E9D-8638-5051013A56AC}" ], "$type": "double", "Value": 1.0 } }, { "Key": { "Value": 4089340952 }, "Value": { "SupportedTypes": [ "{110C4B14-11A8-4E9D-8638-5051013A56AC}" ], "$type": "double", "Value": 2.0 } } ], "VariableDisplayOrder": [ "Value", "Value_1", "Value_2", "Value_3" ], "Tokens": [ { "TokenInformation": { "Id": 1, "$type": "{6D219DB1-3763-4408-A3E8-75E4AE66E9BD} VariableDescriptor", "Value": { "DisplayName": "Value", "NameHash": { "Value": 494360628 } } } }, { "TokenInformation": { "Id": 1, "$type": "{6D219DB1-3763-4408-A3E8-75E4AE66E9BD} VariableDescriptor", "Value": { "DisplayName": "Value_1", "NameHash": { "Value": 4089340952 } } } }, { "ParserId": 3499457960, "TokenInformation": { "Id": 3, "$type": "Empty AZStd::any" } }, { "TokenInformation": { "Id": 1, "$type": "{6D219DB1-3763-4408-A3E8-75E4AE66E9BD} VariableDescriptor", "Value": { "DisplayName": "Value_2", "NameHash": { "Value": 1790391714 } } } }, { "ParserId": 3499457960, "TokenInformation": { "Id": 0, "$type": "Empty AZStd::any" } }, { "TokenInformation": { "Id": 1, "$type": "{6D219DB1-3763-4408-A3E8-75E4AE66E9BD} VariableDescriptor", "Value": { "DisplayName": "Value_3", "NameHash": { "Value": 498074932 } } } }, { "ParserId": 3499457960, "TokenInformation": { "Id": 2, "$type": "Empty AZStd::any" } } ] } } } }, { "Id": { "id": 382944900634670 }, "Name": "SC-Node(Mark Complete)", "Components": { "Component_[12953505590610160548]": { "$type": "{E42861BD-1956-45AE-8DD7-CCFC1E3E5ACF} Method", "Id": 12953505590610160548, "Slots": [ { "isVisibile": false, "id": { "m_id": "{DCB4236E-5310-4BA3-BA4D-C88CFC8C4808}" }, "contracts": [ { "$type": "SlotTypeContract" }, null ], "slotName": "EntityID: 0", "Descriptor": { "ConnectionType": 1, "SlotType": 2 }, "DataType": 1 }, { "id": { "m_id": "{488FE653-89BB-4C4F-978C-8E133D53A611}" }, "contracts": [ { "$type": "SlotTypeContract" }, null ], "slotName": "Report", "toolTip": "additional notes for the test report", "Descriptor": { "ConnectionType": 1, "SlotType": 2 }, "DataType": 1 }, { "id": { "m_id": "{FF9C66AA-D139-485D-82FA-CBA38D64DD22}" }, "contracts": [ { "$type": "SlotTypeContract" } ], "slotName": "In", "Descriptor": { "ConnectionType": 1, "SlotType": 1 } }, { "id": { "m_id": "{FE6C754B-036E-486C-B012-B076425990B7}" }, "contracts": [ { "$type": "SlotTypeContract" } ], "slotName": "Out", "Descriptor": { "ConnectionType": 2, "SlotType": 1 } } ], "Datums": [ { "isOverloadedStorage": false, "scriptCanvasType": { "m_type": 1 }, "isNullPointer": false, "$type": "EntityId", "value": { "id": 4276206253 } }, { "isOverloadedStorage": false, "scriptCanvasType": { "m_type": 5 }, "isNullPointer": false, "$type": "{03AAAB3F-5C47-5A66-9EBC-D5FA4DB353C9} AZStd::string", "value": "", "label": "Report" } ], "methodType": 2, "methodName": "Mark Complete", "className": "Unit Testing", "resultSlotIDs": [ {} ], "prettyClassName": "Unit Testing" } } }, { "Id": { "id": 382953490569262 }, "Name": "SC-Node(Expect Equal)", "Components": { "Component_[14438836879453505223]": { "$type": "MethodOverloaded", "Id": 14438836879453505223, "Slots": [ { "id": { "m_id": "{83D27FD1-31ED-419D-9BC6-AA1658B7D99C}" }, "contracts": [ { "$type": "SlotTypeContract" }, null ], "slotName": "EntityID: 0", "DisplayDataType": { "m_type": 1 }, "Descriptor": { "ConnectionType": 1, "SlotType": 2 }, "DataType": 1 }, { "IsOverload": true, "id": { "m_id": "{BA36BDD6-E546-4BA9-BDA3-A245D27FC9D5}" }, "DynamicTypeOverride": 3, "contracts": [ { "$type": "SlotTypeContract" }, null ], "slotName": "Candidate", "toolTip": "left of ==", "DisplayDataType": { "m_type": 3 }, "Descriptor": { "ConnectionType": 1, "SlotType": 2 }, "DataType": 1 }, { "IsOverload": true, "id": { "m_id": "{CEE9DFFE-0074-4959-A2AF-3E1548801007}" }, "DynamicTypeOverride": 3, "contracts": [ { "$type": "SlotTypeContract" }, null ], "slotName": "Reference", "toolTip": "right of ==", "DisplayDataType": { "m_type": 3 }, "Descriptor": { "ConnectionType": 1, "SlotType": 2 }, "DataType": 1, "IsReference": true, "VariableReference": { "m_id": "{D7029778-589E-48A4-90BA-0E25C8538BD4}" } }, { "id": { "m_id": "{C4A03906-D2FF-4486-8FD9-3C5500D6F30D}" }, "contracts": [ { "$type": "SlotTypeContract" }, null ], "slotName": "Report", "toolTip": "additional notes for the test report", "DisplayDataType": { "m_type": 5 }, "Descriptor": { "ConnectionType": 1, "SlotType": 2 }, "DataType": 1 }, { "id": { "m_id": "{73AEB8A7-0239-44A8-A337-8B30508CAE94}" }, "contracts": [ { "$type": "SlotTypeContract" } ], "slotName": "In", "Descriptor": { "ConnectionType": 1, "SlotType": 1 } }, { "id": { "m_id": "{837F7E7B-8047-4EC0-82B4-7D9339692876}" }, "contracts": [ { "$type": "SlotTypeContract" } ], "slotName": "Out", "Descriptor": { "ConnectionType": 2, "SlotType": 1 } } ], "Datums": [ { "isOverloadedStorage": false, "scriptCanvasType": { "m_type": 1 }, "isNullPointer": false, "$type": "EntityId", "value": { "id": 4276206253 }, "label": "EntityID: 0" }, { "isOverloadedStorage": false, "scriptCanvasType": { "m_type": 3 }, "isNullPointer": false, "$type": "double", "value": 0.0, "label": "Candidate" }, { "isOverloadedStorage": false, "scriptCanvasType": { "m_type": 3 }, "isNullPointer": false, "$type": "double", "value": 0.0 }, { "isOverloadedStorage": false, "scriptCanvasType": { "m_type": 5 }, "isNullPointer": false, "$type": "{03AAAB3F-5C47-5A66-9EBC-D5FA4DB353C9} AZStd::string", "value": "", "label": "Report" } ], "methodType": 2, "methodName": "Expect Equal", "className": "Unit Testing", "resultSlotIDs": [ {} ], "prettyClassName": "Unit Testing", "orderedInputSlotIds": [ { "m_id": "{83D27FD1-31ED-419D-9BC6-AA1658B7D99C}" }, { "m_id": "{BA36BDD6-E546-4BA9-BDA3-A245D27FC9D5}" }, { "m_id": "{CEE9DFFE-0074-4959-A2AF-3E1548801007}" }, { "m_id": "{C4A03906-D2FF-4486-8FD9-3C5500D6F30D}" } ] } } }, { "Id": { "id": 382957785536558 }, "Name": "SC-Node(Start)", "Components": { "Component_[15843044724009388527]": { "$type": "Start", "Id": 15843044724009388527, "Slots": [ { "id": { "m_id": "{6C90DD1F-92CD-477D-9150-1B3CEDC09675}" }, "contracts": [ { "$type": "SlotTypeContract" } ], "slotName": "Out", "toolTip": "Signaled when the entity that owns this graph is fully activated.", "Descriptor": { "ConnectionType": 2, "SlotType": 1 } } ] } } } ], "m_connections": [ { "Id": { "id": 382962080503854 }, "Name": "srcEndpoint=(Expect Equal: Out), destEndpoint=(Mark Complete: In)", "Components": { "Component_[4495047826731335637]": { "$type": "{64CA5016-E803-4AC4-9A36-BDA2C890C6EB} Connection", "Id": 4495047826731335637, "sourceEndpoint": { "nodeId": { "id": 382953490569262 }, "slotId": { "m_id": "{837F7E7B-8047-4EC0-82B4-7D9339692876}" } }, "targetEndpoint": { "nodeId": { "id": 382944900634670 }, "slotId": { "m_id": "{FF9C66AA-D139-485D-82FA-CBA38D64DD22}" } } } } }, { "Id": { "id": 382966375471150 }, "Name": "srcEndpoint=(On Graph Start: Out), destEndpoint=(Math Expression: In)", "Components": { "Component_[14292313315377025131]": { "$type": "{64CA5016-E803-4AC4-9A36-BDA2C890C6EB} Connection", "Id": 14292313315377025131, "sourceEndpoint": { "nodeId": { "id": 382957785536558 }, "slotId": { "m_id": "{6C90DD1F-92CD-477D-9150-1B3CEDC09675}" } }, "targetEndpoint": { "nodeId": { "id": 382949195601966 }, "slotId": { "m_id": "{A3B4F6EE-3BF0-4DCD-B5C4-317BC167D1E2}" } } } } }, { "Id": { "id": 382970670438446 }, "Name": "srcEndpoint=(Math Expression: Out), destEndpoint=(Expect Equal: In)", "Components": { "Component_[3785085633631792850]": { "$type": "{64CA5016-E803-4AC4-9A36-BDA2C890C6EB} Connection", "Id": 3785085633631792850, "sourceEndpoint": { "nodeId": { "id": 382949195601966 }, "slotId": { "m_id": "{F1C5C888-B969-4528-8BEA-3202A056B174}" } }, "targetEndpoint": { "nodeId": { "id": 382953490569262 }, "slotId": { "m_id": "{73AEB8A7-0239-44A8-A337-8B30508CAE94}" } } } } }, { "Id": { "id": 382974965405742 }, "Name": "srcEndpoint=(Math Expression: Result), destEndpoint=(Expect Equal: Candidate :-()", "Components": { "Component_[17435475992464027413]": { "$type": "{64CA5016-E803-4AC4-9A36-BDA2C890C6EB} Connection", "Id": 17435475992464027413, "sourceEndpoint": { "nodeId": { "id": 382949195601966 }, "slotId": { "m_id": "{F3663767-C617-45E4-B483-2F1D780B5615}" } }, "targetEndpoint": { "nodeId": { "id": 382953490569262 }, "slotId": { "m_id": "{BA36BDD6-E546-4BA9-BDA3-A245D27FC9D5}" } } } } } ] }, "m_assetType": "{295030FF-2648-27FF-2A45-24FF2C4729FF}", "versionData": { "_grammarVersion": 1, "_runtimeVersion": 1, "_fileVersion": 1 }, "m_variableCounter": 9, "GraphCanvasData": [ { "Key": { "id": 382940605667374 }, "Value": { "ComponentData": { "{5F84B500-8C45-40D1-8EFC-A5306B241444}": { "$type": "SceneComponentSaveData", "ViewParams": { "Scale": 1.1079339, "AnchorX": -420.60272216796875, "AnchorY": -57.76518249511719 } } } } }, { "Key": { "id": 382944900634670 }, "Value": { "ComponentData": { "{24CB38BB-1705-4EC5-8F63-B574571B4DCD}": { "$type": "NodeSaveData" }, "{328FF15C-C302-458F-A43D-E1794DE0904E}": { "$type": "GeneralNodeTitleComponentSaveData", "PaletteOverride": "MethodNodeTitlePalette" }, "{7CC444B1-F9B3-41B5-841B-0C4F2179F111}": { "$type": "GeometrySaveData", "Position": [ 540.0, 80.0 ] }, "{B0B99C8A-03AF-4CF6-A926-F65C874C3D97}": { "$type": "StylingComponentSaveData", "SubStyle": ".method" }, "{B1F49A35-8408-40DA-B79E-F1E3B64322CE}": { "$type": "PersistentIdComponentSaveData", "PersistentId": "{2EC13B75-7313-4800-A72A-3A56CD0493BC}" } } } }, { "Key": { "id": 382949195601966 }, "Value": { "ComponentData": { "{24CB38BB-1705-4EC5-8F63-B574571B4DCD}": { "$type": "NodeSaveData" }, "{328FF15C-C302-458F-A43D-E1794DE0904E}": { "$type": "GeneralNodeTitleComponentSaveData", "PaletteOverride": "MathNodeTitlePalette" }, "{7CC444B1-F9B3-41B5-841B-0C4F2179F111}": { "$type": "GeometrySaveData", "Position": [ -200.0, 60.0 ] }, "{B0B99C8A-03AF-4CF6-A926-F65C874C3D97}": { "$type": "StylingComponentSaveData", "SubStyle": ".math" }, "{B1F49A35-8408-40DA-B79E-F1E3B64322CE}": { "$type": "PersistentIdComponentSaveData", "PersistentId": "{6319C92F-D706-451A-82D2-A67B8509AA6B}" } } } }, { "Key": { "id": 382953490569262 }, "Value": { "ComponentData": { "{24CB38BB-1705-4EC5-8F63-B574571B4DCD}": { "$type": "NodeSaveData" }, "{328FF15C-C302-458F-A43D-E1794DE0904E}": { "$type": "GeneralNodeTitleComponentSaveData", "PaletteOverride": "MethodNodeTitlePalette" }, "{7CC444B1-F9B3-41B5-841B-0C4F2179F111}": { "$type": "GeometrySaveData", "Position": [ 220.0, 60.0 ] }, "{B0B99C8A-03AF-4CF6-A926-F65C874C3D97}": { "$type": "StylingComponentSaveData", "SubStyle": ".method" }, "{B1F49A35-8408-40DA-B79E-F1E3B64322CE}": { "$type": "PersistentIdComponentSaveData", "PersistentId": "{805E594D-ABA3-4509-9345-AB429051AE67}" } } } }, { "Key": { "id": 382957785536558 }, "Value": { "ComponentData": { "{24CB38BB-1705-4EC5-8F63-B574571B4DCD}": { "$type": "NodeSaveData" }, "{328FF15C-C302-458F-A43D-E1794DE0904E}": { "$type": "GeneralNodeTitleComponentSaveData", "PaletteOverride": "TimeNodeTitlePalette" }, "{7CC444B1-F9B3-41B5-841B-0C4F2179F111}": { "$type": "GeometrySaveData", "Position": [ -360.0, 60.0 ] }, "{B0B99C8A-03AF-4CF6-A926-F65C874C3D97}": { "$type": "StylingComponentSaveData", "SubStyle": ".time" }, "{B1F49A35-8408-40DA-B79E-F1E3B64322CE}": { "$type": "PersistentIdComponentSaveData", "PersistentId": "{10268231-9300-4DB3-84ED-8340D358E6D5}" } } } } ], "StatisticsHelper": { "InstanceCounter": [ { "Key": 524494764786010043, "Value": 1 }, { "Key": 4199610336680704683, "Value": 1 }, { "Key": 6840657073857873079, "Value": 1 }, { "Key": 7224637793062157918, "Value": 1 } ] } }, "Component_[9435064044103188435]": { "$type": "EditorGraphVariableManagerComponent", "Id": 9435064044103188435, "m_variableData": { "m_nameVariableMap": [ { "Key": { "m_id": "{D7029778-589E-48A4-90BA-0E25C8538BD4}" }, "Value": { "Datum": { "isOverloadedStorage": false, "scriptCanvasType": { "m_type": 3 }, "isNullPointer": false, "$type": "double", "value": 9.0, "label": "Nine" }, "VariableId": { "m_id": "{D7029778-589E-48A4-90BA-0E25C8538BD4}" }, "VariableName": "Nine" } } ] } } } } } }