Divooka Engine
Divooka Engine is a "bring your own nodes" editor, for people who build distributions of their own: Divooka Compute's editor and runtime with nothing built in but the essential nodes each kind of graph needs - values, loops and branches, arithmetic, comparison, logic and text, printing and reading a line, the asset library's readers, the Start event, and state machines. It ships no workloads and no examples. The rest comes from what a document references - NuGet packages, .NET libraries, C# files and other documents, through Add reference (Ctrl+Shift+L) - and from editor plugins. Divooka SDK shows how a library becomes nodes.
Divooka Engine is available on Windows at the moment; macOS is planned next and Linux later.
Plugins
An editor plugin adds commands to the editor, under the toolbar's wrench, and can offer nodes as well. Each is one folder, in Plugins beside DivookaEngine.exe or in your own %AppData%\DivookaEngine\Plugins, which right-clicking the wrench opens; a plugin in yours wins over one of the same name beside the program. A folder holds either:
- C# files, which the editor compiles when it starts: no project, no
dotnet buildand no .NET SDK. The sample that ships,Plugins\SayHello\SayHello.cs, is a whole plugin - see Divooka SDK. - A library, named after the folder -
Plugins\MyPlugin\MyPlugin.dll- or named by aMyPlugin.package.yamlbeside it, for a plugin with dependencies of its own.
The YAML file's form:
Identifier: <PluginName>
Display Name: <Plugin Display Name>
Entry Assembly: <Assembly>.dll
A plugin is picked up when the editor next starts. To step through a library plugin, build it with its symbols (.pdb) beside it in its folder, start the editor, and attach your .NET debugger to it.
NuGet References
All Divooka packages are published on NuGet when available.
Prepare a local NuGets folder and use local NuGet feed for easier debugging, which allows debugging of direct project reference despite using NuGet PackageReference.
References
- Checkout the tricks
- Checkout a useful tip on Factory Pattern