解决input类型

This commit is contained in:
panda
2023-04-15 19:42:13 +08:00
parent 8b6f18ef6b
commit 0989f37c21
5 changed files with 107 additions and 82 deletions

View File

@@ -15,7 +15,7 @@ type inputNodeFactory struct{}
func (f inputNodeFactory) Name() string { return "InputNode" }
func (f inputNodeFactory) Category() string { return NODE_CATEGORY_OTHERS }
func (f inputNodeFactory) Labels() []string { return []string{} }
func (f inputNodeFactory) Labels() []string { return []string{"True"} }
func (f inputNodeFactory) Create(id string, meta Metadata) (Node, error) {
node := &inputNode{
bareNode: newBareNode(InputNodeName, id, meta, f.Labels()),