Creates a shape component.
Namespace: MindFusion.Diagramming
File: Shape.js
SyntaxJavaScript
Copy Code
|
|---|
function component (id, [isOutline, [node]]) |
String. The identifier of the shape.
Boolean. A value indicating whether this shape defines the outline of its host node.
CompositeNode. The host node of this component.
Shape. A reference to a Shape component with the specified identifier.
See Also