added nodetemplates default
This commit is contained in:
@@ -32,7 +32,8 @@ const nodeTemplates = {
|
||||
//position vs parent
|
||||
parent: "node-input-parent",
|
||||
},
|
||||
projectSettingsURL : "http://localhost:1880/generalFunctions/settings/projectSettings.json",
|
||||
projectSettingsURL:
|
||||
"http://localhost:1880/generalFunctions/settings/projectSettings.json",
|
||||
},
|
||||
|
||||
exampleTemplate: {
|
||||
@@ -40,13 +41,13 @@ const nodeTemplates = {
|
||||
color: "#004080",
|
||||
defaults: {
|
||||
name: { value: "", required: true },
|
||||
foo: { value: 42 }
|
||||
foo: { value: 42 },
|
||||
},
|
||||
inputs: 2,
|
||||
outputs: 2,
|
||||
inputLabels: ["In A", "In B"],
|
||||
outputLabels: ["Out A", "Out B"],
|
||||
icon: "font-awesome/fa-gears"
|
||||
icon: "font-awesome/fa-gears",
|
||||
},
|
||||
|
||||
// …add more node “templates” here…
|
||||
|
||||
Reference in New Issue
Block a user