I’m assigning a model that has a large number of simple nodes (~160) and links (~600) at startup, and this process takes a very long time (30-40 seconds in debug mode, 10 seconds in release mode).
In MindFusion DiagramLite, which I’m also evaluating, this process is much faster, apparently because I’m able to define subclasses of the basic Link and Node classes and provide the content XAML for them, rather than defining DataTemplates that have to be expanded by the runtime.
Is there a recommended way to do the same thing in GoSilverlight, i.e. have the PartManager create parts by instantiating user-defined subclasses instead of expanding templates?
EDIT: Should I just override PartManager.MakeNodeForData and PartManager.MakeLinkForData?