From 48f2c623dda2f0f1c663ba8557688199f2887808 Mon Sep 17 00:00:00 2001 From: Luis Fernando Molina Date: Sun, 13 Dec 2020 14:50:34 +0100 Subject: [PATCH] Refactoring and Tyding up --- Client/WebServer/css/docs.css | 734 ++++++++-------- Projects/Ethereum/Schemas/AppSchema.json | 62 +- Projects/Superalgos/Schemas/AppSchema.json | 796 +++++++++--------- .../UI/Spaces/Docs-Space/DocsSpace.js | 63 +- .../UI/Spaces/Floating-Space/UiObject.js | 12 +- 5 files changed, 837 insertions(+), 830 deletions(-) diff --git a/Client/WebServer/css/docs.css b/Client/WebServer/css/docs.css index 556495ab4..e1d6b3181 100644 --- a/Client/WebServer/css/docs.css +++ b/Client/WebServer/css/docs.css @@ -1,392 +1,406 @@ - .docs-page { - border: 0px solid; - background-color: #fdfdfd; - } - - .docs-node-html-page-container { - font: 400 17px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; - color: #111; - line-height: 150%; - margin: 20 20 20 30px; - } - - .docs-node-html-footer-container { - font: 400 14px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; - color: #111; - line-height: 150%; - margin: 20 20 20 30px; - } - - .docs-normal-font { - font: 400 17px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; - color: #111; - line-height: 150%; - } - - .docs-title-table { - vertical-align: middle; - width: 100%; - min-width: 95px; - margin: auto; - margin-bottom: 0px; - margin-top: 0px; - margin-right: 20px; - border: 0px solid #dedede; - padding: 5px; - } - - .docs-definition-table { - background-color: #f9f9f9; - vertical-align: middle; - width: 100%; - min-width: 95px; - margin: auto; - margin-bottom: 20px; - margin-top: 20px; - margin-right: 20px; - border: 1px solid #dedede; - padding: 10px; - } - - .docs-image-container { - padding: 5px 15px 5px 5px; - border: solid 0px; - margin-left: auto; - margin-right: auto; - width: 100%; - } - - /* Link without tooltip */ - .docs-link { - position: relative; - display: inline-block; - border-bottom: 1px dotted black; - } - - /* Tooltip container */ - .docs-tooltip { - position: relative; - display: inline-block; - border-bottom: 1px dotted black; - } - - /* Tooltip text */ - .docs-tooltip .docs-tooltiptext { - visibility: hidden; - width: 240px; - background-color: #0295aa; - color: #fff; - font-weight: normal; - font-size: 92%; - line-height: 130%; - text-align: center; - padding: 15px; - border-radius: 6px; - - /* Position the docs-tooltip text */ - position: absolute; - z-index: 0; - bottom: 125%; - left: 50%; - margin-left: -120px; - - - /* Fade in docs-tooltip */ - opacity: 0; - transition: opacity 0.3s; - } - - /* Tooltip arrow */ - .docs-tooltip .docs-tooltiptext::after { - content: ""; - position: absolute; - top: 100%; - left: 50%; - margin-left: -5px; - border-width: 5px; - border-style: solid; - border-color: #0295aa transparent transparent transparent; - } - - /* Show the tooltip text when you mouse over the tooltip container */ - .docs-tooltip:hover .docs-tooltiptext { - visibility: visible; - opacity: 1; - } - - /* Headings */ - - .docs-h1 {font-size:210%; margin-top: 40px; padding-bottom: 5px;} - - .docs-h2 {font-weight:700; font-size:170%; margin-top: 30px; padding-bottom: 5px; overflow:hidden;} - - .docs-h2::after{ - content:''; - display:inline-block; - width:90%; - margin-right:-100%; - border-bottom: 1px solid #cdd4d5; - margin-left: 20px; - } - - .docs-h3 {font-weight:400; font-size:150%; margin-top: 35px;} - - .docs-h4 {font-weight:400; font-size:125%; margin-top: 35px;} - - .docs-h5 {font-weight:400; font-size:140%; margin-top: 35px; font-style:italic;} - - .docs-h6 {font-weight:400; font-size:130%; margin-top: 35px; font-style:italic;} - - .docs-text-area { - font: 400 17px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; - resize: none; - border: none; - outline: none; - box-shadow: none; - overflow:hidden; - background-color: transparent; - color: #111; - width: 100%; - height: 25%; - z-index:100; - } - - /* Alerts */ - - .docs-alert-note { - color: #31708f; - background-color: #d9edf7; - border-color: #bce8f1; - padding: 15px; - border: 1px solid transparent; - border-radius: 4px; - margin: 20px 0; - width: 95%; - } - - .docs-alert-success { - color: #3c763d; - background-color: #dff0d8; - border-color: #d6e9c6; - padding: 15px; - border: 1px solid transparent; - border-radius: 4px; - margin: 20px 0; - width: 95%; - } - - .docs-alert-important { - color: #8a6d3b; - background-color: #fcf8e3; - border-color: #faebcc; - padding: 15px; - border: 1px solid transparent; - border-radius: 4px; - margin: 20px 0; - width: 95%; - } - - .docs-alert-warning { - color: #a94442; - background-color: #f2dede; - border-color: #ebccd1; - padding: 15px; - border: 1px solid transparent; - border-radius: 4px; - margin: 20px 0; - width: 95%; - } - - .docs-callout { - padding: 20px; - margin: 20px 0; - border: 1px solid #eee; - border-left-width: 5px; - border-radius: 3px; - border-left-color: #bcd643; - font-weight: 500; - width: 100%; - } - - .docs-note-circle:before { - content:"\f05a" - } - - .docs-check-square-o:before { - content:"\f046" - } - - .docs-exclamation-circle:before { - content:"\f06a" - } - - .docs-warning-sign:before,.fa-exclamation-triangle:before { - content:"\f06a" - } - - .docs-fa { - font:normal normal normal 14px/1 FontAwesome; - font-size:inherit; - text-rendering:auto; - -webkit-font-smoothing:antialiased; - -moz-osx-font-smoothing:grayscale - } - - .docs-font-small { - font:normal normal normal 14px/1 "segoeui"; - font-size:inherit; - text-rendering:auto; - -webkit-font-smoothing:antialiased; - -moz-osx-font-smoothing:grayscale; - line-height: 150% - } - - li > .docs-font-small { - margin-bottom:7px; - } - - div.docs-font-small { - margin-bottom:7px; - } - - hr.docs-shaded { - box-shadow: inset 0 6px 6px -6px rgba(0,0,0,0.5); - margin: 90 0 70 0; - height: 12px; - border: 0; - background: white; - width: 100%; +.docs-page { +border: 0px solid; +background-color: #fdfdfd; } - .docs-footer-row { - margin-right: -15px; - margin-left: -15px; - } +.docs-node-html-page-container { +font: 400 17px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; +color: #111; +line-height: 150%; +margin: 20 20 20 30px; +} - .docs-footer-body { - position: relative; - min-height: 1px; - padding-right: 15px; - padding-left: 15px; - } +.docs-node-html-footer-container { +font: 400 14px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; +color: #111; +line-height: 150%; +margin: 20 20 20 30px; +} - /* Links */ +.docs-normal-font { +font: 400 17px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; +color: #111; +line-height: 150%; +} - a:link.docs-plain-link { - text-decoration: none; - } +.docs-title-table { +vertical-align: middle; +width: 100%; +min-width: 95px; +margin: auto; +margin-bottom: 0px; +margin-top: 0px; +margin-right: 20px; +border: 0px solid #dedede; +padding: 5px; +} - a:visited.docs-plain-link { - text-decoration: none; - } - - a:hover.docs-plain-link { - text-decoration: none; - } - - a:active.docs-plain-link { - text-decoration: none; - } +.docs-definition-table { +background-color: #f9f9f9; +vertical-align: middle; +width: 100%; +min-width: 95px; +margin: auto; +margin-bottom: 20px; +margin-top: 20px; +margin-right: 20px; +border: 1px solid #dedede; +padding: 10px; +} - /* Icon after external links, using FontAwesome*/ +.docs-image-container { +padding: 5px 15px 5px 5px; +border: solid 0px; +margin-left: auto; +margin-right: auto; +width: 100%; +} + +/* Link without tooltip */ +.docs-link { +position: relative; +display: inline-block; +border-bottom: 1px dotted black; +} + +/* Tooltip container */ +.docs-tooltip { +position: relative; +display: inline-block; +border-bottom: 1px dotted black; +} + +/* Tooltip text */ +.docs-tooltip .docs-tooltiptext { +visibility: hidden; +width: 240px; +background-color: #0295aa; +color: #fff; +font-weight: normal; +font-size: 92%; +line-height: 130%; +text-align: center; +padding: 15px; +border-radius: 6px; + +/* Position the docs-tooltip text */ +position: absolute; +z-index: 0; +bottom: 125%; +left: 50%; +margin-left: -120px; + + +/* Fade in docs-tooltip */ +opacity: 0; +transition: opacity 0.3s; +} + +/* Tooltip arrow */ +.docs-tooltip .docs-tooltiptext::after { +content: ""; +position: absolute; +top: 100%; +left: 50%; +margin-left: -5px; +border-width: 5px; +border-style: solid; +border-color: #0295aa transparent transparent transparent; +} + +/* Show the tooltip text when you mouse over the tooltip container */ +.docs-tooltip:hover .docs-tooltiptext { +visibility: visible; +opacity: 1; +} + +/* Headings */ + +.docs-h1 {font-size:210%; margin-top: 40px; padding-bottom: 5px;} + +.docs-h2 {font-weight:700; font-size:170%; margin-top: 30px; padding-bottom: 5px; overflow:hidden;} + +.docs-h2::after{ +content:''; +display:inline-block; +width:90%; +margin-right:-100%; +border-bottom: 1px solid #cdd4d5; +margin-left: 20px; +} + +.docs-h3 {font-weight:400; font-size:150%; margin-top: 35px;} + +.docs-h4 {font-weight:400; font-size:125%; margin-top: 35px;} + +.docs-h5 {font-weight:400; font-size:140%; margin-top: 35px; font-style:italic;} + +.docs-h6 {font-weight:400; font-size:130%; margin-top: 35px; font-style:italic;} + +.docs-text-area { +font: 400 17px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; +resize: none; +border: none; +outline: none; +box-shadow: none; +overflow:hidden; +background-color: transparent; +color: #111; +width: 100%; +height: 25%; +z-index:100; +} + +/* Alerts */ + +.docs-alert-note { +color: #31708f; +background-color: #d9edf7; +border-color: #bce8f1; +padding: 15px; +border: 1px solid transparent; +border-radius: 4px; +margin: 20px 0; +width: 95%; +} + +.docs-alert-success { +color: #3c763d; +background-color: #dff0d8; +border-color: #d6e9c6; +padding: 15px; +border: 1px solid transparent; +border-radius: 4px; +margin: 20px 0; +width: 95%; +} + +.docs-alert-important { +color: #8a6d3b; +background-color: #fcf8e3; +border-color: #faebcc; +padding: 15px; +border: 1px solid transparent; +border-radius: 4px; +margin: 20px 0; +width: 95%; +} + +.docs-alert-warning { +color: #a94442; +background-color: #f2dede; +border-color: #ebccd1; +padding: 15px; +border: 1px solid transparent; +border-radius: 4px; +margin: 20px 0; +width: 95%; +} + +.docs-callout { +padding: 20px; +margin: 20px 0; +border: 1px solid #eee; +border-left-width: 5px; +border-radius: 3px; +border-left-color: #bcd643; +font-weight: 500; +width: 100%; +} + +.docs-note-circle:before { +content:"\f05a" +} + +.docs-check-square-o:before { +content:"\f046" +} + +.docs-exclamation-circle:before { +content:"\f06a" +} + +.docs-warning-sign:before,.fa-exclamation-triangle:before { +content:"\f06a" +} + +.docs-fa { +font:normal normal normal 14px/1 FontAwesome; +font-size:inherit; +text-rendering:auto; +-webkit-font-smoothing:antialiased; +-moz-osx-font-smoothing:grayscale +} + +.docs-font-small { +font:normal normal normal 14px/1 "segoeui"; +font-size:inherit; +text-rendering:auto; +-webkit-font-smoothing:antialiased; +-moz-osx-font-smoothing:grayscale; +line-height: 150% +} + +li > .docs-font-small { +margin-bottom:7px; +} + +div.docs-font-small { +margin-bottom:7px; +} + +hr.docs-shaded { +box-shadow: inset 0 6px 6px -6px rgba(0,0,0,0.5); +margin: 90 0 70 0; +height: 12px; +border: 0; +background: white; +width: 100%; +} + +.docs-footer-row { +margin-right: -15px; +margin-left: -15px; +} + +.docs-footer-body { +position: relative; +min-height: 1px; +padding-right: 15px; +padding-left: 15px; +} + +/* Links */ + +a:link.docs-plain-link { +text-decoration: none; +} + +a:visited.docs-plain-link { +text-decoration: none; +} + +a:hover.docs-plain-link { +text-decoration: none; +} + +a:active.docs-plain-link { +text-decoration: none; +} + +/* Icon after external links, using FontAwesome*/ a[href^="http://"]:after, a[href^="https://"]:after { - content: "\f08e"; - font-family: FontAwesome; - font-weight: normal; - font-style: normal; - display: inline-block; - text-decoration: none; - padding-left: 3px; +content: "\f08e"; +font-family: FontAwesome; +font-weight: normal; +font-style: normal; +display: inline-block; +text-decoration: none; +padding-left: 3px; } a:link.docs-footer-link { - text-decoration: none; - color: #31708f; +text-decoration: none; +color: #31708f; } a:visited.docs-footer-link { - text-decoration: none; - color: #31708f; +text-decoration: none; +color: #31708f; } a:hover.docs-footer-link { - text-decoration: underline; - color: #31708f; +text-decoration: underline; +color: #31708f; } a:active.docs-footer-link { - text-decoration: none; - color: #31708f; +text-decoration: none; +color: #31708f; } - /* Tags */ +/* Tags */ - kbd.docs-kbd { - margin: 0 0 0 15px; - } +kbd.docs-kbd { +margin: 0 0 0 15px; +} - code.docs-code { - color: #d9534f; - background-color: #eee; - padding: 1 5 1 5; - } +code.docs-code { +color: #d9534f; +background-color: #eee; +padding: 1 5 1 5; +} - /* Style the button that is used to open and close the docs-collapsible-element content */ - .docs-collapsible-element { - background-color: #fdfdfd; - color: #444; - cursor: pointer; - padding: 15px; - width: 100%; - border: none; - text-align: left; - outline: none; - font-size: 125%; - vertical-align: middle; - min-height: 80px; - } +/* Style the button that is used to open and close the docs-collapsible-element content */ +.docs-collapsible-element { +background-color: #fdfdfd; +color: #444; +cursor: pointer; +padding: 15px; +width: 100%; +border: none; +text-align: left; +outline: none; +font-size: 125%; +vertical-align: middle; +min-height: 80px; +} - /* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */ - .active, .docs-collapsible-element:hover { - background-color: #eee; - } +/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */ +.active, .docs-collapsible-element:hover { +background-color: #eee; +} - /* Style the docs-collapsible-element content. Note: hidden by default */ - .docs-collapsible-content { - padding: 0 18px; - display: none; - overflow: hidden; - margin-left: 85px; - z-index: 1-0; - } +/* Style the docs-collapsible-element content. Note: hidden by default */ +.docs-collapsible-content { +padding: 0 18px; +display: none; +overflow: hidden; +margin-left: 85px; +z-index: 1; +} - .docs-collapsible-element:after { - content: '\02795'; /* Unicode character for "plus" sign (+) */ - font-size: 80%; - color: #31708f; - float: right; - margin-left: 5px; - vertical-align: middle; - } - - .docs-collapsible-active:after { - content: "\2796"; /* Unicode character for "minus" sign (-) */ - } +.docs-collapsible-element:after { +content: '\02795'; /* Unicode character for "plus" sign (+) */ +font-size: 80%; +color: #31708f; +float: right; +margin-left: 5px; +vertical-align: middle; +} - .docs-menu-item-image { - margin-left: 25px; - margin-right: 25px; - width: 30px; - height: 30px; - vertical-align: middle; - } +.docs-collapsible-active:after { +content: "\2796"; /* Unicode character for "minus" sign (-) */ +} - .docs-children-nodes-property-image { - margin-left: 25px; - margin-right: 25px; - width: 30px; - height: 30px; - vertical-align: middle; - } \ No newline at end of file +.docs-collapsible-image { +margin-left: 25px; +margin-right: 25px; +width: 30px; +height: 30px; +vertical-align: middle; +} + +.docs-children-nodes-property-image { +margin-left: 25px; +margin-right: 25px; +width: 30px; +height: 30px; +vertical-align: middle; +} + +/* This is the same Style as the collapsible counter part but will not hold any collapsed content inside. */ +.docs-non-collapsible-element { +background-color: #fdfdfd; +color: #444; +padding: 15px; +width: 100%; +border: none; +text-align: left; +outline: none; +font-size: 125%; +vertical-align: middle; +min-height: 80px; +} \ No newline at end of file diff --git a/Projects/Ethereum/Schemas/AppSchema.json b/Projects/Ethereum/Schemas/AppSchema.json index 210b7f9a3..8805befb6 100644 --- a/Projects/Ethereum/Schemas/AppSchema.json +++ b/Projects/Ethereum/Schemas/AppSchema.json @@ -121,12 +121,12 @@ "Use Reference Parent Parent", "Use Reference Parent" ], - "referenceAttachesTo": { + "referencingRules": { "compatibleTypes": "->Network Client->" }, "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Ethereum Wallet->" }, "propertyNameAtParent": "networkClientReference", @@ -175,7 +175,7 @@ }, "addLeftIcons": true, "level": 0, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Ethereum Wallet->" }, "propertyNameAtParent": "walletAccounts", @@ -209,7 +209,7 @@ ], "addLeftIcons": true, "level": 4, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Wallet Account->" }, "propertyNameAtParent": "ethBalance", @@ -233,10 +233,10 @@ ], "addLeftIcons": true, "level": 4, - "referenceAttachesTo": { + "referencingRules": { "compatibleTypes": "->Ethereum Token->" }, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Wallet Account->" }, "propertyNameAtParent": "tokenBalances", @@ -309,7 +309,7 @@ ], "addLeftIcons": true, "level": 1, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Ethereum Token Definitions->" }, "propertyNameAtParent": "erc-20TokenType", @@ -343,7 +343,7 @@ ], "addLeftIcons": true, "level": 1, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Ethereum Token Definitions->" }, "propertyNameAtParent": "erc-223TokenType", @@ -377,7 +377,7 @@ ], "addLeftIcons": true, "level": 1, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Ethereum Token Definitions->" }, "propertyNameAtParent": "erc-721TokenType", @@ -411,7 +411,7 @@ ], "addLeftIcons": true, "level": 1, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Ethereum Token Definitions->" }, "propertyNameAtParent": "erc-777TokenType", @@ -461,7 +461,7 @@ }, "addLeftIcons": true, "level": 2, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->ERC-20 Token Type->ERC-223 Token Type->ERC-721 Token Type->ERC-777 Token Type->" }, "propertyNameAtParent": "ethereumTokens", @@ -536,7 +536,7 @@ ], "addLeftIcons": true, "level": 1, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Ethereum Blockchain->" }, "propertyNameAtParent": "blockchainNetworks", @@ -570,7 +570,7 @@ "actionFunction": "payload.executeAction" } ], - "referenceAttachesTo": { + "referencingRules": { "compatibleTypes": "->Network Node->" }, "editors": { @@ -581,7 +581,7 @@ }, "addLeftIcons": true, "level": 1, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Blockchain Network->" }, "propertyNameAtParent": "networkClients", @@ -653,7 +653,7 @@ "initialValues": { "config": "{ \n\"address\": \"\"\n}" }, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Token Definition->Ethereum Decentralized Application->" }, "propertyNameAtParent": "smartContracts", @@ -694,7 +694,7 @@ "initialValues": { "code": "// Type your smart contract code here." }, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Smart Contract->" }, "propertyNameAtParent": "solidityCode", @@ -721,10 +721,10 @@ "alternativeIcons": "Use Reference Parent Parent", "addLeftIcons": true, "level": 2, - "referenceAttachesTo": { + "referencingRules": { "compatibleTypes": "->Project Definition->" }, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Data Tasks->" }, "propertyNameAtParent": "projectDataTasks", @@ -750,10 +750,10 @@ "alternativeIcons": "Use Reference Parent Parent", "addLeftIcons": true, "level": 2, - "referenceAttachesTo": { + "referencingRules": { "compatibleTypes": "->Project Definition->" }, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Learning Tasks->" }, "propertyNameAtParent": "projectLearningTasks", @@ -779,10 +779,10 @@ "alternativeIcons": "Use Reference Parent Parent", "addLeftIcons": true, "level": 2, - "referenceAttachesTo": { + "referencingRules": { "compatibleTypes": "->Project Definition->" }, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Trading Tasks->" }, "propertyNameAtParent": "projectTradingTasks", @@ -808,10 +808,10 @@ "alternativeIcons": "Use Reference Parent Parent", "addLeftIcons": true, "level": 2, - "referenceAttachesTo": { + "referencingRules": { "compatibleTypes": "->Project Definition->" }, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Data Mines Data->" }, "propertyNameAtParent": "projectDataProducts", @@ -837,10 +837,10 @@ "alternativeIcons": "Use Reference Parent Parent", "addLeftIcons": true, "level": 2, - "referenceAttachesTo": { + "referencingRules": { "compatibleTypes": "->Project Definition->" }, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Learning Mine Data->" }, "propertyNameAtParent": "projectLearningProducts", @@ -866,10 +866,10 @@ "alternativeIcons": "Use Reference Parent Parent", "addLeftIcons": true, "level": 2, - "referenceAttachesTo": { + "referencingRules": { "compatibleTypes": "->Project Definition->" }, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Trading Mine Data->" }, "propertyNameAtParent": "projectTradingProducts", @@ -895,10 +895,10 @@ "alternativeIcons": "Use Reference Parent Parent", "addLeftIcons": true, "level": 2, - "referenceAttachesTo": { + "referencingRules": { "compatibleTypes": "->Project Definition->" }, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Charting Space->" }, "propertyNameAtParent": "projectDashboards", @@ -993,7 +993,7 @@ "config": "{ \n \"codeName\": \"\"\n}" }, "level": 1, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Data Mine->" }, "childrenNodesProperties": [ diff --git a/Projects/Superalgos/Schemas/AppSchema.json b/Projects/Superalgos/Schemas/AppSchema.json index 46daa4be3..3c2c85df7 100644 --- a/Projects/Superalgos/Schemas/AppSchema.json +++ b/Projects/Superalgos/Schemas/AppSchema.json @@ -383,7 +383,7 @@ "config": true }, "level": 2, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Plotter->" }, "propertyNameAtParent": "modules" @@ -403,7 +403,7 @@ ], "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Plotter Module->" }, "icon": "expand", @@ -424,7 +424,7 @@ ], "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Plotter Module->" }, "icon": "expand", @@ -445,7 +445,7 @@ ], "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Plotter Module->" }, "icon": "expand", @@ -466,7 +466,7 @@ ], "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Plotter Module->" }, "icon": "expand", @@ -487,7 +487,7 @@ ], "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Plotter Module->" }, "icon": "expand", @@ -508,7 +508,7 @@ ], "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Plotter Module->" }, "icon": "expand", @@ -529,7 +529,7 @@ ], "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Plotter Module->" }, "icon": "expand", @@ -550,7 +550,7 @@ ], "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Plotter Module->" }, "icon": "expand", @@ -571,7 +571,7 @@ ], "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Plotter Module->" }, "icon": "expand", @@ -592,7 +592,7 @@ ], "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Plotter Module->" }, "icon": "expand", @@ -602,7 +602,7 @@ "type": "Shapes", "level": 4, "propertyNameAtParent": "shapes", - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Plotter Module->" }, "childrenNodesProperties": [ @@ -672,7 +672,7 @@ "type": "Plotter Panel", "level": 4, "propertyNameAtParent": "panels", - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Plotter Module->" }, "initialValues": { @@ -735,7 +735,7 @@ "editors": { "config": true }, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Plotter Panel->" }, "initialValues": { @@ -801,7 +801,7 @@ "initialValues": { "code": "// Type you code" }, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Panel Data->" }, "menuItems": [ @@ -834,7 +834,7 @@ "initialValues": { "code": "// Type you code" }, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Condition->Procedure Initialization->Procedure Loop->Plotter Module->Plotter Panel->Master Script->" }, "menuItems": [ @@ -861,7 +861,7 @@ "type": "Chart Points", "level": 4, "propertyNameAtParent": "chartPoints", - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Shapes->" }, "childrenNodesProperties": [ @@ -895,7 +895,7 @@ "type": "Point", "level": 4, "propertyNameAtParent": "points", - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Chart Points->" }, "childrenNodesProperties": [ @@ -931,7 +931,7 @@ "type": "Point Formula", "level": 4, "propertyNameAtParent": "pointFormula", - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Point->" }, "editors": { @@ -964,7 +964,7 @@ "type": "Image", "level": 3, "propertyNameAtParent": "images", - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Shapes->" }, "editors": { @@ -1027,7 +1027,7 @@ "type": "Image Condition", "level": 4, "propertyNameAtParent": "imageCondition", - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Image->" }, "editors": { @@ -1061,11 +1061,11 @@ "type": "Image Position", "level": 4, "propertyNameAtParent": "imagePosition", - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Image->" }, "childrenNodesProperties": [], - "referenceAttachesTo": { + "referencingRules": { "compatibleTypes": "->Point->" }, "editors": { @@ -1101,7 +1101,7 @@ "type": "Text", "level": 3, "propertyNameAtParent": "texts", - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Shapes->" }, "menuItems": [ @@ -1179,7 +1179,7 @@ "type": "Text Style", "level": 4, "propertyNameAtParent": "textStyle", - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Text->Panel Data->" }, "editors": { @@ -1212,7 +1212,7 @@ "type": "Text Condition", "level": 4, "propertyNameAtParent": "textCondition", - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Text->" }, "editors": { @@ -1246,11 +1246,11 @@ "type": "Text Position", "level": 4, "propertyNameAtParent": "textPosition", - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Text->" }, "childrenNodesProperties": [], - "referenceAttachesTo": { + "referencingRules": { "compatibleTypes": "->Point->" }, "editors": { @@ -1286,7 +1286,7 @@ "type": "Text Formula", "level": 4, "propertyNameAtParent": "textFormula", - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Text->" }, "editors": { @@ -1319,7 +1319,7 @@ "type": "Polygon", "level": 3, "propertyNameAtParent": "polygons", - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Shapes->" }, "childrenNodesProperties": [ @@ -1395,7 +1395,7 @@ "type": "Polygon Condition", "level": 4, "propertyNameAtParent": "polygonCondition", - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Polygon->" }, "editors": { @@ -1429,7 +1429,7 @@ "type": "Polygon Body", "level": 4, "propertyNameAtParent": "polygonBody", - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Polygon->" }, "childrenNodesProperties": [ @@ -1476,7 +1476,7 @@ "type": "Polygon Border", "level": 4, "propertyNameAtParent": "polygonBorder", - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Polygon->" }, "childrenNodesProperties": [ @@ -1523,7 +1523,7 @@ "type": "Style Condition", "level": 4, "propertyNameAtParent": "styleConditions", - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Polygon Body->Polygon Border->" }, "editors": { @@ -1572,7 +1572,7 @@ "type": "Style", "level": 4, "propertyNameAtParent": "style", - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Style Condition->Polygon Body->Polygon Border->" }, "editors": { @@ -1606,10 +1606,10 @@ "level": 4, "propertyNameAtParent": "polygonVertexes", "isReferenceChildren": true, - "referenceAttachesTo": { + "referencingRules": { "compatibleTypes": "->Point->" }, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Polygon->" }, "title": [ @@ -1657,7 +1657,7 @@ ], "addLeftIcons": true, "level": 1, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Take Position Event->Trigger On Event->Trigger Off Event->Next Phase Event->Move To Phase Event->Create Order Event->Cancel Order Event->Close Stage Event->" }, "childrenNodesProperties": [ @@ -1719,7 +1719,7 @@ "condition": true }, "level": 4, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Situation->" }, "childrenNodesProperties": [ @@ -1802,7 +1802,7 @@ "isTitleAllwaysVisible": false, "addLeftIcons": true, "level": 1, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Super Scripts->" }, "childrenNodesProperties": [ @@ -1845,7 +1845,7 @@ "isTitleAllwaysVisible": true, "addLeftIcons": true, "level": 2, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Scripts Library->" }, "childrenNodesProperties": [ @@ -1903,7 +1903,7 @@ "isTitleAllwaysVisible": true, "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Master Script->" }, "childrenNodesProperties": [ @@ -1944,7 +1944,7 @@ "isTitleAllwaysVisible": false, "addLeftIcons": true, "level": 4, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Template Script->" }, "childrenNodesProperties": [ @@ -1987,10 +1987,10 @@ "isTitleAllwaysVisible": false, "addLeftIcons": true, "level": 4, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Template Script->" }, - "referenceAttachesTo": { + "referencingRules": { "compatibleTypes": "->Dashboard->Data Mines Data->Trading Mines Data->Data Tasks->Testing Trading Tasks->Production Trading Tasks->" }, "childrenNodesProperties": [] @@ -2022,10 +2022,10 @@ "isTitleAllwaysVisible": true, "addLeftIcons": true, "level": 4, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Super Actions->Market->" }, - "referenceAttachesTo": { + "referencingRules": { "compatibleTypes": "->Master Script->" }, "childrenNodesProperties": [] @@ -2130,7 +2130,7 @@ "isTitleAllwaysVisible": true, "addLeftIcons": true, "level": 1, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Network->" }, "childrenNodesProperties": [ @@ -2208,7 +2208,7 @@ ], "addLeftIcons": true, "level": 2, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Data Mine Tasks->Trading Mine Tasks->Learning Mine Tasks->" }, "childrenNodesProperties": [ @@ -2304,7 +2304,7 @@ "isTitleAllwaysVisible": true, "addLeftIcons": true, "level": 0, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Task Manager->" }, "childrenNodesProperties": [ @@ -2371,7 +2371,7 @@ "config": "{}" }, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Task->" }, "childrenNodesProperties": [ @@ -2419,7 +2419,7 @@ "config": "{}" }, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Task->" }, "childrenNodesProperties": [ @@ -2452,10 +2452,10 @@ ], "addLeftIcons": true, "level": 2, - "referenceAttachesTo": { + "referencingRules": { "compatibleTypes": "->Process Definition->" }, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Sensor Bot Instance->" }, "childrenNodesProperties": [], @@ -2481,10 +2481,10 @@ ], "addLeftIcons": true, "level": 2, - "referenceAttachesTo": { + "referencingRules": { "compatibleTypes": "->Process Definition->" }, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Indicator Bot Instance->" }, "childrenNodesProperties": [], @@ -2550,10 +2550,10 @@ ], "addLeftIcons": true, "level": 2, - "referenceAttachesTo": { + "referencingRules": { "compatibleTypes": "->Process Definition->" }, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Trading Bot Instance->" }, "childrenNodesProperties": [ @@ -2622,10 +2622,10 @@ ], "addLeftIcons": true, "level": 2, - "referenceAttachesTo": { + "referencingRules": { "compatibleTypes": "->Process Definition->" }, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Trading Bot Instance->" }, "childrenNodesProperties": [ @@ -2711,7 +2711,7 @@ "config": true }, "level": 2, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Trading Process Instance->" }, "childrenNodesProperties": [ @@ -2805,7 +2805,7 @@ ], "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Trading System->" }, "propertyNameAtParent": "dynamicIndicators", @@ -2854,7 +2854,7 @@ }, "addLeftIcons": true, "level": 2, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Dynamic Indicators->" }, "propertyNameAtParent": "indicatorFunctions", @@ -2888,7 +2888,7 @@ ], "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Current->" }, "propertyNameAtParent": "episode", @@ -3024,7 +3024,7 @@ ], "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Episode->" }, "propertyNameAtParent": "episodeCounters", @@ -3102,7 +3102,7 @@ ], "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Position->" }, "propertyNameAtParent": "positionCounters", @@ -3150,7 +3150,7 @@ ], "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Strategy->" }, "propertyNameAtParent": "strategyCounters", @@ -3198,7 +3198,7 @@ ], "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Market Order->Limit Order->" }, "propertyNameAtParent": "orderCounters", @@ -3266,7 +3266,7 @@ }, "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Episode Counters->" }, "propertyNameAtParent": "positions" @@ -3320,7 +3320,7 @@ }, "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Episode Counters->" }, "propertyNameAtParent": "strategies" @@ -3374,7 +3374,7 @@ }, "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Episode Counters->" }, "propertyNameAtParent": "orders" @@ -3428,7 +3428,7 @@ }, "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Episode Counters->Episode Base Asset->Episode Quoted Asset->" }, "propertyNameAtParent": "fails" @@ -3482,7 +3482,7 @@ }, "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Episode Counters->Episode Base Asset->Episode Quoted Asset->" }, "propertyNameAtParent": "hits" @@ -3536,7 +3536,7 @@ }, "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Episode Counters->Position Counters->Strategy Counters->Order Counters->" }, "propertyNameAtParent": "periods" @@ -3590,7 +3590,7 @@ }, "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Episode Counters->Position Counters->Strategy Counters->" }, "propertyNameAtParent": "userDefinedCounters" @@ -3622,7 +3622,7 @@ ], "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Episode->" }, "propertyNameAtParent": "episodeStatistics", @@ -3720,7 +3720,7 @@ }, "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Position->" }, "propertyNameAtParent": "stopLoss", @@ -3818,7 +3818,7 @@ }, "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Position->" }, "propertyNameAtParent": "stopLoss", @@ -3910,7 +3910,7 @@ }, "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Stop Loss->Take Profit->" }, "propertyNameAtParent": "initialValue" @@ -3964,7 +3964,7 @@ }, "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Stop Loss->Take Profit->" }, "propertyNameAtParent": "finalValue" @@ -4018,7 +4018,7 @@ }, "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Stop Loss->" }, "propertyNameAtParent": "stopLossPhase" @@ -4072,7 +4072,7 @@ }, "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Take Profit->" }, "propertyNameAtParent": "takeProfitPhase" @@ -4126,7 +4126,7 @@ }, "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Take Profit->" }, "propertyNameAtParent": "takeProfitPosition" @@ -4180,7 +4180,7 @@ }, "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Stop Loss->" }, "propertyNameAtParent": "stopLossPosition" @@ -4212,7 +4212,7 @@ ], "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Position->" }, "propertyNameAtParent": "positionStatistics", @@ -4270,7 +4270,7 @@ ], "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Strategy Open Stage->Strategy Close Stage->" }, "propertyNameAtParent": "stageBaseAsset", @@ -4322,7 +4322,7 @@ ], "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Strategy Open Stage->Strategy Close Stage->" }, "propertyNameAtParent": "stageQuotedAsset", @@ -4374,7 +4374,7 @@ ], "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Episode->" }, "propertyNameAtParent": "episodeBaseAsset", @@ -4462,7 +4462,7 @@ ], "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Episode->" }, "propertyNameAtParent": "episodeQuotedAsset", @@ -4550,7 +4550,7 @@ ], "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Position->" }, "propertyNameAtParent": "positionBaseAsset", @@ -4620,7 +4620,7 @@ ], "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Position->" }, "propertyNameAtParent": "positionQuotedAsset", @@ -4696,7 +4696,7 @@ ], "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Market Order->Limit Order->" }, "propertyNameAtParent": "orderStatistics", @@ -4748,7 +4748,7 @@ ], "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Market Order->Limit Order->" }, "propertyNameAtParent": "orderBaseAsset", @@ -4812,7 +4812,7 @@ ], "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Market Order->Limit Order->" }, "propertyNameAtParent": "orderQuotedAsset", @@ -4912,7 +4912,7 @@ }, "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Episode Statistics->Position Statistics->" }, "propertyNameAtParent": "userDefinedStatistics", @@ -4974,7 +4974,7 @@ }, "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Episode Statistics->Position Statistics->Position Base Asset->Position Quoted Asset->Episode Base Asset->Episode Quoted Asset->" }, "propertyNameAtParent": "profitLoss" @@ -5028,7 +5028,7 @@ }, "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Episode Base Asset->Episode Quoted Asset->" }, "propertyNameAtParent": "hitRatio" @@ -5082,7 +5082,7 @@ }, "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Episode Statistics->Position Statistics->Order Statistics->" }, "propertyNameAtParent": "days" @@ -5136,7 +5136,7 @@ }, "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Order Base Asset->Order Quoted Asset->Stage Base Asset->Stage Quoted Asset->" }, "propertyNameAtParent": "sizeFilled" @@ -5190,7 +5190,7 @@ }, "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Order Statistics->" }, "propertyNameAtParent": "percentageFilled" @@ -5244,7 +5244,7 @@ }, "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Order Statistics->" }, "propertyNameAtParent": "actualRate" @@ -5298,7 +5298,7 @@ }, "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Order Base Asset->Order Quoted Asset->Stage Base Asset->Stage Quoted Asset->" }, "propertyNameAtParent": "feesPaid" @@ -5352,7 +5352,7 @@ }, "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Episode Statistics->Position Statistics->Position Base Asset->Position Quoted Asset->Episode Base Asset->Episode Quoted Asset->" }, "propertyNameAtParent": "ROI" @@ -5406,7 +5406,7 @@ }, "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Episode Statistics->Episode Base Asset->Episode Quoted Asset->" }, "propertyNameAtParent": "annualizedRateOfReturn" @@ -5460,7 +5460,7 @@ }, "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Episode Statistics->Position Statistics->Position Base Asset->Position Quoted Asset->Episode Base Asset->Episode Quoted Asset->" }, "propertyNameAtParent": "hitFail" @@ -5486,7 +5486,7 @@ ], "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Trading Engine->" }, "propertyNameAtParent": "current", @@ -5584,7 +5584,7 @@ }, "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Episode->" }, "propertyNameAtParent": "balance" @@ -5638,7 +5638,7 @@ }, "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Episode Base Asset->Episode Quoted Asset->" }, "propertyNameAtParent": "beginBalance" @@ -5692,7 +5692,7 @@ }, "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Episode Base Asset->Episode Quoted Asset->" }, "propertyNameAtParent": "endBalance" @@ -5718,7 +5718,7 @@ ], "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Episode->" }, "propertyNameAtParent": "distanceToEvent", @@ -5828,7 +5828,7 @@ }, "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Distance To Event->" }, "propertyNameAtParent": "triggerOn" @@ -5882,7 +5882,7 @@ }, "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Distance To Event->" }, "propertyNameAtParent": "triggerOff" @@ -5936,7 +5936,7 @@ }, "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Distance To Event->" }, "propertyNameAtParent": "takePosition" @@ -5990,7 +5990,7 @@ }, "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Distance To Event->" }, "propertyNameAtParent": "closePosition" @@ -6044,7 +6044,7 @@ }, "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Distance To Event->" }, "propertyNameAtParent": "nextPhase" @@ -6098,7 +6098,7 @@ }, "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Distance To Event->" }, "propertyNameAtParent": "moveToPhase" @@ -6152,7 +6152,7 @@ }, "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Distance To Event->" }, "propertyNameAtParent": "createOrder" @@ -6206,7 +6206,7 @@ }, "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Distance To Event->" }, "propertyNameAtParent": "cancelOrder" @@ -6260,7 +6260,7 @@ }, "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Distance To Event->" }, "propertyNameAtParent": "closeOrder" @@ -6286,7 +6286,7 @@ ], "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Current->" }, "propertyNameAtParent": "strategyTriggerStage", @@ -6350,7 +6350,7 @@ ], "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Current->" }, "propertyNameAtParent": "strategyManageStage", @@ -6414,7 +6414,7 @@ ], "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Current->" }, "propertyNameAtParent": "strategyOpenStage", @@ -6496,7 +6496,7 @@ ], "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Current->" }, "propertyNameAtParent": "strategyCloseStage", @@ -6578,7 +6578,7 @@ ], "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Current->Last->" }, "propertyNameAtParent": "strategy", @@ -6706,7 +6706,7 @@ }, "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Strategy->" }, "propertyNameAtParent": "strategyName" @@ -6760,7 +6760,7 @@ }, "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Strategy->Candle->" }, "propertyNameAtParent": "index" @@ -6814,7 +6814,7 @@ }, "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Episode->Strategy->Position->Market Order->Limit Order->Strategy Trigger Stage->Strategy Open Stage->Strategy Manage Stage->Strategy Close Stage->" }, "propertyNameAtParent": "status" @@ -6868,7 +6868,7 @@ }, "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Strategy->Position->" }, "propertyNameAtParent": "situationName" @@ -6922,7 +6922,7 @@ }, "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Market Order->Limit Order->" }, "propertyNameAtParent": "algorithmName" @@ -6976,7 +6976,7 @@ }, "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Market Order->Limit Order->" }, "propertyNameAtParent": "orderName" @@ -7030,7 +7030,7 @@ }, "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Episode->Strategy->Position->Market Order->Limit Order->" }, "propertyNameAtParent": "serialNumber" @@ -7084,7 +7084,7 @@ }, "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Episode->Strategy->Position->Market Order->Limit Order->" }, "propertyNameAtParent": "identifier" @@ -7138,7 +7138,7 @@ }, "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Market Order->Limit Order->" }, "propertyNameAtParent": "exchangeId" @@ -7192,7 +7192,7 @@ }, "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Market Order->Limit Order->" }, "propertyNameAtParent": "lock" @@ -7246,7 +7246,7 @@ }, "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Episode->Strategy->Position->Candle->Cycle->Market Order->Limit Order->Strategy Trigger Stage->Strategy Open Stage->Strategy Manage Stage->Strategy Close Stage->Stop Loss->Take Profit->" }, "propertyNameAtParent": "begin" @@ -7300,7 +7300,7 @@ }, "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Episode->Strategy->Position->Candle->Cycle->Market Order->Limit Order->Strategy Trigger Stage->Strategy Open Stage->Strategy Manage Stage->Strategy Close Stage->Stop Loss->Take Profit->" }, "propertyNameAtParent": "end" @@ -7354,7 +7354,7 @@ }, "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Cycle->" }, "propertyNameAtParent": "lastBegin" @@ -7408,7 +7408,7 @@ }, "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Cycle->" }, "propertyNameAtParent": "lastEnd" @@ -7449,7 +7449,7 @@ ], "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Candle->" }, "propertyNameAtParent": "open" @@ -7490,7 +7490,7 @@ ], "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Candle->" }, "propertyNameAtParent": "close" @@ -7531,7 +7531,7 @@ ], "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Candle->" }, "propertyNameAtParent": "min" @@ -7572,7 +7572,7 @@ ], "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Candle->" }, "propertyNameAtParent": "max" @@ -7626,7 +7626,7 @@ }, "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Episode->Strategy->Position->Strategy Trigger Stage->Strategy Open Stage->Strategy Manage Stage->Strategy Close Stage->" }, "propertyNameAtParent": "beginRate" @@ -7680,7 +7680,7 @@ }, "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Episode->Strategy->Position->Strategy Trigger Stage->Strategy Open Stage->Strategy Manage Stage->Strategy Close Stage->" }, "propertyNameAtParent": "endRate" @@ -7706,7 +7706,7 @@ ], "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Current->Last->" }, "propertyNameAtParent": "position", @@ -7864,7 +7864,7 @@ }, "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Market Order->Limit Order->" }, "propertyNameAtParent": "rate" @@ -7918,7 +7918,7 @@ }, "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Position->" }, "propertyNameAtParent": "entryTargetRate" @@ -7972,7 +7972,7 @@ }, "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Position->" }, "propertyNameAtParent": "exitTargetRate" @@ -8026,7 +8026,7 @@ }, "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Strategy Open Stage->Strategy Close Stage->" }, "propertyNameAtParent": "stageDefinedIn" @@ -8080,7 +8080,7 @@ }, "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Order Base Asset->Order Quoted Asset->" }, "propertyNameAtParent": "size" @@ -8134,7 +8134,7 @@ }, "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Order Base Asset->Order Quoted Asset->" }, "propertyNameAtParent": "actualSize" @@ -8188,7 +8188,7 @@ }, "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Order Base Asset->Order Quoted Asset->" }, "propertyNameAtParent": "amountReceived" @@ -8242,7 +8242,7 @@ }, "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Order Base Asset->Order Quoted Asset->" }, "propertyNameAtParent": "feesToBePaid" @@ -8296,7 +8296,7 @@ }, "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Position Base Asset->Position Quoted Asset->" }, "propertyNameAtParent": "entryTargetSize" @@ -8350,7 +8350,7 @@ }, "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Position Base Asset->Position Quoted Asset->" }, "propertyNameAtParent": "exitTargetSize" @@ -8404,7 +8404,7 @@ }, "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Stage Base Asset->Stage Quoted Asset->" }, "propertyNameAtParent": "sizePlaced" @@ -8458,7 +8458,7 @@ }, "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Stage Base Asset->Stage Quoted Asset->" }, "propertyNameAtParent": "targetSize" @@ -8512,7 +8512,7 @@ }, "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Episode->Strategy->->Position->Market Order->Limit Order->Strategy Trigger Stage->Strategy Open Stage->Strategy Manage Stage->Strategy Close Stage->" }, "propertyNameAtParent": "exitType" @@ -8566,7 +8566,7 @@ }, "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Episode->" }, "propertyNameAtParent": "processDate" @@ -8620,7 +8620,7 @@ }, "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Episode->" }, "propertyNameAtParent": "headOfTheMarket" @@ -8646,7 +8646,7 @@ ], "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Trading Engine->" }, "propertyNameAtParent": "last", @@ -8698,7 +8698,7 @@ ], "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Episode->" }, "propertyNameAtParent": "candle", @@ -8789,7 +8789,7 @@ ], "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Episode->" }, "propertyNameAtParent": "cycle", @@ -8867,7 +8867,7 @@ ], "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Trading Engine->" }, "propertyNameAtParent": "exchangeOrders", @@ -8919,7 +8919,7 @@ ], "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Exchange Orders->" }, "propertyNameAtParent": "marketBuyOrders", @@ -8953,7 +8953,7 @@ ], "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Market Buy Orders->Market Sell Orders->Last->" }, "propertyNameAtParent": "marketOrders", @@ -9077,7 +9077,7 @@ ], "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Exchange Orders->" }, "propertyNameAtParent": "marketSellOrders", @@ -9111,7 +9111,7 @@ ], "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Exchange Orders->" }, "propertyNameAtParent": "limitBuyOrders", @@ -9145,7 +9145,7 @@ ], "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Exchange Orders->" }, "propertyNameAtParent": "limitSellOrders", @@ -9179,7 +9179,7 @@ ], "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Limit Buy Orders->Limit Sell Orders->Last->" }, "propertyNameAtParent": "limitOrders", @@ -9303,7 +9303,7 @@ ], "addLeftIcons": true, "level": 2, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Backtesting Session->Live Trading Session->Paper Trading Session->Forward Testing Session->" }, "childrenNodesProperties": [ @@ -9385,7 +9385,7 @@ ], "addLeftIcons": true, "level": 2, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Learning Session->" }, "childrenNodesProperties": [ @@ -9428,10 +9428,10 @@ ], "addLeftIcons": true, "level": 2, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Backtesting Session->Live Trading Session->Paper Trading Session->Forward Testing Session->" }, - "referenceAttachesTo": { + "referencingRules": { "compatibleTypes": "->Trading System->" }, "propertyNameAtParent": "tradingSystemReference" @@ -9454,10 +9454,10 @@ ], "addLeftIcons": true, "level": 2, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Backtesting Session->Live Trading Session->Paper Trading Session->Forward Testing Session->" }, - "referenceAttachesTo": { + "referencingRules": { "compatibleTypes": "->Trading Engine->" }, "propertyNameAtParent": "tradingEngineReference" @@ -9491,10 +9491,10 @@ "config": true }, "level": 3, - "referenceAttachesTo": { + "referencingRules": { "compatibleTypes": "->Exchange Account Asset->" }, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Trading Parameters->" }, "alternativeIcons": "Use Reference Grandparent", @@ -9532,10 +9532,10 @@ "config": true }, "level": 3, - "referenceAttachesTo": { + "referencingRules": { "compatibleTypes": "->Exchange Account Asset->" }, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Trading Parameters->" }, "alternativeIcons": "Use Reference Grandparent", @@ -9560,10 +9560,10 @@ "isTitleAllwaysVisible": true, "addLeftIcons": true, "level": 3, - "referenceAttachesTo": { + "referencingRules": { "compatibleTypes": "->Asset->" }, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Market->" }, "alternativeIcons": "Use Reference Parent", @@ -9588,10 +9588,10 @@ "isTitleAllwaysVisible": true, "addLeftIcons": true, "level": 3, - "referenceAttachesTo": { + "referencingRules": { "compatibleTypes": "->Asset->" }, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Market->" }, "alternativeIcons": "Use Reference Parent", @@ -9628,7 +9628,7 @@ "config": true }, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Trading Parameters->" }, "propertyNameAtParent": "timeRange" @@ -9661,7 +9661,7 @@ "config": true }, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Trading Parameters->" }, "propertyNameAtParent": "timeFrame" @@ -9694,7 +9694,7 @@ "config": true }, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Trading Parameters->" }, "propertyNameAtParent": "slippage" @@ -9727,7 +9727,7 @@ "config": true }, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Trading Parameters->" }, "propertyNameAtParent": "feeStructure" @@ -9760,7 +9760,7 @@ "config": true }, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Trading Parameters->" }, "propertyNameAtParent": "snapshots" @@ -9793,7 +9793,7 @@ "config": true }, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Trading Parameters->Learning Parameters->" }, "propertyNameAtParent": "heartbeats" @@ -9826,7 +9826,7 @@ "config": true }, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Learning Parameters->" }, "propertyNameAtParent": "learningAlgorithm" @@ -9859,7 +9859,7 @@ "config": true }, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Trading Parameters->Learning Parameters->" }, "propertyNameAtParent": "userDefinedParameters" @@ -9892,7 +9892,7 @@ "config": true }, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Indicator Bot Instance->" }, "propertyNameAtParent": "timeFramesFilter" @@ -9965,10 +9965,10 @@ "config": true }, "level": 2, - "referenceAttachesTo": { + "referencingRules": { "compatibleTypes": "->Trading System->" }, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Trading Process Instance->" }, "childrenNodesProperties": [ @@ -10066,10 +10066,10 @@ "config": true }, "level": 2, - "referenceAttachesTo": { + "referencingRules": { "compatibleTypes": "->Trading System->" }, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Trading Process Instance->" }, "childrenNodesProperties": [ @@ -10117,10 +10117,10 @@ ], "addLeftIcons": true, "level": 4, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Task->" }, - "referenceAttachesTo": { + "referencingRules": { "compatibleTypes": "->Exchange Account Key->" }, "propertyNameAtParent": "keyReference" @@ -10193,10 +10193,10 @@ "config": "{ \n\"folderName\": \"Your-Session-Folder-Name\"\n}" }, "level": 2, - "referenceAttachesTo": { + "referencingRules": { "compatibleTypes": "->Trading System->" }, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Trading Process Instance->" }, "childrenNodesProperties": [ @@ -10294,10 +10294,10 @@ "config": "{ \n\"folderName\": \"Your-Session-Folder-Name\"\n}" }, "level": 2, - "referenceAttachesTo": { + "referencingRules": { "compatibleTypes": "->Trading System->" }, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Learning Process Instance->" }, "childrenNodesProperties": [ @@ -10363,7 +10363,7 @@ "config": "{ \n\"startDate\": \"2020-01-01\"\n}" }, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Task->" }, "childrenNodesProperties": [ @@ -10420,7 +10420,7 @@ "config": "{}" }, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Task->" }, "childrenNodesProperties": [ @@ -10659,7 +10659,7 @@ "config": "{ \n \"codeName\": \"\"\n}" }, "level": 1, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Data Mine->" }, "childrenNodesProperties": [ @@ -10714,7 +10714,7 @@ "config": "{ \n \"codeName\": \"Multi-Period-Market|Daily\", \n \"normalWaitTime\": 0, \n \"retryWaitTime\": 10000, \n \"framework\": { \n \"name\": \"Multi-Period-Market|Daily\" \n }\n}" }, "level": 1, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Sensor Bot->Indicator Bot->Trading Bot->Learning Bot->" }, "childrenNodesProperties": [ @@ -10787,7 +10787,7 @@ ], "addLeftIcons": true, "level": 2, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Process Definition->" }, "childrenNodesProperties": [ @@ -10848,7 +10848,7 @@ ], "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Process Definition->" }, "childrenNodesProperties": [ @@ -10907,10 +10907,10 @@ "Use Reference Parent Parent" ], "level": 3, - "referenceAttachesTo": { + "referencingRules": { "compatibleTypes": "->Status Report->" }, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Process Dependencies->" }, "propertyNameAtParent": "statusDependencies" @@ -10930,7 +10930,7 @@ ], "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Process Definition->" }, "propertyNameAtParent": "statusReport" @@ -10955,10 +10955,10 @@ ], "addLeftIcons": true, "level": 3, - "referenceAttachesTo": { + "referencingRules": { "compatibleTypes": "->Execution Finished Event->" }, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Process Definition->Trading Process Instance->Learning Process Instance->" }, "propertyNameAtParent": "executionStartedEvent" @@ -10978,7 +10978,7 @@ ], "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Process Definition->" }, "propertyNameAtParent": "executionFinishedEvent" @@ -11010,7 +11010,7 @@ ], "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Process Output->Output Dataset Folder->" }, "childrenNodesProperties": [ @@ -11056,7 +11056,7 @@ ], "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Trading Bot->Learning Bot->Product Definition Folder->" }, "childrenNodesProperties": [ @@ -11125,10 +11125,10 @@ "config": "{ \n \"codeName\": \"Product-Name\", \n \"singularVariableName\": \"productName\", \n \"pluralVariableName\": \"productNames\"\n}" }, "level": 3, - "referenceAttachesTo": { + "referencingRules": { "compatibleTypes": "->Plotter Module->" }, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Sensor Bot->Indicator Bot->Trading Bot->Learning Bot->Product Definition Folder->" }, "childrenNodesProperties": [ @@ -11187,7 +11187,7 @@ "config": "{ \n\"configuration\": \"Get the appropriate configuration from the documentation\"\n}" }, "level": 2, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Product Definition->" }, "propertyNameAtParent": "datasets" @@ -11234,7 +11234,7 @@ "config": "{ \n \"codeName\": \"\"\n}" }, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Data Mine->" }, "childrenNodesProperties": [ @@ -11273,10 +11273,10 @@ ], "addLeftIcons": true, "level": 3, - "referenceAttachesTo": { + "referencingRules": { "compatibleTypes": "->Dataset Definition->" }, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Process Output->Output Dataset Folder->" }, "propertyNameAtParent": "outputDatasets" @@ -11301,10 +11301,10 @@ ], "addLeftIcons": true, "level": 3, - "referenceAttachesTo": { + "referencingRules": { "compatibleTypes": "->Dataset Definition->" }, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Process Dependencies->" }, "propertyNameAtParent": "dataDependencies" @@ -11330,7 +11330,7 @@ ], "addLeftIcons": true, "level": 2, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Product Definition->" }, "childrenNodesProperties": [ @@ -11381,7 +11381,7 @@ "config": true }, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Record Definition->" }, "childrenNodesProperties": [ @@ -11422,7 +11422,7 @@ "code": "// Type your formula" }, "level": 4, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Target Size In Base Asset->Target Size In Quoted Asset->Target Rate->Phase->Record Property->Simulated Actual Rate->Situation->Indicator Function->" }, "propertyNameAtParent": "formula" @@ -11456,7 +11456,7 @@ "code": "// Type your formula" }, "level": 4, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Announcement->" }, "propertyNameAtParent": "announcementFormula" @@ -11492,7 +11492,7 @@ ], "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Product Definition->" }, "childrenNodesProperties": [ @@ -11534,7 +11534,7 @@ ], "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Calculations Procedure->Data Building Procedure->" }, "childrenNodesProperties": [ @@ -11570,7 +11570,7 @@ ], "addLeftIcons": true, "level": 4, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Calculations Procedure->Data Building Procedure->" }, "childrenNodesProperties": [ @@ -11614,7 +11614,7 @@ ], "addLeftIcons": true, "level": 4, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Product Definition->" }, "childrenNodesProperties": [ @@ -11681,7 +11681,7 @@ "config": "{ \n \"codeName\": \"\"\n}" }, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Trading Mine->" }, "childrenNodesProperties": [ @@ -11754,7 +11754,7 @@ "config": "{ \n \"codeName\": \"\"\n}" }, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Learning Mine->" }, "childrenNodesProperties": [ @@ -11815,7 +11815,7 @@ "config": "{ \n \"codeName\": \"\"\n}" }, "level": 2, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Data Mine->" }, "childrenNodesProperties": [ @@ -11908,7 +11908,7 @@ "isTitleAllwaysVisible": true, "addLeftIcons": true, "level": 1, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Trading System->" }, "childrenNodesProperties": [ @@ -11966,7 +11966,7 @@ ], "addLeftIcons": true, "level": 2, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Trading Strategy->" }, "childrenNodesProperties": [ @@ -12023,7 +12023,7 @@ ], "addLeftIcons": true, "level": 2, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Trigger Stage->" }, "childrenNodesProperties": [ @@ -12068,7 +12068,7 @@ ], "addLeftIcons": true, "level": 2, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Trigger Stage->" }, "childrenNodesProperties": [ @@ -12113,7 +12113,7 @@ ], "addLeftIcons": true, "level": 2, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Trigger Stage->" }, "childrenNodesProperties": [ @@ -12158,7 +12158,7 @@ ], "addLeftIcons": true, "level": 1, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Trading Strategy->" }, "childrenNodesProperties": [ @@ -12215,7 +12215,7 @@ ], "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Open Stage->Close Stage->" }, "childrenNodesProperties": [ @@ -12254,7 +12254,7 @@ ], "addLeftIcons": true, "level": 2, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Open Stage->Close Stage->" }, "childrenNodesProperties": [ @@ -12300,7 +12300,7 @@ ], "addLeftIcons": true, "level": 1, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Manage Stage->Initial Definition->" }, "childrenNodesProperties": [ @@ -12357,7 +12357,7 @@ "addLeftIcons": true, "level": 1, "chainedToSameType": true, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Managed Stop->Managed Take Profit->Phase->" }, "childrenNodesProperties": [ @@ -12412,7 +12412,7 @@ ], "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Phase->" }, "childrenNodesProperties": [ @@ -12457,10 +12457,10 @@ ], "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Phase->" }, - "referenceAttachesTo": { + "referencingRules": { "compatibleTypes": "->Phase->" }, "childrenNodesProperties": [ @@ -12499,7 +12499,7 @@ ], "addLeftIcons": true, "level": 1, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Manage Stage->Initial Definition->" }, "childrenNodesProperties": [ @@ -12535,7 +12535,7 @@ ], "addLeftIcons": true, "level": 4, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Initial Targets->" }, "childrenNodesProperties": [ @@ -12571,7 +12571,7 @@ ], "addLeftIcons": true, "level": 4, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Initial Targets->" }, "childrenNodesProperties": [ @@ -12607,7 +12607,7 @@ ], "addLeftIcons": true, "level": 4, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Initial Targets->" }, "childrenNodesProperties": [ @@ -12643,7 +12643,7 @@ ], "addLeftIcons": true, "level": 4, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Limit Buy Order->Limit Sell Order->" }, "childrenNodesProperties": [ @@ -12677,7 +12677,7 @@ ], "addLeftIcons": true, "level": 4, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Open Stage->" }, "propertyNameAtParent": "openExecution", @@ -12741,7 +12741,7 @@ }, "addLeftIcons": true, "level": 4, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Open Execution->Close Execution->" }, "propertyNameAtParent": "executionAlgorithms", @@ -12812,10 +12812,10 @@ }, "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Execution Algorithm->" }, - "referenceAttachesTo": { + "referencingRules": { "compatibleTypes": "->Market Order->" }, "propertyNameAtParent": "marketBuyOrders", @@ -12878,10 +12878,10 @@ }, "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Execution Algorithm->" }, - "referenceAttachesTo": { + "referencingRules": { "compatibleTypes": "->Market Order->" }, "propertyNameAtParent": "marketSellOrders", @@ -12960,10 +12960,10 @@ }, "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Execution Algorithm->" }, - "referenceAttachesTo": { + "referencingRules": { "compatibleTypes": "->Limit Order->" }, "propertyNameAtParent": "limitBuyOrders", @@ -13053,10 +13053,10 @@ }, "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Execution Algorithm->" }, - "referenceAttachesTo": { + "referencingRules": { "compatibleTypes": "->Limit Order->" }, "propertyNameAtParent": "limitSellOrders", @@ -13113,7 +13113,7 @@ ], "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Market Buy Order->Market Sell Order->Limit Buy Order->Limit Sell Order->" }, "childrenNodesProperties": [ @@ -13158,7 +13158,7 @@ ], "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Market Buy Order->Market Sell Order->Limit Buy Order->Limit Sell Order->" }, "childrenNodesProperties": [ @@ -13215,7 +13215,7 @@ ], "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Market Buy Order->Market Sell Order->Limit Buy Order->Limit Sell Order->" }, "childrenNodesProperties": [ @@ -13268,7 +13268,7 @@ }, "addLeftIcons": true, "level": 4, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Simulated Exchange Events->" }, "propertyNameAtParent": "simulatedPartialFill" @@ -13296,7 +13296,7 @@ ], "addLeftIcons": true, "level": 4, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Simulated Exchange Events->" }, "childrenNodesProperties": [ @@ -13337,7 +13337,7 @@ }, "addLeftIcons": true, "level": 4, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Simulated Exchange Events->" }, "propertyNameAtParent": "simulatedFeesPaid" @@ -13369,7 +13369,7 @@ ], "addLeftIcons": true, "level": 1, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Trading Strategy->" }, "childrenNodesProperties": [ @@ -13420,7 +13420,7 @@ ], "addLeftIcons": true, "level": 2, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Trading Strategy->" }, "childrenNodesProperties": [ @@ -13471,7 +13471,7 @@ ], "addLeftIcons": true, "level": 2, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Close Stage->" }, "propertyNameAtParent": "closeExecution", @@ -13504,7 +13504,7 @@ ], "addLeftIcons": true, "level": 4, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Backtesting Session->Live Trading Session->Paper Trading Session->Forward Testing Session->Learning Session->" }, "childrenNodesProperties": [ @@ -13545,7 +13545,7 @@ }, "addLeftIcons": true, "level": 4, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Social Bots->" }, "childrenNodesProperties": [], @@ -13595,7 +13595,7 @@ }, "addLeftIcons": true, "level": 4, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Trigger On Event->Trigger Off Event->Take Position Event->Next Phase Event->Move To Phase Event->Phase->Trigger Stage->Open Stage->Manage Stage->Close Stage->Create Order Event->Cancel Order Event->" }, "childrenNodesProperties": [ @@ -13642,7 +13642,7 @@ }, "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Announcement->" }, "propertyNameAtParent": "announcementCondition" @@ -13702,7 +13702,7 @@ "isTitleAllwaysVisible": false, "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Crypto Ecosystem->" }, "childrenNodesProperties": [ @@ -13734,7 +13734,7 @@ ], "addLeftIcons": true, "level": 1, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Crypto Ecosystem->" }, "propertyNameAtParent": "signalsProviders", @@ -13779,7 +13779,7 @@ ], "addLeftIcons": true, "level": 2, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Signals Providers->" }, "editors": { @@ -13822,7 +13822,7 @@ "isTitleAllwaysVisible": true, "addLeftIcons": true, "level": 1, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Crypto Ecosystem->" }, "propertyNameAtParent": "cryptoExchanges", @@ -13888,7 +13888,7 @@ "initialValues": { "config": "{ \n\"codeName\": \"Type the name of the exchange\"\n}" }, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Crypto Exchanges->" }, "propertyNameAtParent": "exchanges", @@ -13998,7 +13998,7 @@ }, "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Crypto Exchange->" }, "propertyNameAtParent": "exchangeAssets", @@ -14039,7 +14039,7 @@ "initialValues": { "config": "{ \n\"codeName\": \"Type the code name of the asset\"\n}" }, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Exchange Assets->" }, "propertyNameAtParent": "assets", @@ -14140,7 +14140,7 @@ ], "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Crypto Exchange->" }, "propertyNameAtParent": "exchangeMarkets", @@ -14229,7 +14229,7 @@ "initialValues": { "config": "{ \n\"codeName\": \"Type the name of the market\"\n}" }, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Exchange Markets->" }, "propertyNameAtParent": "markets" @@ -14255,7 +14255,7 @@ ], "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Crypto Exchange->" }, "propertyNameAtParent": "exchangeAccounts", @@ -14300,7 +14300,7 @@ ], "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Exchange Accounts->" }, "propertyNameAtParent": "userAccounts", @@ -14341,7 +14341,7 @@ ], "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->User Account->" }, "propertyNameAtParent": "userAssets", @@ -14375,7 +14375,7 @@ ], "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->User Account->" }, "propertyNameAtParent": "userKeys", @@ -14405,10 +14405,10 @@ "isTitleAllwaysVisible": true, "addLeftIcons": true, "level": 4, - "referenceAttachesTo": { + "referencingRules": { "compatibleTypes": "->Asset->" }, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->User Assets->" }, "title": [ @@ -14447,7 +14447,7 @@ "config": true }, "level": 4, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->User Keys->" }, "propertyNameAtParent": "keys", @@ -14504,7 +14504,7 @@ "type": "Space Style", "level": 4, "propertyNameAtParent": "spaceStyle", - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Charting Space->Design Space->" }, "editors": { @@ -14537,7 +14537,7 @@ "type": "Space Settings", "level": 4, "propertyNameAtParent": "spaceSettings", - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Charting Space->Design Space->" }, "editors": { @@ -14681,7 +14681,7 @@ "alternativeIcons": "Use Reference Parent Parent", "addLeftIcons": true, "level": 2, - "referenceAttachesTo": { + "referencingRules": { "compatibleTypes": "->Project Definition->" }, "propertyNameAtParent": "projectDashboards", @@ -14724,10 +14724,10 @@ ], "addLeftIcons": true, "level": 1, - "referenceAttachesTo": { + "referencingRules": { "compatibleTypes": "->Testing Trading Tasks->Production Trading Tasks->" }, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Project Dashboards->" }, "propertyNameAtParent": "dashboards", @@ -14799,10 +14799,10 @@ }, "level": 1, "isTitleAllwaysVisible": true, - "referenceAttachesTo": { + "referencingRules": { "compatibleTypes": "->Backtesting Session->Paper Trading Session->Forward Testing Session->Live Trading Session->" }, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Dashboard->Template Structure->" }, "propertyNameAtParent": "timeMachines", @@ -14853,7 +14853,7 @@ "config": true }, "level": 2, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Charting Space->" }, "propertyNameAtParent": "viewport" @@ -14887,7 +14887,7 @@ "config": true }, "level": 2, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Time Machine->" }, "propertyNameAtParent": "timeScale" @@ -14921,7 +14921,7 @@ "config": true }, "level": 2, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Time Machine->Timeline Chart->" }, "propertyNameAtParent": "rateScale" @@ -14955,7 +14955,7 @@ "config": true }, "level": 2, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Time Machine->Timeline Chart->" }, "propertyNameAtParent": "timeFrameScale" @@ -15000,10 +15000,10 @@ "addLeftIcons": true, "level": 2, "isTitleAllwaysVisible": true, - "referenceAttachesTo": { + "referencingRules": { "compatibleTypes": "->Market->" }, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Time Machine->" }, "propertyNameAtParent": "timelineCharts", @@ -15079,10 +15079,10 @@ "config": "{ \n\"visibleLayers\": 5\n}" }, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Timeline Chart->" }, - "referenceAttachesTo": { + "referencingRules": { "compatibleTypes": "->Data Mine Products->Trading Mine Products->Learning Mine Products->" }, "propertyNameAtParent": "layerManager", @@ -15140,10 +15140,10 @@ "title": [ "Use Reference Parent" ], - "referenceAttachesTo": { + "referencingRules": { "compatibleTypes": "->Data Product->" }, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Layer Manager->Bot Layers->Layer Folder->" }, "propertyNameAtParent": "layers", @@ -15187,7 +15187,7 @@ ], "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Layer->" }, "propertyNameAtParent": "layerPanels", @@ -15232,10 +15232,10 @@ }, "addLeftIcons": true, "level": 3, - "referenceAttachesTo": { + "referencingRules": { "compatibleTypes": "->Plotter Panel->" }, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Layer Panels->" }, "propertyNameAtParent": "layerPanels", @@ -15269,7 +15269,7 @@ ], "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Layer->" }, "propertyNameAtParent": "layerPolygons", @@ -15314,10 +15314,10 @@ }, "addLeftIcons": true, "level": 3, - "referenceAttachesTo": { + "referencingRules": { "compatibleTypes": "->Polygon->" }, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Layer Polygons->" }, "propertyNameAtParent": "layerPolygons", @@ -15351,7 +15351,7 @@ ], "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Layer Manager->" }, "propertyNameAtParent": "botLayers", @@ -15397,7 +15397,7 @@ ], "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Layer Folder->Bot Layers->" }, "propertyNameAtParent": "layerFolders", @@ -15455,7 +15455,7 @@ ], "addLeftIcons": true, "level": 2, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Network Node->" }, "propertyNameAtParent": "dataStorage", @@ -15530,10 +15530,10 @@ ], "addLeftIcons": true, "level": 2, - "referenceAttachesTo": { + "referencingRules": { "compatibleTypes": "->Data Mine->" }, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Market Data Tasks->" }, "alternativeIcons": "Use Reference Parent", @@ -15601,10 +15601,10 @@ ], "addLeftIcons": true, "level": 2, - "referenceAttachesTo": { + "referencingRules": { "compatibleTypes": "->Trading Mine->" }, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Market Trading Tasks->" }, "alternativeIcons": "Use Reference Parent", @@ -15672,10 +15672,10 @@ ], "addLeftIcons": true, "level": 2, - "referenceAttachesTo": { + "referencingRules": { "compatibleTypes": "->Learning Mine->" }, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Market Learning Tasks->" }, "alternativeIcons": "Use Reference Parent", @@ -15743,10 +15743,10 @@ ], "addLeftIcons": true, "level": 2, - "referenceAttachesTo": { + "referencingRules": { "compatibleTypes": "->Market->" }, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Exchange Data Tasks->" }, "alternativeIcons": "Use Reference Parent", @@ -15815,10 +15815,10 @@ ], "addLeftIcons": true, "level": 2, - "referenceAttachesTo": { + "referencingRules": { "compatibleTypes": "->Market->" }, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Exchange Trading Tasks->" }, "alternativeIcons": "Use Reference Parent", @@ -15887,10 +15887,10 @@ ], "addLeftIcons": true, "level": 2, - "referenceAttachesTo": { + "referencingRules": { "compatibleTypes": "->Market->" }, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Exchange Learning Tasks->" }, "alternativeIcons": "Use Reference Parent", @@ -15959,10 +15959,10 @@ ], "addLeftIcons": true, "level": 2, - "referenceAttachesTo": { + "referencingRules": { "compatibleTypes": "->Crypto Exchange->" }, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Project Data Tasks->" }, "alternativeIcons": "Use Reference Parent", @@ -16030,10 +16030,10 @@ ], "addLeftIcons": true, "level": 2, - "referenceAttachesTo": { + "referencingRules": { "compatibleTypes": "->Crypto Exchange->" }, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Project Trading Tasks->" }, "alternativeIcons": "Use Reference Parent", @@ -16101,10 +16101,10 @@ ], "addLeftIcons": true, "level": 2, - "referenceAttachesTo": { + "referencingRules": { "compatibleTypes": "->Crypto Exchange->" }, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Project Learning Tasks->" }, "alternativeIcons": "Use Reference Parent", @@ -16176,10 +16176,10 @@ "alternativeIcons": "Use Reference Parent Parent", "addLeftIcons": true, "level": 2, - "referenceAttachesTo": { + "referencingRules": { "compatibleTypes": "->Project Definition->" }, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Data Tasks->" }, "propertyNameAtParent": "projectDataTasks", @@ -16243,7 +16243,7 @@ ], "addLeftIcons": true, "level": 2, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Network Node->" }, "propertyNameAtParent": "dataTasks", @@ -16310,10 +16310,10 @@ "alternativeIcons": "Use Reference Parent Parent", "addLeftIcons": true, "level": 2, - "referenceAttachesTo": { + "referencingRules": { "compatibleTypes": "->Project Definition->" }, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Learning Tasks->" }, "propertyNameAtParent": "projectLearningTasks", @@ -16377,7 +16377,7 @@ ], "addLeftIcons": true, "level": 2, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Network Node->" }, "propertyNameAtParent": "learningTasks", @@ -16444,10 +16444,10 @@ "alternativeIcons": "Use Reference Parent Parent", "addLeftIcons": true, "level": 2, - "referenceAttachesTo": { + "referencingRules": { "compatibleTypes": "->Project Definition->" }, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Testing Trading Tasks->Production Trading Tasks->" }, "propertyNameAtParent": "projectTradingTasks", @@ -16511,7 +16511,7 @@ ], "addLeftIcons": true, "level": 0, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Network Node->" }, "propertyNameAtParent": "testingTradingTasks", @@ -16574,7 +16574,7 @@ ], "addLeftIcons": true, "level": 0, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Network Node->" }, "propertyNameAtParent": "productionTradingTasks", @@ -16622,10 +16622,10 @@ "isTitleAllwaysVisible": true, "addLeftIcons": true, "level": 3, - "referenceAttachesTo": { + "referencingRules": { "compatibleTypes": "->Crypto Exchange->" }, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Project Data Products->" }, "propertyNameAtParent": "exchangeDataProducts", @@ -16667,7 +16667,7 @@ ], "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Data Storage->" }, "propertyNameAtParent": "dataMinesData", @@ -16713,10 +16713,10 @@ "alternativeIcons": "Use Reference Parent Parent", "addLeftIcons": true, "level": 2, - "referenceAttachesTo": { + "referencingRules": { "compatibleTypes": "->Project Definition->" }, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Data Mines Data->" }, "propertyNameAtParent": "projectDataProducts", @@ -16763,10 +16763,10 @@ "alternativeIcons": "Use Reference Parent Parent", "addLeftIcons": true, "level": 2, - "referenceAttachesTo": { + "referencingRules": { "compatibleTypes": "->Project Definition->" }, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Trading Mines Data->" }, "propertyNameAtParent": "projectTradingProducts", @@ -16813,10 +16813,10 @@ "alternativeIcons": "Use Reference Parent Parent", "addLeftIcons": true, "level": 2, - "referenceAttachesTo": { + "referencingRules": { "compatibleTypes": "->Project Definition->" }, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Learning Mines Data->" }, "propertyNameAtParent": "projectLearningProducts", @@ -16864,10 +16864,10 @@ "isTitleAllwaysVisible": true, "addLeftIcons": true, "level": 3, - "referenceAttachesTo": { + "referencingRules": { "compatibleTypes": "->Crypto Exchange->" }, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Project Trading Products->" }, "propertyNameAtParent": "exchangeTradingProducts", @@ -16915,10 +16915,10 @@ "isTitleAllwaysVisible": true, "addLeftIcons": true, "level": 3, - "referenceAttachesTo": { + "referencingRules": { "compatibleTypes": "->Crypto Exchange->" }, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Project Learning Products->" }, "propertyNameAtParent": "exchangeLearningProducts", @@ -16961,7 +16961,7 @@ ], "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Data Storage->" }, "propertyNameAtParent": "tradingMinesData", @@ -17003,7 +17003,7 @@ ], "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Data Storage->" }, "propertyNameAtParent": "learningMinesData", @@ -17058,10 +17058,10 @@ "addLeftIcons": true, "level": 3, "alternativeIcons": "Use Reference Parent", - "referenceAttachesTo": { + "referencingRules": { "compatibleTypes": "->Backtesting Session->Paper Trading Session->Forward Testing Session->Live Trading Session->" }, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Market Trading Products->" }, "propertyNameAtParent": "tradingSessionReferences", @@ -17123,10 +17123,10 @@ "addLeftIcons": true, "level": 3, "alternativeIcons": "Use Reference Parent", - "referenceAttachesTo": { + "referencingRules": { "compatibleTypes": "->Learning Session->" }, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Market Learning Products->" }, "propertyNameAtParent": "learningSessionReferences", @@ -17186,10 +17186,10 @@ "Use Reference Parent Parent Parent", "Use Reference Parent" ], - "referenceAttachesTo": { + "referencingRules": { "compatibleTypes": "->Market->" }, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Exchange Data Products->" }, "propertyNameAtParent": "marketDataProducts", @@ -17243,10 +17243,10 @@ "Use Reference Parent Parent Parent", "Use Reference Parent" ], - "referenceAttachesTo": { + "referencingRules": { "compatibleTypes": "->Market->" }, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Exchange Trading Products->" }, "propertyNameAtParent": "marketTradingProducts", @@ -17293,10 +17293,10 @@ "Use Reference Parent Parent Parent", "Use Reference Parent" ], - "referenceAttachesTo": { + "referencingRules": { "compatibleTypes": "->Market->" }, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Exchange Learning Products->" }, "propertyNameAtParent": "marketLearningProducts", @@ -17327,10 +17327,10 @@ "title": [ "Use Reference Parent" ], - "referenceAttachesTo": { + "referencingRules": { "compatibleTypes": "->Product Definition->" }, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Market Data Products->Data Product Folder->Bot Products->Trading Session Reference->" }, "propertyNameAtParent": "dataProducts", @@ -17370,10 +17370,10 @@ "title": [ "Use Reference Parent" ], - "referenceAttachesTo": { + "referencingRules": { "compatibleTypes": "->Data Mine->" }, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Market Data Products->" }, "propertyNameAtParent": "dataMineProducts", @@ -17420,10 +17420,10 @@ "title": [ "Use Reference Parent" ], - "referenceAttachesTo": { + "referencingRules": { "compatibleTypes": "->Trading Mine->" }, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Trading Session Reference->" }, "propertyNameAtParent": "tradingMineProducts", @@ -17470,10 +17470,10 @@ "title": [ "Use Reference Parent" ], - "referenceAttachesTo": { + "referencingRules": { "compatibleTypes": "->Learning Mine->" }, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Learning Session Reference->" }, "propertyNameAtParent": "learningMineProducts", @@ -17513,7 +17513,7 @@ ], "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Data Mine Products->Trading Mine Products->Learning Mine Products->" }, "propertyNameAtParent": "botProducts", @@ -17559,7 +17559,7 @@ ], "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Data Product Folder->Bot Products->" }, "propertyNameAtParent": "dataProductFolders", @@ -17648,7 +17648,7 @@ "addLeftIcons": true, "level": 1, "propertyNameAtParent": "pluginProjects", - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Plugins->" }, "childrenNodesProperties": [ @@ -17725,7 +17725,7 @@ "addLeftIcons": true, "level": 1, "propertyNameAtParent": "pluginDataMines", - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Plugin Project->" }, "childrenNodesProperties": [ @@ -17762,7 +17762,7 @@ "addLeftIcons": true, "level": 1, "propertyNameAtParent": "pluginTradingMines", - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Plugin Project->" }, "childrenNodesProperties": [ @@ -17799,7 +17799,7 @@ "addLeftIcons": true, "level": 1, "propertyNameAtParent": "pluginTradingSystems", - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Plugin Project->" }, "childrenNodesProperties": [ @@ -17836,7 +17836,7 @@ "addLeftIcons": true, "level": 1, "propertyNameAtParent": "pluginTradingEngines", - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Plugin Project->" }, "childrenNodesProperties": [ @@ -17873,7 +17873,7 @@ "addLeftIcons": true, "level": 1, "propertyNameAtParent": "pluginSuperScripts", - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Plugin Project->" }, "childrenNodesProperties": [ @@ -17910,7 +17910,7 @@ "addLeftIcons": true, "level": 1, "propertyNameAtParent": "pluginTutorials", - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Plugin Project->" }, "childrenNodesProperties": [ @@ -17946,7 +17946,7 @@ "addLeftIcons": true, "level": 2, "propertyNameAtParent": "pluginFiles", - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Plugin Tutorials->Plugin Super Scripts->Plugin Trading Engines->Plugin Trading Systems->Plugin Trading Mines->Plugin Data Mines->" }, "childrenNodesProperties": [ @@ -18112,11 +18112,11 @@ "initialValues": { "config": "{ \n\"title\": \"\",\n \"summary\": \"\",\n \"gif\": \"\",\n \"image\": \"\",\n \"definition\": \"\",\n \"bulletListIntro\": \"\",\n \"bulletArray\": \n[\n [\"\", \"\"], \n[\"\", \"\"], \n[\"\", \"\"] \n],\n \"paragraph1\": \"\",\n \"callOut\": \"\",\n \"externalLink\": [\"\", \"\"],\n \"paragraph2\": \"\",\n \"note\": \"\",\n \"tip\": \"\",\n \"important\": \"\",\n \"warning\": \"\", \n \"position\": \"\",\n \"slider\": \"toTop\",\n \"pressButton\": \"\",\n \"documentationURL\": \"\" \n}" }, - "referenceAttachesTo": { + "referencingRules": { "compatibleTypes": "->*Any Node*->", "incompatibleTypes": "->Tutorial->Tutorial Topic->Tutorial Step->" }, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Tutorial->Tutorial Topic->" }, "addLeftIcons": true, @@ -18177,11 +18177,11 @@ "initialValues": { "config": "{ \n \"subTitle\": \"\",\n \"gif\": \"\",\n \"image\": \"\",\n \"definition\": \"\",\n \"bulletListIntro\": \"\",\n \"bulletArray\": \n[\n [\"\", \"\"], \n[\"\", \"\"], \n[\"\", \"\"] \n],\n \"paragraph1\": \"\",\n \"callOut\": \"\",\n \"externalLink\": [\"\", \"\"],\n \"paragraph2\": \"\",\n \"note\": \"\",\n \"tip\": \"\",\n \"important\": \"\",\n \"warning\": \"\", \n \"position\": \"\",\n \"slider\": \"toTop\",\n \"pressButton\": \"\",\n \"documentationURL\": \"\" \n}" }, - "referenceAttachesTo": { + "referencingRules": { "compatibleTypes": "->*Any Node*->", "incompatibleTypes": "->Tutorial Topic->Tutorial Step->" }, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Tutorial->Tutorial Topic->" }, "addLeftIcons": true, @@ -18223,10 +18223,10 @@ "title": [ "Use Reference Parent" ], - "referenceAttachesTo": { + "referencingRules": { "compatibleTypes": "->Data Mine->" }, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Process Dependencies->" }, "propertyNameAtParent": "dataMineDataDependencies", @@ -18266,7 +18266,7 @@ ], "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Data Mine Data Dependencies->" }, "propertyNameAtParent": "botDataDependencies", @@ -18312,7 +18312,7 @@ ], "addLeftIcons": true, "level": 3, - "chainAttachesTo": { + "attachingRules": { "compatibleTypes": "->Data Dependency Folder->Bot Data Dependencies->" }, "propertyNameAtParent": "dataDependencyFolders", diff --git a/Projects/Superalgos/UI/Spaces/Docs-Space/DocsSpace.js b/Projects/Superalgos/UI/Spaces/Docs-Space/DocsSpace.js index 58101c283..490503823 100644 --- a/Projects/Superalgos/UI/Spaces/Docs-Space/DocsSpace.js +++ b/Projects/Superalgos/UI/Spaces/Docs-Space/DocsSpace.js @@ -595,7 +595,7 @@ function newSuperalgosDocSpace() { let collectionImage = getIcon() let imageElement = collectionImage.cloneNode() - imageElement.className = "docs-menu-item-image" + imageElement.className = "docs-collapsible-image" let parentElement = document.getElementById('docs-menu-item-' + i + '') let dummyImage = parentElement.childNodes[0] @@ -622,7 +622,7 @@ function newSuperalgosDocSpace() { let collectionImage = getIcon() let imageElement = collectionImage.cloneNode() - imageElement.className = "docs-children-nodes-property-image" + imageElement.className = "docs-collapsible-image" let parentElement = document.getElementById('docs-children-nodes-property-' + i + '') let dummyImage = parentElement.childNodes[0] @@ -642,6 +642,7 @@ function newSuperalgosDocSpace() { function autoGeneratedHtml() { generateMenuItems() generateChildrenNodesProperties() + generateAttachRules() function generateMenuItems() { /* @@ -659,7 +660,7 @@ function newSuperalgosDocSpace() { paragraphIndex++ paragraph = { style: "Text", - text: "Each type of node, might have a menu defined so that users can interact with the node. There is no fixed set of menu items. Instead each menu item is defined at each node's definition. Each menu item defined carries a set of properties that allow the system to execute some action when the menu item is clicked by users. The " + nodeAppDefinition.type + " node has the following menu items:" + text: "Each type of node, might have a menu defines so that users can interact with the node. There is no fixed set of menu items. Instead each menu item is defined at each node's definition. Each menu item defined carries a set of properties that allow the system to execute some action when the menu item is clicked by users. The " + nodeAppDefinition.type + " node has the following menu items:" } renderParagraph(paragraph, key) paragraphIndex++ @@ -746,54 +747,46 @@ function newSuperalgosDocSpace() { function generateAttachRules() { /* - Menu Items + Attaching Rules */ let paragraph let key = 'auto-generated-paragraph-' + paragraphIndex - if (nodeAppDefinition === undefined || nodeAppDefinition.menuItems === undefined) { return } + if (nodeAppDefinition === undefined || (nodeAppDefinition.attachingRules === undefined && nodeAppDefinition.referencingRules === undefined)) { return } paragraph = { style: "Title", - text: "" + nodeAppDefinition.type + " Menu" + text: "" + nodeAppDefinition.type + " Attaching Rules" } renderParagraph(paragraph, key) paragraphIndex++ paragraph = { style: "Text", - text: "Each type of node, might have a menu defined so that users can interact with the node. There is no fixed set of menu items. Instead each menu item is defined at each node's definition. Each menu item defined carries a set of properties that allow the system to execute some action when the menu item is clicked by users. The " + nodeAppDefinition.type + " node has the following menu items:" + text: "Each type of node, might have a set of rules that defines to which nodes it can be attached to. Usually the nodes it can attach to have listed at their own definitions " + nodeAppDefinition.type + " as one of its potential children. That does not mean that " + nodeAppDefinition.type + " can be created at those parents; only if there is a menu item for adding it, then it will be possible, otherwise it might be created at some other node and later attached to one of the nodes defined in these rules. The following are the rules that govern the attacment of " + nodeAppDefinition.type + " with other nodes:" } renderParagraph(paragraph, key) paragraphIndex++ - for (let i = 0; i < nodeAppDefinition.menuItems.length; i++) { - let menuItem = nodeAppDefinition.menuItems[i] - HTML = HTML + '' - HTML = HTML + '
' - - paragraph = { - style: "Text", - text: 'The ' + menuItem.label + ' menu item has the following properties:' - } - renderParagraph(paragraph, key) - paragraphIndex++ - - for (const property in menuItem) { + if (nodeAppDefinition.attachingRules !== undefined) { + if (nodeAppDefinition.attachingRules.compatibleTypes !== undefined) { paragraph = { - style: "List", - text: property + ": " + menuItem[property] + style: "Subtitle", + text: "Compatible Types:" } renderParagraph(paragraph, key) paragraphIndex++ - } - HTML = HTML + '
' + let splittedCompatibleTypes = nodeAppDefinition.attachingRules.compatibleTypes.split('->') + listAllTheseNodes(splittedCompatibleTypes, 'attaching-rules-compatible-types') + } } - paragraph = { - style: "Success", - text: "When any of the menu items is grayed out, it means that " + nodeAppDefinition.type + " already has the type of children that that menu item can add, and that only one children is possible in that case. " + + function listAllTheseNodes(nodeList, additionToKey) { + for (let i = 0; i < nodeList.length; i++) { + let listItem = nodeList[i] + if (listItem === "") { continue } + HTML = HTML + '' + } } - renderParagraph(paragraph, key) - paragraphIndex++ } } @@ -1003,7 +996,7 @@ function newSuperalgosDocSpace() { const TOOL_TIP_HTML = '
TYPE_LABELDEFINITION
' const LINK_ONLY_HTML = '' - + let resultingText = '' text = tagNodesAndConceptTypes(text, objectBeingRendered.type) let splittedText = text.split('->') @@ -1047,12 +1040,12 @@ function newSuperalgosDocSpace() { let definition = definitionNode.definition if (definition === undefined || definition === "") { let tooltip = LINK_ONLY_HTML - .replace('CATEGORY', category) - .replace('TYPE', type) - .replace('PROJECT', project) - .replace('TYPE_LABEL', type) + .replace('CATEGORY', category) + .replace('TYPE', type) + .replace('PROJECT', project) + .replace('TYPE_LABEL', type) - resultingText = resultingText + firstPart + tooltip + resultingText = resultingText + firstPart + tooltip } else { let tooltip = TOOL_TIP_HTML .replace('CATEGORY', category) diff --git a/Projects/Superalgos/UI/Spaces/Floating-Space/UiObject.js b/Projects/Superalgos/UI/Spaces/Floating-Space/UiObject.js index a29678085..19ca34bc4 100644 --- a/Projects/Superalgos/UI/Spaces/Floating-Space/UiObject.js +++ b/Projects/Superalgos/UI/Spaces/Floating-Space/UiObject.js @@ -423,8 +423,8 @@ function newUiObject() { let nodeDefinition = getNodeDefinition(thisObject.payload.node) if (nodeDefinition !== undefined) { - if (nodeDefinition.chainAttachesTo !== undefined) { - compatibleTypes = nodeDefinition.chainAttachesTo.compatibleTypes + if (nodeDefinition.attachingRules !== undefined) { + compatibleTypes = nodeDefinition.attachingRules.compatibleTypes } else { return } @@ -565,8 +565,8 @@ function newUiObject() { let nodeDefinition = getNodeDefinition(thisObject.payload.node) if (nodeDefinition !== undefined) { - if (nodeDefinition.referenceAttachesTo !== undefined) { - compatibleTypes = nodeDefinition.referenceAttachesTo.compatibleTypes + if (nodeDefinition.referencingRules !== undefined) { + compatibleTypes = nodeDefinition.referencingRules.compatibleTypes } else { return } @@ -584,8 +584,8 @@ function newUiObject() { let floatingObject = nearby[1] let nearbyNode = floatingObject.payload.node if (compatibleTypes.indexOf('->' + nearbyNode.type + '->') >= 0 || compatibleTypes === "->*Any Node*->") { - if (nodeDefinition.referenceAttachesTo.incompatibleTypes !== undefined) { - if (nodeDefinition.referenceAttachesTo.incompatibleTypes.indexOf('->' + nearbyNode.type + '->') >= 0) { + if (nodeDefinition.referencingRules.incompatibleTypes !== undefined) { + if (nodeDefinition.referencingRules.incompatibleTypes.indexOf('->' + nearbyNode.type + '->') >= 0) { continue } }