Generates a node class whose appearance and properties are defined using JSON template.
Namespace: MindFusion.Diagramming
Package: CompositeNode.js
JavaScript Copy Code |
---|
function classFromTemplate (className, jsonTemplate) |
Fully qualified name of the class to generate.
A JavaScript object literal containing template of node's component hierarchy.
Type: Function
A constructor function that creates instances of the new class.