11
This commit is contained in:
@@ -33,13 +33,10 @@ export class StateManager {
|
||||
...node,
|
||||
}
|
||||
if (index === 0) {
|
||||
obj.class = 'custom-node start';
|
||||
obj.type = NODE_TYPE.INPUT;
|
||||
} else if (index === this.nodes.value.length - 1) {
|
||||
obj.class = 'custom-node end';
|
||||
obj.type = NODE_TYPE.OUTPUT;
|
||||
} else {
|
||||
obj.class = 'custom-node';
|
||||
obj.type = NODE_TYPE.SECONDARY;
|
||||
}
|
||||
return obj
|
||||
|
||||
Reference in New Issue
Block a user