Skip to content

Instantly share code, notes, and snippets.

@fergusKe
Created August 17, 2020 10:15
Show Gist options
  • Save fergusKe/aa8bc5aefe2523c2344370379c0f46a2 to your computer and use it in GitHub Desktop.
Save fergusKe/aa8bc5aefe2523c2344370379c0f46a2 to your computer and use it in GitHub Desktop.
{
nbe: {
nodes: {
'5': {
id: '5',
type: 'database',
name: 'database',
in: false,
out: true,
form: [
{
type: 'text',
name: 'name',
text: 'database component'
},
{
type: 'dropdown',
name: 'database',
options: [
'mi manufacturer data',
'customer order'
],
value: ''
},
{
type: 'text',
name: 'description',
text: 'every 5 minutes manufacturer data'
},
{
type: 'textarea',
name: 'sql query',
value: ''
}
],
top: 225,
left: 24,
inNodes: {},
inPaths: {},
outNodes: {
'6': {
id: '6'
}
},
outPaths: {
'3': {
id: '3'
}
}
},
'6': {
id: '6',
type: 'ml',
name: 'supervised learning',
in: true,
out: true,
form: [
{
type: 'text',
name: 'name',
text: 'supervised learning component'
},
{
type: 'textarea',
name: 'description',
value: ''
},
{
type: 'dropdown',
name: 'target column',
options: [
'Sepal Length',
'Sepal Width',
'Petal Length',
'Petal Width',
'Category'
],
value: []
},
{
type: 'radio',
name: 'classifier algorithm',
options: [
'CART',
'Logistic regression',
'SVM',
'Random Forest'
],
value: ''
},
{
type: 'input',
name: 'traning/test ratio',
value: '70'
}
],
top: 219,
left: 291,
inNodes: {
'5': {
id: '5'
}
},
inPaths: {
'3': {
id: '3'
}
},
outNodes: {
'7': {
id: '7'
}
},
outPaths: {
'4': {
id: '4'
}
}
},
'7': {
id: '7',
type: 'output',
name: 'web result',
in: true,
out: false,
form: [
{
type: 'text',
name: 'name',
text: 'iris'
},
{
type: 'text',
name: 'description',
text: 'web result'
},
{
type: 'text',
name: 'id',
text: 'dfa43fda332DD3231a'
},
{
type: 'link',
name: 'location',
text: 'http://loaclhost:8080/dfa43fda332DD3231a',
href: 'http://loaclhost:8080/dfa43fda332DD3231a'
}
],
top: 213,
left: 531,
inNodes: {
'6': {
id: '6'
}
},
inPaths: {
'4': {
id: '4'
}
},
outNodes: {},
outPaths: {}
}
},
nodesSize: {
height: 48,
width: 192
},
paths: {
'3': {
id: '3',
x1: 216,
y1: 249,
x2: 291,
y2: 243,
inNode: '6',
outNode: '5'
},
'4': {
id: '4',
x1: 483,
y1: 243,
x2: 531,
y2: 237,
inNode: '7',
outNode: '6'
}
},
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment