Hi,
I’m attempting to integrate the EpForceDirectedGraph.cs library into VL.
This library implements the Force Directed layout for graph visualisation.
Something that is currently available only in beta AFAIK.
It requires a Renderer to be implemented inheriting from AbstractRenderer.
Since VL doesn’t support inheritance yet, I thought I would have the individual methods just call a delegate which would be set from VL, allowing the rendering logic to be patched.
For some reason however, there are issues with passing the delegates into my DelegateRenderer object.
When using the Region version of the Create method, I only receive null:
Which, further down the line, results in null exceptions.
Using the Node version, the automatically created delegates are miraculously incompatible:
There are certainly other ways to approach it but this feels like a bug or at least something is not clear to me.
Included is the patch and source code for the DelegateRenderer.
VL.ForceDirectedGraph.zip (47.7 KB)