How to create an instance of a node inside plugin?

Is there a way to create an instance of a node, outside the graph within a dynamic plugin?

Like inside your evaluate method to do something like this:

var node = CreateInstanceOfNode("KMeans");
node.Inputs["InputXY"]("InputXY") =  ........ //or something like this...
node.Evaluate();
var myResult = node.Outputs["Cluster Id"]("Cluster Id");

may be I am just dreaming, but I was wondering if it is possible?

best regards

+1! … no text …

absolutely the right thinking.
unfortunately not yet.

:-)… no text …