Sets a value indicating whether this item is visible.
Namespace: MindFusion.Diagramming
Package: DiagramItem.js
JavaScript Copy Code |
---|
function setVisible (value) |
true to display this item; otherwise, false.
Invisible items are not drawn at all. You might use the property to hide or show items temporarily, or to construct complex group hierarchies in which intermediate helper items are invisible.
Invisible nodes are ignored by automatic layout classes. The position of such nodes won't change when the arrange method of Diagram is called. Visible items can be ignored too by enabling their IgnoreLayout property.