Creates a shape component.
Namespace: MindFusion.Diagramming
File: Shape.js
JavaScript 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.
MindFusion.Diagramming for JavaScript Programmer's Guide | © 2024 MindFusion |