Files
Superalgos/Projects/TensorFlow/Schemas/AppSchema.json
T

396 lines
12 KiB
JSON

[
{
"type": "TensorFlow Project",
"menuItems": [
{
"action": "Add UI Object",
"label": "Add Machine Learning",
"relatedUiObject": "Machine Learning",
"actionFunction": "payload.executeAction"
},
{
"action": "Delete UI Object",
"askConfirmation": true,
"confirmationLabel": "Confirm to Delete",
"actionFunction": "payload.executeAction",
"label": "Delete",
"iconPathOn": "delete-entity",
"iconPathOff": "delete-entity"
}
],
"isProjectHead": true,
"isTitleAllwaysVisible": false,
"addLeftIcons": true,
"isPinned": true,
"positionLocked": true,
"childrenNodesProperties": [
{
"name": "projectDefinition",
"type": "node",
"childType": "Project Definition",
"project": "Superalgos",
"autoAdd": true
}
],
"icon": "tensorflow"
},
{
"type": "Machine Learning",
"menuItems": [
{
"action": "Add UI Object",
"label": "Add Library",
"relatedUiObject": "TensorFlow Library",
"actionFunction": "payload.executeAction"
},
{
"action": "Delete UI Object",
"askConfirmation": true,
"confirmationLabel": "Confirm to Delete",
"label": "Delete",
"iconPathOn": "delete-entity",
"iconPathOff": "delete-entity",
"actionFunction": "payload.executeAction"
}
],
"isHierarchyHead": true,
"addLeftIcons": true,
"level": 0,
"childrenNodesProperties": [
{
"name": "machineLearningLibrary",
"type": "node",
"childType": "TensorFlow Library",
"autoAdd": true
}
],
"icon": "tensorflow"
},
{
"type": "TensorFlow Library",
"menuItems": [
{
"action": "Add UI Object",
"disableIfPropertyIsDefined": true,
"propertyToCheckFor": "executionEnvironment",
"label": "Add Execution Environment",
"relatedUiObject": "Execution Environment",
"actionFunction": "payload.executeAction"
}
],
"addLeftIcons": true,
"level": 3,
"attachingRules": {
"compatibleTypes": "->Learning System->"
},
"propertyNameAtParent": "machineLearningLibrary",
"childrenNodesProperties": [
{
"name": "executionEnvironment",
"type": "node",
"childType": "Execution Environment"
}
],
"icon": "tensorflow"
},
{
"type": "Execution Environment",
"menuItems": [
{
"action": "Add UI Object",
"disableIfPropertyIsDefined": true,
"propertyToCheckFor": "backend",
"label": "Add WebGL Backend",
"relatedUiObject": "WebGL Backend",
"actionFunction": "payload.executeAction"
},
{
"action": "Add UI Object",
"disableIfPropertyIsDefined": true,
"propertyToCheckFor": "backend",
"label": "Add NodeJS Backend",
"relatedUiObject": "NodeJS Backend",
"actionFunction": "payload.executeAction"
},
{
"action": "Add UI Object",
"disableIfPropertyIsDefined": true,
"propertyToCheckFor": "backend",
"label": "Add WASM Backend",
"relatedUiObject": "WASM Backend",
"actionFunction": "payload.executeAction"
},
{
"action": "Add UI Object",
"disableIfPropertyIsDefined": true,
"propertyToCheckFor": "backend",
"label": "Add CPU Backend",
"relatedUiObject": "CPU Backend",
"actionFunction": "payload.executeAction"
},
{
"action": "Add UI Object",
"disableIfPropertyIsDefined": true,
"propertyToCheckFor": "environmentFlags",
"label": "Add Environment Flags",
"relatedUiObject": "Environment Flags",
"actionFunction": "payload.executeAction"
},
{
"action": "Delete UI Object",
"askConfirmation": true,
"confirmationLabel": "Confirm to Delete",
"label": "Delete",
"iconPathOn": "delete-entity",
"iconPathOff": "delete-entity",
"actionFunction": "payload.executeAction"
}
],
"addLeftIcons": true,
"level": 3,
"attachingRules": {
"compatibleTypes": "->TensorFlow Library->"
},
"propertyNameAtParent": "executionEnvironment",
"childrenNodesProperties": [
{
"name": "backend",
"type": "node",
"childType": "WebGL Backend"
},
{
"name": "backend",
"type": "node",
"childType": "NodeJS Backend"
},
{
"name": "backend",
"type": "node",
"childType": "WASM Backend"
},
{
"name": "backend",
"type": "node",
"childType": "CPU Backend"
},
{
"name": "environmentFlags",
"type": "node",
"childType": "Environment Flags",
"autoAdd": true
}
],
"icon": "tensorflow"
},
{
"type": "Environment Flags",
"menuItems": [
{
"action": "Add UI Object",
"disableIfPropertyIsDefined": true,
"propertyToCheckFor": "mode",
"label": "Add Debug Mode",
"relatedUiObject": "Debug Mode",
"actionFunction": "payload.executeAction"
},
{
"action": "Add UI Object",
"disableIfPropertyIsDefined": true,
"propertyToCheckFor": "mode",
"label": "Add Production Mode",
"relatedUiObject": "Production Mode",
"actionFunction": "payload.executeAction"
},
{
"action": "Delete UI Object",
"askConfirmation": true,
"confirmationLabel": "Confirm to Delete",
"label": "Delete",
"iconPathOn": "delete-entity",
"iconPathOff": "delete-entity",
"actionFunction": "payload.executeAction"
}
],
"addLeftIcons": true,
"level": 3,
"attachingRules": {
"compatibleTypes": "->Execution Environment->"
},
"propertyNameAtParent": "environmentFlags",
"childrenNodesProperties": [
{
"name": "mode",
"type": "node",
"childType": "Debug Mode"
},
{
"name": "mode",
"type": "node",
"childType": "Production Mode"
}
],
"icon": "tensorflow"
},
{
"type": "WebGL Backend",
"menuItems": [
{
"action": "Delete UI Object",
"askConfirmation": true,
"confirmationLabel": "Confirm to Delete",
"label": "Delete",
"iconPathOn": "delete-entity",
"iconPathOff": "delete-entity",
"actionFunction": "payload.executeAction"
}
],
"editors": {
"config": true
},
"initialValues": {
"config": "{ \n \"codeName\": \"webgl\"\n}"
},
"addLeftIcons": true,
"level": 3,
"attachingRules": {
"compatibleTypes": "->Execution Environment->"
},
"propertyNameAtParent": "backend",
"childrenNodesProperties": [
],
"icon": "tensorflow"
},
{
"type": "NodeJS Backend",
"menuItems": [
{
"action": "Delete UI Object",
"askConfirmation": true,
"confirmationLabel": "Confirm to Delete",
"label": "Delete",
"iconPathOn": "delete-entity",
"iconPathOff": "delete-entity",
"actionFunction": "payload.executeAction"
}
],
"editors": {
"config": true
},
"initialValues": {
"config": "{ \n \"codeName\": \"node\"\n}"
},
"addLeftIcons": true,
"level": 3,
"attachingRules": {
"compatibleTypes": "->Execution Environment->"
},
"propertyNameAtParent": "backend",
"childrenNodesProperties": [
],
"icon": "tensorflow"
},
{
"type": "WASM Backend",
"menuItems": [
{
"action": "Delete UI Object",
"askConfirmation": true,
"confirmationLabel": "Confirm to Delete",
"label": "Delete",
"iconPathOn": "delete-entity",
"iconPathOff": "delete-entity",
"actionFunction": "payload.executeAction"
}
],
"editors": {
"config": true
},
"initialValues": {
"config": "{ \n \"codeName\": \"wasm\"\n}"
},
"addLeftIcons": true,
"level": 3,
"attachingRules": {
"compatibleTypes": "->Execution Environment->"
},
"propertyNameAtParent": "backend",
"childrenNodesProperties": [
],
"icon": "tensorflow"
},
{
"type": "CPU Backend",
"menuItems": [
{
"action": "Delete UI Object",
"askConfirmation": true,
"confirmationLabel": "Confirm to Delete",
"label": "Delete",
"iconPathOn": "delete-entity",
"iconPathOff": "delete-entity",
"actionFunction": "payload.executeAction"
}
],
"editors": {
"config": true
},
"initialValues": {
"config": "{ \n \"codeName\": \"cpu\"\n}"
},
"addLeftIcons": true,
"level": 3,
"attachingRules": {
"compatibleTypes": "->Execution Environment->"
},
"propertyNameAtParent": "backend",
"childrenNodesProperties": [
],
"icon": "tensorflow"
},
{
"type": "Debug Mode",
"menuItems": [
{
"action": "Delete UI Object",
"askConfirmation": true,
"confirmationLabel": "Confirm to Delete",
"label": "Delete",
"iconPathOn": "delete-entity",
"iconPathOff": "delete-entity",
"actionFunction": "payload.executeAction"
}
],
"addLeftIcons": true,
"level": 3,
"attachingRules": {
"compatibleTypes": "->Environment Flags->"
},
"propertyNameAtParent": "mode",
"childrenNodesProperties": [
],
"icon": "tensorflow"
},
{
"type": "Production Mode",
"menuItems": [
{
"action": "Delete UI Object",
"askConfirmation": true,
"confirmationLabel": "Confirm to Delete",
"label": "Delete",
"iconPathOn": "delete-entity",
"iconPathOff": "delete-entity",
"actionFunction": "payload.executeAction"
}
],
"addLeftIcons": true,
"level": 3,
"attachingRules": {
"compatibleTypes": "->Environment Flags->"
},
"propertyNameAtParent": "mode",
"childrenNodesProperties": [
],
"icon": "tensorflow"
}
]