Added help to function node

This commit is contained in:
reven
2022-01-09 13:05:47 +13:00
parent 18a5b4182a
commit cfabf2421c
4 changed files with 6 additions and 3 deletions
Binary file not shown.
+3 -2
View File
@@ -135,9 +135,10 @@
},
"Fields": {
"Outputs": "Outputs",
"Outputs-Help": "The number of outputs this node can have.",
"Template": "Template",
"Template-Help": "WARNING: This will replace whatever is in the code block with the template you select.",
"Code": "Code",
"Code-Help": "return -1 for error and flow to stop\nreturn 0 for flow to complete\nreturn 1 or more for the desired output to be called"
"Code-Help": "return -1 for error and flow to stop. return 0 for flow to complete. return 1 or more for the desired output to be called"
}
},
"GotoFlow": {
+2
View File
@@ -16,6 +16,8 @@ namespace FileFlows.BasicNodes.Functions
public override FlowElementType Type => FlowElementType.Logic;
public override string Icon => "fas fa-code";
public override string HelpUrl => "https://github.com/revenz/FileFlows/wiki/Function-Node";
[DefaultValue(1)]
[NumberInt(1)]
public new int Outputs { get; set; }
+1 -1
View File
@@ -5,7 +5,7 @@ namespace FileFlows.BasicNodes
public class Plugin : FileFlows.Plugin.IPlugin
{
public string Name => "Basic Nodes";
public string MinimumVersion => "0.2.0.310";
public string MinimumVersion => "0.2.1.349";
public void Init() { }
}