Search
DiagramItem.visible Property
See Also
 





Gets or sets a value indicating whether this item is visible.

Namespace: MindFusion.Diagramming
Package: DiagramItem.js

 Syntax

JavaScript  Copy Code

get visible() {}
set visible(value) {}

 Property Value

Boolean

true if this item should be displayed, or false otherwise.

 Remarks

Invisible items are not drawn at all. You might use the property to hide or show items temporarily, or to construct more complex groups of attached items 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.

 See Also