Visual Scripting Modules moved in from Foundations
This commit is contained in:
1 parent
cd44cc0d72
commit
1f4fee8904
19 files changed
+109
-100
No files matched your search
Vendored
+11
-5
@@ -1,19 +1,25 @@
|
||||
{
|
||||
"files.exclude": {
|
||||
"**/Data-Storage": true,
|
||||
"**/Documentation": true,
|
||||
"**/Log-Files": true,
|
||||
"**/node_modules": true,
|
||||
"**/Deprecated-Code": true,
|
||||
"**/My-Social-Trading-Data": true,
|
||||
"**/My-Network-Nodes-Data": true,
|
||||
"**/My-Workspaces": true,
|
||||
"**/My-Secrets": true,
|
||||
"**/My-Data-Storage": true,
|
||||
"**/My-Log-Files": true,
|
||||
},
|
||||
"search.exclude": {
|
||||
"**/Data-Storage": true,
|
||||
"**/Documentation": true,
|
||||
"**/Log-Files": true,
|
||||
"**/node_modules": true,
|
||||
"**/Deprecated-Code": true,
|
||||
"**/My-Social-Trading-Data": true
|
||||
"**/My-Social-Trading-Data": true,
|
||||
"**/My-Network-Nodes-Data": true,
|
||||
"**/My-Workspaces": true,
|
||||
"**/My-Secrets": true,
|
||||
"**/My-Data-Storage": true,
|
||||
"**/My-Log-Files": true,
|
||||
},
|
||||
"search.maintainFileSearchCache": true
|
||||
}
|
||||
@@ -10,7 +10,6 @@ function newWorkspace() {
|
||||
workspaceNode: undefined,
|
||||
container: undefined,
|
||||
enabled: false,
|
||||
nodeChildren: undefined,
|
||||
eventsServerClients: new Map(),
|
||||
replaceWorkspaceByLoadingOne: replaceWorkspaceByLoadingOne,
|
||||
save: saveWorkspace,
|
||||
@@ -44,8 +43,6 @@ function newWorkspace() {
|
||||
thisObject.workspaceNode = {}
|
||||
thisObject.workspaceNode.rootNodes = []
|
||||
|
||||
thisObject.nodeChildren = newNodeChildren()
|
||||
|
||||
let savingWorkspaceIntervalId
|
||||
let workingAtTask = 0
|
||||
let loadedWorkspaceNode
|
||||
|
||||
@@ -359,7 +359,7 @@ function newFloatingObject() {
|
||||
if (parent.payload === undefined) { return }
|
||||
if (parent.payload.position === undefined) { return }
|
||||
distanceToParent = Math.sqrt(Math.pow(parent.payload.position.x - thisObject.container.frame.position.x, 2) + Math.pow(parent.payload.position.y - thisObject.container.frame.position.y, 2)) // ... we calculate the distance ...
|
||||
parentChildren = UI.projects.foundations.spaces.designSpace.workspace.nodeChildren.childrenCount(parent, thisObject.payload.node)
|
||||
parentChildren = UI.projects.foundations.functionLibraries.nodeChildren.childrenCount(parent, thisObject.payload.node)
|
||||
parentDistanceToGarndParent = parent.payload.distance
|
||||
}
|
||||
|
||||
|
||||
@@ -252,46 +252,11 @@
|
||||
}
|
||||
],
|
||||
"functionLibraries": [
|
||||
{
|
||||
"name": "Reference Attach Detach",
|
||||
"propertyName": "attachDetach",
|
||||
"functionName": "newFoundationsFunctionLibraryReferenceAttachDetach"
|
||||
},
|
||||
{
|
||||
"name": "Chain Attach Detach",
|
||||
"propertyName": "chainAttachDetach",
|
||||
"functionName": "newFoundationsFunctionLibraryChainAttachDetach"
|
||||
},
|
||||
{
|
||||
"name": "Node Deleter",
|
||||
"propertyName": "nodeDeleter",
|
||||
"functionName": "newFoundationsFunctionLibraryNodeDeleter"
|
||||
},
|
||||
{
|
||||
"name": "Ui Objects From Nodes",
|
||||
"propertyName": "uiObjectsFromNodes",
|
||||
"functionName": "newFoundationsFunctionLibraryUiObjectsFromNodes"
|
||||
},
|
||||
{
|
||||
"name": "Protocol Node",
|
||||
"propertyName": "protocolNode",
|
||||
"functionName": "newFoundationsFunctionLibraryProtocolNode"
|
||||
},
|
||||
{
|
||||
"name": "Node Cloning",
|
||||
"propertyName": "nodeCloning",
|
||||
"functionName": "newFoundationsFunctionLibraryNodeCloning"
|
||||
},
|
||||
{
|
||||
"name": "Shortcut Keys",
|
||||
"propertyName": "shortcutKeys",
|
||||
"functionName": "newFoundationsFunctionLibraryShortcutKeys"
|
||||
},
|
||||
{
|
||||
"name": "On Focus",
|
||||
"propertyName": "onFocus",
|
||||
"functionName": "newFoundationsFunctionLibraryOnFocus"
|
||||
},
|
||||
{
|
||||
"name": "Webhook Functions",
|
||||
"propertyName": "webhookFunctions",
|
||||
@@ -302,11 +267,6 @@
|
||||
"propertyName": "dependenciesFilter",
|
||||
"functionName": "newFoundationsFunctionLibraryDependenciesFilter"
|
||||
},
|
||||
{
|
||||
"name": "Node Path",
|
||||
"propertyName": "nodePath",
|
||||
"functionName": "newFoundationsFunctionLibraryNodePath"
|
||||
},
|
||||
{
|
||||
"name": "Task Functions",
|
||||
"propertyName": "taskFunctions",
|
||||
@@ -369,16 +329,6 @@
|
||||
"propertyName": "drawPrint",
|
||||
"functionName": "newFoundationsUtilitiesDrawPrint"
|
||||
},
|
||||
{
|
||||
"name": "Hierarchy",
|
||||
"propertyName": "hierarchy",
|
||||
"functionName": "newFoundationsUtilitiesHierarchy"
|
||||
},
|
||||
{
|
||||
"name": "Load Save Frame",
|
||||
"propertyName": "loadSaveFrame",
|
||||
"functionName": "newFoundationsUtilitiesLoadSaveFrame"
|
||||
},
|
||||
{
|
||||
"name": "Tutorial",
|
||||
"propertyName": "tutorial",
|
||||
@@ -389,21 +339,6 @@
|
||||
"propertyName": "menu",
|
||||
"functionName": "newFoundationsUtilitiesMenu"
|
||||
},
|
||||
{
|
||||
"name": "Meshes",
|
||||
"propertyName": "meshes",
|
||||
"functionName": "newFoundationsUtilitiesMeshes"
|
||||
},
|
||||
{
|
||||
"name": "Node Children",
|
||||
"propertyName": "nodeChildren",
|
||||
"functionName": "newFoundationsUtilitiesNodeChildren"
|
||||
},
|
||||
{
|
||||
"name": "Node Config",
|
||||
"propertyName": "nodeConfig",
|
||||
"functionName": "newFoundationsUtilitiesNodeConfig"
|
||||
},
|
||||
{
|
||||
"name": "Folders",
|
||||
"propertyName": "folders",
|
||||
@@ -651,12 +586,6 @@
|
||||
}
|
||||
],
|
||||
"utilities": [
|
||||
{
|
||||
"name": "Node Functions",
|
||||
"propertyName": "nodeFunctions",
|
||||
"functionName": "newFoundationsUtilitiesNodeFunctions",
|
||||
"fileName": "NodeFunctions.js"
|
||||
},
|
||||
{
|
||||
"name": "Date Time Functions",
|
||||
"propertyName": "dateTimeFunctions",
|
||||
@@ -733,8 +662,7 @@
|
||||
"functionName": "newFoundationsProcessModulesProcessOutput",
|
||||
"fileName": "ProcessOutput.js"
|
||||
}
|
||||
],
|
||||
"botModules": []
|
||||
]
|
||||
},
|
||||
"PL": {
|
||||
"utilities": [
|
||||
@@ -1616,11 +1544,89 @@
|
||||
"name": "Visual-Scripting",
|
||||
"propertyName": "visualScripting",
|
||||
"UI": {
|
||||
"functionLibraries": [],
|
||||
"utilities": []
|
||||
"functionLibraries": [
|
||||
{
|
||||
"name": "Reference Attach Detach",
|
||||
"propertyName": "attachDetach",
|
||||
"functionName": "newVisualScriptingFunctionLibraryReferenceAttachDetach"
|
||||
},
|
||||
{
|
||||
"name": "Chain Attach Detach",
|
||||
"propertyName": "chainAttachDetach",
|
||||
"functionName": "newVisualScriptingFunctionLibraryChainAttachDetach"
|
||||
},
|
||||
{
|
||||
"name": "Node Deleter",
|
||||
"propertyName": "nodeDeleter",
|
||||
"functionName": "newVisualScriptingFunctionLibraryNodeDeleter"
|
||||
},
|
||||
{
|
||||
"name": "Node Children",
|
||||
"propertyName": "nodeChildren",
|
||||
"functionName": "newVisualScriptingFunctionLibraryNodeChildren"
|
||||
},
|
||||
{
|
||||
"name": "Ui Objects From Nodes",
|
||||
"propertyName": "uiObjectsFromNodes",
|
||||
"functionName": "newVisualScritingFunctionLibraryUiObjectsFromNodes"
|
||||
},
|
||||
{
|
||||
"name": "Protocol Node",
|
||||
"propertyName": "protocolNode",
|
||||
"functionName": "newVisualScriptingFunctionLibraryProtocolNode"
|
||||
},
|
||||
{
|
||||
"name": "Node Cloning",
|
||||
"propertyName": "nodeCloning",
|
||||
"functionName": "newVisualScriptingFunctionLibraryNodeCloning"
|
||||
},
|
||||
{
|
||||
"name": "On Focus",
|
||||
"propertyName": "onFocus",
|
||||
"functionName": "newVisualScriptingFunctionLibraryOnFocus"
|
||||
},
|
||||
{
|
||||
"name": "Node Path",
|
||||
"propertyName": "nodePath",
|
||||
"functionName": "newVisualScriptingFunctionLibraryNodePath"
|
||||
}
|
||||
],
|
||||
"utilities": [
|
||||
{
|
||||
"name": "Hierarchy",
|
||||
"propertyName": "hierarchy",
|
||||
"functionName": "newVisualScriptingUtilitiesHierarchy"
|
||||
},
|
||||
{
|
||||
"name": "Load Save Frame",
|
||||
"propertyName": "loadSaveFrame",
|
||||
"functionName": "newVisualScriptingUtilitiesLoadSaveFrame"
|
||||
}, {
|
||||
"name": "Meshes",
|
||||
"propertyName": "meshes",
|
||||
"functionName": "newVisualScriptingUtilitiesMeshes"
|
||||
},
|
||||
{
|
||||
"name": "Node Children",
|
||||
"propertyName": "nodeChildren",
|
||||
"functionName": "newVisualScriptingUtilitiesNodeChildren"
|
||||
},
|
||||
{
|
||||
"name": "Node Config",
|
||||
"propertyName": "nodeConfig",
|
||||
"functionName": "newVisualScriptingUtilitiesNodeConfig"
|
||||
}
|
||||
]
|
||||
},
|
||||
"TS": {
|
||||
"botModules": []
|
||||
"utilities": [
|
||||
{
|
||||
"name": "Node Functions",
|
||||
"propertyName": "nodeFunctions",
|
||||
"functionName": "newVisualScriptingUtilitiesNodeFunctions",
|
||||
"fileName": "NodeFunctions.js"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
exports.newFoundationsUtilitiesNodeFunctions = function () {
|
||||
exports.newVisualScriptingUtilitiesNodeFunctions = function () {
|
||||
|
||||
let thisObject = {
|
||||
nodeBranchToArray: nodeBranchToArray,
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
function newFoundationsFunctionLibraryChainAttachDetach() {
|
||||
function newVisualScriptingFunctionLibraryChainAttachDetach() {
|
||||
let thisObject = {
|
||||
chainDetachNode: chainDetachNode,
|
||||
chainAttachNode: chainAttachNode
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
function newNodeChildren() {
|
||||
function newVisualScriptingFunctionLibraryNodeChildren() {
|
||||
let thisObject = {
|
||||
childrenCount: childrenCount
|
||||
}
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
function newFoundationsFunctionLibraryNodeCloning() {
|
||||
function newVisualScriptingFunctionLibraryNodeCloning() {
|
||||
const MODULE_NAME = 'Node Cloning'
|
||||
const ERROR_LOG = true
|
||||
const logger = newWebDebugLog()
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
function newFoundationsFunctionLibraryNodeDeleter() {
|
||||
function newVisualScriptingFunctionLibraryNodeDeleter() {
|
||||
let thisObject = {
|
||||
deleteWorkspace: deleteWorkspace,
|
||||
deleteUIObject: deleteUIObject
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
function newFoundationsFunctionLibraryNodePath() {
|
||||
function newVisualScriptingFunctionLibraryNodePath() {
|
||||
let thisObject = {
|
||||
getNodePath: getNodePath
|
||||
}
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
function newFoundationsFunctionLibraryOnFocus() {
|
||||
function newVisualScriptingFunctionLibraryOnFocus() {
|
||||
let thisObject = {
|
||||
getNodeThatIsOnFocus: getNodeThatIsOnFocus
|
||||
}
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
function newFoundationsFunctionLibraryProtocolNode() {
|
||||
function newVisualScriptingFunctionLibraryProtocolNode() {
|
||||
const MODULE_NAME = 'Protocol Node'
|
||||
const ERROR_LOG = true
|
||||
const logger = newWebDebugLog()
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
// These function are used across the system to establish and remove references between nodes
|
||||
function newFoundationsFunctionLibraryReferenceAttachDetach() {
|
||||
function newVisualScriptingFunctionLibraryReferenceAttachDetach() {
|
||||
let thisObject = {
|
||||
referenceDetachNode: referenceDetachNode,
|
||||
referenceAttachNode: referenceAttachNode
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
function newFoundationsFunctionLibraryUiObjectsFromNodes() {
|
||||
function newVisualScritingFunctionLibraryUiObjectsFromNodes() {
|
||||
let thisObject = {
|
||||
syncronizeTasksFoundAtWorkspaceWithBackEnd: syncronizeTasksFoundAtWorkspaceWithBackEnd,
|
||||
syncronizeTradingSessionsFoundAtWorkspaceWithBackEnd: syncronizeTradingSessionsFoundAtWorkspaceWithBackEnd,
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
function newFoundationsUtilitiesHierarchy() {
|
||||
function newVisualScriptingUtilitiesHierarchy() {
|
||||
let thisObject = {
|
||||
getHiriarchyMap: getHiriarchyMap,
|
||||
getHiriarchyHead: getHiriarchyHead,
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
function newFoundationsUtilitiesLoadSaveFrame() {
|
||||
function newVisualScriptingUtilitiesLoadSaveFrame() {
|
||||
let thisObject = {
|
||||
saveFrame: saveFrame,
|
||||
loadFrame: loadFrame
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
function newFoundationsUtilitiesMeshes() {
|
||||
function newVisualScriptingUtilitiesMeshes() {
|
||||
let thisObject = {
|
||||
findNodeInNodeMesh: findNodeInNodeMesh
|
||||
}
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
function newFoundationsUtilitiesNodeChildren() {
|
||||
function newVisualScriptingUtilitiesNodeChildren() {
|
||||
let thisObject = {
|
||||
isMissingChildrenById: isMissingChildrenById,
|
||||
isMissingChildrenByType: isMissingChildrenByType,
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
function newFoundationsUtilitiesNodeConfig() {
|
||||
function newVisualScriptingUtilitiesNodeConfig() {
|
||||
let thisObject = {
|
||||
saveConfigProperty: saveConfigProperty,
|
||||
loadConfigProperty: loadConfigProperty
|
||||
Reference in new issue
Block a user