Panels with no coding
This commit is contained in:
1 parent
de56425e84
commit
d3a5e40948
12 files changed
+3
-196
No files matched your search
@@ -83,9 +83,6 @@ function newNodeChildren () {
|
||||
case 'Plotter Module': {
|
||||
return countChildrenPlotterModule(parentNode, childNode)
|
||||
}
|
||||
case 'Plotter Panel': {
|
||||
return countChildrenPlotterPanel(parentNode, childNode)
|
||||
}
|
||||
case 'Network Node': {
|
||||
return countChildrenNetworkNode(parentNode, childNode)
|
||||
}
|
||||
@@ -754,20 +751,6 @@ function newNodeChildren () {
|
||||
return response
|
||||
}
|
||||
|
||||
function countChildrenPlotterPanel (parentNode, childNode) {
|
||||
let response = {
|
||||
childrenCount: 0,
|
||||
childIndex: undefined
|
||||
}
|
||||
if (parentNode.javascriptCode !== undefined) {
|
||||
response.childrenCount++
|
||||
if (parentNode.javascriptCode.id === childNode.id) {
|
||||
response.childIndex = response.childrenCount
|
||||
}
|
||||
}
|
||||
return response
|
||||
}
|
||||
|
||||
function countChildrenNetworkNode (parentNode, childNode) {
|
||||
let response = {
|
||||
childrenCount: 0,
|
||||
|
||||
Reference in new issue
Block a user