How can I (pre)compile external funtions in soley in order to access them within rules?
Right now it seems that you cannot export adjacency matrices into excel. Although this might be possible with following releases, i want to test the implementation of 3rd party APIs into Soley.
Are there any documentation or example projects available regarding external functions?
You are right. Currently you cannot export Matrices. Now to your actual question:
You must use C# for external functions. Find all details about this in this KB article: https://support.soley.io/knowledge-base/external-functions/
I hope this answers your question.
That helped me a lot!
I’ve managed to export a matrix (or Node-edge-Node Relation) into a Excel adjacency matrix by creating a map<int,string> in a Soley-Rule and then parsing it in an external function with the help of a c# Dictionary<int,string>. Export was done with OfficeOpenXml.
The hardest part was to transfer a Matrix-like map from GrGen to the external C#-function (because I couldn’t find a way to store a 2-dimensional dataset in GrGen and wanted to avoid working with GrGen graphs in c#). If anything this C# side trip showed me how easy and user-friednly you have made it to create and perform complex analysis with soley.
I’m looking forward to your Knowledge Base article to see if I’ve over-complicated things.
You must be logged in to reply to this topic.