1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- export default{
- 'Input': {
- categories: ['core'],
- output: {type: 'interface {}'},
- style: { color: '#686', shape: 'circle' },
- props: {} // should be sent in the node
- },
- 'Variable': {
- categories: ['core'],
- output: {type: 'interface {}'},
- style: { color: '#88a', shape: 'circle' },
- props: {init: ''}
- },
- 'Const': {
- categories: ['core'],
- output: {type: 'interface {}'},
- style: { color: '#555' }
- // , props: {value: ''}
- },
- 'Log': {
- categories: ['core'],
- inputs: [{type: 'interface {}'}],
- output: {type: 'interface {}'},
- style: { color: '#665', shape: 'circle' }
- }
- }
- /* {
- // Fixed default stuff
- 'Test': {
- group: 'Generic',
- output: 'any',
- style: {
- shape: 'thing'
- }
- },
- 'MatMul': { group: 'Machine learning', inputs: [ '[]float32', '[]float32' ], output: '[]float32', style: { color: '#a44', textColor: 'white' } },
- 'Activator': { group: 'Machine learning', inputs: [ '[]float32' ], output: '[]float32', style: { color: '#a44', textColor: 'white', shape: 'circle' } },
- 'test': { group: 'Text', inputs: [ '[]float32', 'string' ], output: 'string', style: {'color': '#a93'} },
- 'reverse': { group: 'Text', inputs: [ 'string' ], output: 'string', style: {'color': '#a93'} },
- 'fetch': { group: 'json', output: 'json', style: {'color': '#99a'} },
- 'jsonExtract': { group: 'json', inputs: ['json'], output: 'string', style: {'color': '#99a'} },
- 'string': { group: 'Visualization', inputs: ['string'], style: {'color': '#9a9'} },
- 'lineGraph': { group: 'Visualization', inputs: ['[]float32', '[]float32'], style: {'color': '#9a9'} }
- }, */
|