When executing the following code:
Topology topology = new Topology();
topology.setDefaultNodeModel(MyNode.class);
new RingGenerator(N).generate(topology);
the created nodes are not of type MyNode, but of class Node.
It is possible that the other generators have the same problem.