Bug Fixed when dropping a new Workspace

This commit is contained in:
Luis Fernando Molina committed 2020-02-05 13:55:34 +01:00
1 parent bf1c81aef3
commit 1a640672d3
10 files changed
+83 -95

No files matched your search

@@ -145,7 +145,7 @@ function newNodeCloning () {
isPinned: node.payload.floatingObject.isPinned,
isFrozen: (node.payload.floatingObject.isFrozen && node.payload.floatingObject.frozenManually),
isCollapsed: (node.payload.floatingObject.isCollapsed && node.payload.floatingObject.collapsedManually),
tensionLevel: (node.payload.floatingObject.tensionLevel),
angleToParent: (node.payload.floatingObject.angleToParent),
distanceToParent: (node.payload.floatingObject.distanceToParent)
},
uiObject: {
@@ -148,7 +148,7 @@ function newProtocolNode () {
isPinned: node.payload.floatingObject.isPinned,
isFrozen: (node.payload.floatingObject.isFrozen && node.payload.floatingObject.frozenManually),
isCollapsed: (node.payload.floatingObject.isCollapsed && node.payload.floatingObject.collapsedManually),
tensionLevel: (node.payload.floatingObject.tensionLevel),
angleToParent: (node.payload.floatingObject.angleToParent),
distanceToParent: (node.payload.floatingObject.distanceToParent)
},
uiObject: {
@@ -140,7 +140,6 @@ function newWorkspace () {
workingAtTask++
break
case 6:
canvas.floatingSpace.warmUp()
workingAtTask = 0
circularProgressBar.visible = false
break
+2 -2
View File
@@ -263,7 +263,9 @@ function newFloatingLayer () {
for (let i = 0; i < visibleFloatingObjects.length; i++) {
let floatingObject = visibleFloatingObjects[i]
floatingObject.physics()
/* From here on, only if they are not too far. */
if (canvas.floatingSpace.isItFar(floatingObject.payload)) { continue }
if (floatingObject.positionLocked === false) {
@@ -341,8 +343,6 @@ function newFloatingLayer () {
// We let the Floating Object animate the physics loops by itself.
checkBoundaries(floatingObject)
floatingObject.physics()
/* Collision Control */
for (let k = i + 1; k < visibleFloatingObjects.length; k++) {
+54 -49
View File
@@ -22,8 +22,8 @@ function newFloatingObject () {
targetRadius: 0, // This is the target radius of the floating object with zoom applied. It should be animated until reaching this value.
isPinned: false,
isFrozen: false,
tensionLevel: TENSION_LEVEL.LEVEL_90,
distanceToParent: DISTANCE_TO_PARENT.SAME,
angleToParent: ANGLE_TO_PARENT.RANGE_90,
distanceToParent: DISTANCE_TO_PARENT.PARENT_100X,
isCollapsed: false,
isParentCollapsed: false,
frozenManually: false,
@@ -31,14 +31,14 @@ function newFloatingObject () {
getPinStatus: getPinStatus,
getFreezeStatus: getFreezeStatus,
getCollapseStatus: getCollapseStatus,
getTensionLevel: getTensionLevel,
getAngleToParent: getAngleToParent,
getDistanceToParent: getDistanceToParent,
nearbyFloatingObjects: [],
setPosition: setPosition,
pinToggle: pinToggle,
freezeToggle: freezeToggle,
collapseToggle: collapseToggle,
tensionToggle: tensionToggle,
angleToParentToggle: angleToParentToggle,
distanceToParentToggle: distanceToParentToggle,
physics: physics,
initializeMass: initializeMass,
@@ -141,8 +141,8 @@ function newFloatingObject () {
return thisObject.isCollapsed
}
function getTensionLevel () {
return thisObject.tensionLevel
function getAngleToParent () {
return thisObject.angleToParent
}
function getDistanceToParent () {
@@ -171,43 +171,46 @@ function newFloatingObject () {
return thisObject.isCollapsed
}
function tensionToggle () {
switch (thisObject.tensionLevel) {
case TENSION_LEVEL.NO_TENSION:
thisObject.tensionLevel = TENSION_LEVEL.LEVEL_360
function angleToParentToggle () {
switch (thisObject.angleToParent) {
case ANGLE_TO_PARENT.NOT_FIXED:
thisObject.angleToParent = ANGLE_TO_PARENT.RANGE_360
break
case TENSION_LEVEL.LEVEL_360:
thisObject.tensionLevel = TENSION_LEVEL.LEVEL_180
case ANGLE_TO_PARENT.RANGE_360:
thisObject.angleToParent = ANGLE_TO_PARENT.RANGE_180
break
case TENSION_LEVEL.LEVEL_180:
thisObject.tensionLevel = TENSION_LEVEL.LEVEL_90
case ANGLE_TO_PARENT.RANGE_180:
thisObject.angleToParent = ANGLE_TO_PARENT.RANGE_90
break
case TENSION_LEVEL.LEVEL_90:
thisObject.tensionLevel = TENSION_LEVEL.LEVEL_45
case ANGLE_TO_PARENT.RANGE_90:
thisObject.angleToParent = ANGLE_TO_PARENT.RANGE_45
break
case TENSION_LEVEL.LEVEL_45:
thisObject.tensionLevel = TENSION_LEVEL.NO_TENSION
case ANGLE_TO_PARENT.RANGE_45:
thisObject.angleToParent = ANGLE_TO_PARENT.NOT_FIXED
break
}
return thisObject.tensionLevel
return thisObject.angleToParent
}
function distanceToParentToggle () {
switch (thisObject.distanceToParent) {
case DISTANCE_TO_PARENT.NOT_FIXED:
thisObject.distanceToParent = DISTANCE_TO_PARENT.QUARTER
thisObject.distanceToParent = DISTANCE_TO_PARENT.PARENT_025X
break
case DISTANCE_TO_PARENT.QUARTER:
thisObject.distanceToParent = DISTANCE_TO_PARENT.HALF
case DISTANCE_TO_PARENT.PARENT_025X:
thisObject.distanceToParent = DISTANCE_TO_PARENT.PARENT_050X
break
case DISTANCE_TO_PARENT.HALF:
thisObject.distanceToParent = DISTANCE_TO_PARENT.SAME
case DISTANCE_TO_PARENT.PARENT_050X:
thisObject.distanceToParent = DISTANCE_TO_PARENT.PARENT_100X
break
case DISTANCE_TO_PARENT.SAME:
thisObject.distanceToParent = DISTANCE_TO_PARENT.DOUBLE
case DISTANCE_TO_PARENT.PARENT_100X:
thisObject.distanceToParent = DISTANCE_TO_PARENT.PARENT_150X
break
case DISTANCE_TO_PARENT.DOUBLE:
case DISTANCE_TO_PARENT.PARENT_150X:
thisObject.distanceToParent = DISTANCE_TO_PARENT.PARENT_200X
break
case DISTANCE_TO_PARENT.PARENT_200X:
thisObject.distanceToParent = DISTANCE_TO_PARENT.NOT_FIXED
break
}
@@ -217,11 +220,12 @@ function newFloatingObject () {
function physics () {
collapsePhysics()
frozenPhysics()
/* From here on, only if they are not too far. */
if (canvas.floatingSpace.isItFar(thisObject.payload)) { return }
thisObjectPhysics()
thisObject.payload.uiObject.physics()
frozenPhysics()
tensionPhysics()
positionContraintsPhysics()
}
function frozenPhysics () {
@@ -249,10 +253,8 @@ function newFloatingObject () {
}
}
function tensionPhysics () {
/* Tension Effect */
if (thisObject.tensionLevel !== TENSION_LEVEL.NO_TENSION && thisObject.isOnFocus !== true) {
function positionContraintsPhysics () {
if (thisObject.angleToParent !== ANGLE_TO_PARENT.NOT_FIXED && thisObject.isOnFocus !== true) {
let parent = thisObject.payload.chainParent
if (parent === undefined) { return }
if (parent.payload === undefined) { return }
@@ -263,37 +265,40 @@ function newFloatingObject () {
let axisCount = parentChildren.childrenCount
let axisIndex = parentChildren.childIndex
let baseAngle = 0
let tensionLevelAngle
let angleToParentAngle
if (parent.payload.distance !== undefined) {
switch (thisObject.distanceToParent) {
case DISTANCE_TO_PARENT.QUARTER:
case DISTANCE_TO_PARENT.PARENT_025X:
distanceToParent = parent.payload.distance / 4
break
case DISTANCE_TO_PARENT.HALF:
case DISTANCE_TO_PARENT.PARENT_050X:
distanceToParent = parent.payload.distance / 2
break
case DISTANCE_TO_PARENT.SAME:
case DISTANCE_TO_PARENT.PARENT_100X:
distanceToParent = parent.payload.distance
break
case DISTANCE_TO_PARENT.DOUBLE:
case DISTANCE_TO_PARENT.PARENT_150X:
distanceToParent = parent.payload.distance * 1.5
break
case DISTANCE_TO_PARENT.PARENT_200X:
distanceToParent = parent.payload.distance * 2
break
}
}
switch (thisObject.tensionLevel) {
case TENSION_LEVEL.LEVEL_360:
tensionLevelAngle = 360
switch (thisObject.angleToParent) {
case ANGLE_TO_PARENT.RANGE_360:
angleToParentAngle = 360
break
case TENSION_LEVEL.LEVEL_180:
tensionLevelAngle = 180
case ANGLE_TO_PARENT.RANGE_180:
angleToParentAngle = 180
break
case TENSION_LEVEL.LEVEL_90:
tensionLevelAngle = 90
case ANGLE_TO_PARENT.RANGE_90:
angleToParentAngle = 90
break
case TENSION_LEVEL.LEVEL_45:
tensionLevelAngle = 45
case ANGLE_TO_PARENT.RANGE_45:
angleToParentAngle = 45
break
}
@@ -315,8 +320,8 @@ function newFloatingObject () {
}
}
let separatorAngle = (360 - tensionLevelAngle) / 2
let angleStep = tensionLevelAngle / axisCount
let separatorAngle = (360 - angleToParentAngle) / 2
let angleStep = angleToParentAngle / axisCount
thisObject.payload.angle = baseAngle + separatorAngle + (axisIndex - 1) * angleStep
if (thisObject.payload.angle >= 360) {
+1 -1
View File
@@ -884,7 +884,7 @@ function newUiObject () {
/* Target Line */
let LINE_STYLE = UI_COLOR.TITANIUM_YELLOW
if (thisObject.payload.floatingObject.tensionLevel !== TENSION_LEVEL.NO_TENSION) {
if (thisObject.payload.floatingObject.angleToParent !== ANGLE_TO_PARENT.NOT_FIXED) {
LINE_STYLE = UI_COLOR.GOLDEN_ORANGE
}
if (thisObject.payload.floatingObject.isFrozen === true) {
+11 -11
View File
@@ -57,8 +57,8 @@ function newUiObjectConstructor () {
if (payload.node.savedPayload.floatingObject.isCollapsed === true) {
floatingObject.collapseToggle()
}
if (payload.node.savedPayload.floatingObject.tensionLevel !== undefined) {
floatingObject.tensionLevel = payload.node.savedPayload.floatingObject.tensionLevel
if (payload.node.savedPayload.floatingObject.angleToParent !== undefined) {
floatingObject.angleToParent = payload.node.savedPayload.floatingObject.angleToParent
}
if (payload.node.savedPayload.floatingObject.distanceToParent !== undefined) {
floatingObject.distanceToParent = payload.node.savedPayload.floatingObject.distanceToParent
@@ -67,7 +67,7 @@ function newUiObjectConstructor () {
/* For brand new objects being created directly by the user, we will make them inherit some properties from their parents. */
if (userAddingNew === true) {
floatingObject.tensionLevel = payload.parentNode.payload.floatingObject.tensionLevel
floatingObject.angleToParent = payload.parentNode.payload.floatingObject.angleToParent
floatingObject.distanceToParent = payload.parentNode.payload.floatingObject.distanceToParent
}
@@ -143,8 +143,8 @@ function newUiObjectConstructor () {
menuItemsInitialValues.push(
{
action: 'Change Tension Level',
actionFunction: floatingObject.tensionToggle,
actionStatus: floatingObject.getTensionLevel,
actionFunction: floatingObject.angleToParentToggle,
actionStatus: floatingObject.getAngleToParent,
currentStatus: true,
label: undefined,
visible: true,
@@ -163,7 +163,7 @@ function newUiObjectConstructor () {
currentStatus: true,
label: undefined,
visible: true,
icons: ['headphones', 'competition', 'analysis-1', 'stage-open-postion-rate', 'stop'],
icons: ['headphones', 'competition', 'analysis-1', 'stage-open-postion-rate', 'stop', 'pyramid'],
rawRadius: 8,
targetRadius: 0,
currentRadius: 0,
@@ -331,7 +331,7 @@ function newUiObjectConstructor () {
switch (payload.node.type) {
case 'Workspace': {
level_0()
floatingObject.tensionLevel = TENSION_LEVEL.LEVEL_360
floatingObject.angleToParent = ANGLE_TO_PARENT.RANGE_360
break
}
@@ -391,7 +391,7 @@ function newUiObjectConstructor () {
floatingObject.fillStyle = 'rgba(' + UI_COLOR.WHITE + ', 1)'
if (payload.node.savedPayload === undefined) {
// floatingObject.tensionToggle()
// floatingObject.angleToParentToggle()
}
}
function level_2 () {
@@ -406,7 +406,7 @@ function newUiObjectConstructor () {
floatingObject.fillStyle = 'rgba(' + UI_COLOR.GREEN + ', 1)'
if (payload.node.savedPayload === undefined) {
// floatingObject.tensionToggle()
// floatingObject.angleToParentToggle()
}
}
function level_3 () {
@@ -421,7 +421,7 @@ function newUiObjectConstructor () {
floatingObject.fillStyle = 'rgba(' + UI_COLOR.RUSTED_RED + ', 1)'
if (payload.node.savedPayload === undefined) {
// floatingObject.tensionToggle()
// floatingObject.angleToParentToggle()
}
}
function level_4 () {
@@ -436,7 +436,7 @@ function newUiObjectConstructor () {
floatingObject.fillStyle = 'rgba(' + UI_COLOR.TITANIUM_YELLOW + ', 1)'
if (payload.node.savedPayload === undefined) {
// floatingObject.tensionToggle()
// floatingObject.angleToParentToggle()
}
}
function level_5 () {
+11 -10
View File
@@ -51,20 +51,21 @@ const GET_CONTAINER_PURPOSE = {
DRAGGING: 4
}
const TENSION_LEVEL = {
NO_TENSION: 0,
LEVEL_360: 1,
LEVEL_180: 2,
LEVEL_90: 3,
LEVEL_45: 4
const ANGLE_TO_PARENT = {
NOT_FIXED: 0,
RANGE_360: 1,
RANGE_180: 2,
RANGE_90: 3,
RANGE_45: 4
}
const DISTANCE_TO_PARENT = {
NOT_FIXED: 0,
QUARTER: 1,
HALF: 2,
SAME: 3,
DOUBLE: 4
PARENT_025X: 1,
PARENT_050X: 2,
PARENT_100X: 3,
PARENT_150X: 4,
PARENT_200X: 5
}
/* User Interface Panels */
+1 -18
View File
@@ -19,7 +19,6 @@ function newFloatingSpace () {
fitIntoVisibleArea: fitIntoVisibleArea,
isThisPointVisible: isThisPointVisible,
isItFar: isItFar,
warmUp: warmUp,
makeVisible: makeVisible,
makeInvisible: makeInvisible,
draw: draw,
@@ -39,7 +38,6 @@ function newFloatingSpace () {
let devicePixelRatio = window.devicePixelRatio
const SPACE_SIZE = 50000
const WARM_UP_LIMIT = 10000
thisObject.container.frame.width = SPACE_SIZE
thisObject.container.frame.height = SPACE_SIZE
@@ -47,7 +45,6 @@ function newFloatingSpace () {
thisObject.container.frame.position.y = browserCanvas.height / 2 - thisObject.container.frame.height / 2
let visible = false
let warmingUpCounter = 0
const PERCENTAGE_OF_SCREEN_FOR_DISPLACEMENT = 25
let eventSubscriptionId
@@ -76,24 +73,10 @@ function newFloatingSpace () {
eventSubscriptionId = thisObject.container.eventHandler.listenToEvent('onMouseWheel', onMouseWheel)
}
function warmUp () {
warmingUpCounter = 0
}
function isItFar (payload, dontCheckParent) {
/* If for any reason the paylaod is undefined we return false */
if (payload === undefined) { return false }
/*
We need a warm up in order to allow all objects to stabilize into a consistant state.
After that we will start evaluating which ones are too far from the current user view.
*/
if (warmingUpCounter < WARM_UP_LIMIT) {
warmingUpCounter++
return false
}
let radarFactor = 2 // How big is the margin
/* If the chain parent is not far, they we dont consither this far. */
@@ -262,7 +245,7 @@ function newFloatingSpace () {
}
function physics () {
if (visible === true || warmingUpCounter < WARM_UP_LIMIT) {
if (visible === true) {
browserZoomPhysics()
thisObject.floatingLayer.physics()
}
+1 -1
View File
@@ -1 +1 @@
{"type":"Workspace","name":"After Distance To Parent","rootNodes":[{"type":"Network","name":"Superalgos","networkNodes":[{"type":"Network Node","name":"My Computer","dataStorage":{"type":"Data Storage","name":"New Data Storage","sessionIndependentData":{"type":"Session Independent Data","name":"New Session Independent Data","singleMarketData":[{"type":"Single Market Data","name":"Poloniex BTC/USDT","dataProducts":[{"type":"Data Product","name":"Candles","id":"55e735a5-60c9-4e2d-a582-a6c6eddf3502","savedPayload":{"position":{"x":20976.068798244127,"y":29155.79461371483},"targetPosition":{"x":21374.211338469173,"y":29786.258061361692},"floatingObject":{"isPinned":false,"isFrozen":false,"isCollapsed":true,"tensionLevel":1,"distanceToParent":3},"uiObject":{},"referenceParent":{"type":"Product Definition","name":"Candles","id":"36ae2d5d-6734-4526-b2f8-31c89a0c4fc1"}}},{"type":"Data Product","name":"Volumes","id":"ffaf5a8e-12d6-4040-922d-57845eb3377c","savedPayload":{"position":{"x":21474.470550468162,"y":29047.373948956396},"targetPosition":{"x":21374.211338469173,"y":29786.258061361692},"floatingObject":{"isPinned":false,"isFrozen":false,"isCollapsed":true,"tensionLevel":1,"distanceToParent":3},"uiObject":{},"referenceParent":{"type":"Product Definition","name":"Volumes","id":"b2d5ba69-67ac-490f-9e74-28239b35a92e"}}},{"type":"Data Product","name":"Candle-Stairs","id":"e1c46e1f-09d1-46a2-b738-e761b4e04cd9","savedPayload":{"position":{"x":21925.959903140847,"y":29284.6853721746},"targetPosition":{"x":21374.211338469173,"y":29786.258061361692},"floatingObject":{"isPinned":false,"isFrozen":false,"isCollapsed":true,"tensionLevel":1,"distanceToParent":3},"uiObject":{},"referenceParent":{"type":"Product Definition","name":"Candle-Stairs","id":"642474e9-da61-4168-97dc-7f7869bebc02"}}},{"type":"Data Product","name":"Volume-Stairs","id":"eefaf182-ffe4-457e-a7fa-f43dfabdc086","savedPayload":{"position":{"x":22119.2799704014,"y":29756.688231022967},"targetPosition":{"x":21374.211338469173,"y":29786.258061361692},"floatingObject":{"isPinned":false,"isFrozen":false,"isCollapsed":true,"tensionLevel":1,"distanceToParent":3},"uiObject":{},"referenceParent":{"type":"Product Definition","name":"Volume-Stairs","id":"846e9572-c4d6-4c7e-942e-c82402c5ecea"}}},{"type":"Data Product","name":"Bollinger Bands","id":"3576cfd0-1774-4094-b8a0-66e182fc4c41","savedPayload":{"position":{"x":21963.974144265383,"y":30242.527142118877},"targetPosition":{"x":21374.211338469173,"y":29786.258061361692},"floatingObject":{"isPinned":false,"isFrozen":false,"isCollapsed":true,"tensionLevel":1,"distanceToParent":3},"uiObject":{},"referenceParent":{"type":"Product Definition","name":"Bollinger Bands","id":"29088877-8d63-4217-8d34-8742afc262f4"}}},{"type":"Data Product","name":"Percentage Bandwidth","id":"4dfde44c-0bbf-4204-91de-ce99ecba4cf2","savedPayload":{"position":{"x":21532.71174681383,"y":30514.872679462507},"targetPosition":{"x":21374.211338469173,"y":29786.258061361692},"floatingObject":{"isPinned":false,"isFrozen":false,"isCollapsed":true,"tensionLevel":1,"distanceToParent":3},"uiObject":{},"referenceParent":{"type":"Product Definition","name":"Percentage Bandwidth","id":"3b7885a0-cd72-4a3f-a38b-3dc8c47bd068"}}},{"type":"Data Product","name":"Bollinger Channels Objects","id":"6986bcb1-119c-48c9-a00b-d046e9e07951","savedPayload":{"position":{"x":21027.285246761992,"y":30446.29133934728},"targetPosition":{"x":21374.211338469173,"y":29786.258061361692},"floatingObject":{"isPinned":false,"isFrozen":false,"isCollapsed":true,"tensionLevel":1,"distanceToParent":3},"uiObject":{},"referenceParent":{"type":"Product Definition","name":"Bollinger Channels Objects","id":"1f111f72-624f-4166-9f99-ab8d785d5267"}}},{"type":"Data Product","name":"Bollinger Sub-Channels Objects","id":"85098ab8-a125-49f1-b24d-416c2090c7a0","savedPayload":{"position":{"x":20684.189320673973,"y":30068.873093009806},"targetPosition":{"x":21374.211338469173,"y":29786.258061361692},"floatingObject":{"isPinned":false,"isFrozen":false,"isCollapsed":true,"tensionLevel":1,"distanceToParent":3},"uiObject":{},"referenceParent":{"type":"Product Definition","name":"Bollinger Sub-Channels Objects","id":"080c87fc-4546-4482-ab11-180a33f6d9ab"}}}],"id":"49a747b4-2eb7-41d6-b0e2-493f43ceed44","savedPayload":{"position":{"x":21374.211338469173,"y":29786.258061361692},"targetPosition":{"x":20663.96236545284,"y":29559.216132447964},"floatingObject":{"isPinned":false,"isFrozen":false,"isCollapsed":true,"tensionLevel":1,"distanceToParent":3},"uiObject":{},"referenceParent":{"type":"Market","name":"BTC/USDT","id":"d4098b73-7e25-434e-8fd9-342393cbb400"}}},{"type":"Single Market Data","name":"Kraken ETH/BTC","dataProducts":[{"type":"Data Product","name":"Candles","id":"fce50098-d674-4006-94ad-cce46f3d59a4","savedPayload":{"position":{"x":21750.45194442635,"y":30257.460586954287},"targetPosition":{"x":21005.6413430549,"y":30221.980885147164},"floatingObject":{"isPinned":false,"isFrozen":false,"isCollapsed":trLine truncated
{"type":"Workspace","name":"My Workspace","rootNodes":[{"type":"Network","name":"Superalgos","networkNodes":[{"type":"Network Node","name":"My Computer","dataStorage":{"type":"Data Storage","name":"New Data Storage","sessionIndependentData":{"type":"Session Independent Data","name":"New Session Independent Data","singleMarketData":[{"type":"Single Market Data","name":"Poloniex BTC/USDT","dataProducts":[{"type":"Data Product","name":"Candles","id":"55e735a5-60c9-4e2d-a582-a6c6eddf3502","savedPayload":{"position":{"x":20976.068798244127,"y":29155.79461371483},"targetPosition":{"x":21374.211338469173,"y":29786.258061361692},"floatingObject":{"isPinned":false,"isFrozen":false,"isCollapsed":true,"angleToParent":1,"distanceToParent":3},"uiObject":{},"referenceParent":{"type":"Product Definition","name":"Candles","id":"36ae2d5d-6734-4526-b2f8-31c89a0c4fc1"}}},{"type":"Data Product","name":"Volumes","id":"ffaf5a8e-12d6-4040-922d-57845eb3377c","savedPayload":{"position":{"x":21474.470550468162,"y":29047.373948956396},"targetPosition":{"x":21374.211338469173,"y":29786.258061361692},"floatingObject":{"isPinned":false,"isFrozen":false,"isCollapsed":true,"angleToParent":1,"distanceToParent":3},"uiObject":{},"referenceParent":{"type":"Product Definition","name":"Volumes","id":"b2d5ba69-67ac-490f-9e74-28239b35a92e"}}},{"type":"Data Product","name":"Candle-Stairs","id":"e1c46e1f-09d1-46a2-b738-e761b4e04cd9","savedPayload":{"position":{"x":21925.959903140847,"y":29284.6853721746},"targetPosition":{"x":21374.211338469173,"y":29786.258061361692},"floatingObject":{"isPinned":false,"isFrozen":false,"isCollapsed":true,"angleToParent":1,"distanceToParent":3},"uiObject":{},"referenceParent":{"type":"Product Definition","name":"Candle-Stairs","id":"642474e9-da61-4168-97dc-7f7869bebc02"}}},{"type":"Data Product","name":"Volume-Stairs","id":"eefaf182-ffe4-457e-a7fa-f43dfabdc086","savedPayload":{"position":{"x":22119.2799704014,"y":29756.688231022967},"targetPosition":{"x":21374.211338469173,"y":29786.258061361692},"floatingObject":{"isPinned":false,"isFrozen":false,"isCollapsed":true,"angleToParent":1,"distanceToParent":3},"uiObject":{},"referenceParent":{"type":"Product Definition","name":"Volume-Stairs","id":"846e9572-c4d6-4c7e-942e-c82402c5ecea"}}},{"type":"Data Product","name":"Bollinger Bands","id":"3576cfd0-1774-4094-b8a0-66e182fc4c41","savedPayload":{"position":{"x":21963.974144265383,"y":30242.527142118877},"targetPosition":{"x":21374.211338469173,"y":29786.258061361692},"floatingObject":{"isPinned":false,"isFrozen":false,"isCollapsed":true,"angleToParent":1,"distanceToParent":3},"uiObject":{},"referenceParent":{"type":"Product Definition","name":"Bollinger Bands","id":"29088877-8d63-4217-8d34-8742afc262f4"}}},{"type":"Data Product","name":"Percentage Bandwidth","id":"4dfde44c-0bbf-4204-91de-ce99ecba4cf2","savedPayload":{"position":{"x":21532.71174681383,"y":30514.872679462507},"targetPosition":{"x":21374.211338469173,"y":29786.258061361692},"floatingObject":{"isPinned":false,"isFrozen":false,"isCollapsed":true,"angleToParent":1,"distanceToParent":3},"uiObject":{},"referenceParent":{"type":"Product Definition","name":"Percentage Bandwidth","id":"3b7885a0-cd72-4a3f-a38b-3dc8c47bd068"}}},{"type":"Data Product","name":"Bollinger Channels Objects","id":"6986bcb1-119c-48c9-a00b-d046e9e07951","savedPayload":{"position":{"x":21027.285246761992,"y":30446.29133934728},"targetPosition":{"x":21374.211338469173,"y":29786.258061361692},"floatingObject":{"isPinned":false,"isFrozen":false,"isCollapsed":true,"angleToParent":1,"distanceToParent":3},"uiObject":{},"referenceParent":{"type":"Product Definition","name":"Bollinger Channels Objects","id":"1f111f72-624f-4166-9f99-ab8d785d5267"}}},{"type":"Data Product","name":"Bollinger Sub-Channels Objects","id":"85098ab8-a125-49f1-b24d-416c2090c7a0","savedPayload":{"position":{"x":20684.189320673973,"y":30068.873093009806},"targetPosition":{"x":21374.211338469173,"y":29786.258061361692},"floatingObject":{"isPinned":false,"isFrozen":false,"isCollapsed":true,"angleToParent":1,"distanceToParent":3},"uiObject":{},"referenceParent":{"type":"Product Definition","name":"Bollinger Sub-Channels Objects","id":"080c87fc-4546-4482-ab11-180a33f6d9ab"}}}],"id":"49a747b4-2eb7-41d6-b0e2-493f43ceed44","savedPayload":{"position":{"x":21374.211338469173,"y":29786.258061361692},"targetPosition":{"x":20663.96236545284,"y":29559.216132447964},"floatingObject":{"isPinned":false,"isFrozen":false,"isCollapsed":true,"angleToParent":1,"distanceToParent":3},"uiObject":{},"referenceParent":{"type":"Market","name":"BTC/USDT","id":"d4098b73-7e25-434e-8fd9-342393cbb400"}}},{"type":"Single Market Data","name":"Kraken ETH/BTC","dataProducts":[{"type":"Data Product","name":"Candles","id":"fce50098-d674-4006-94ad-cce46f3d59a4","savedPayload":{"position":{"x":21750.45194442635,"y":30257.460586954287},"targetPosition":{"x":21005.6413430549,"y":30221.980885147164},"floatingObject":{"isPinned":false,"isFrozen":false,"isCollapsed":true,Line truncated