Gets or sets a value indicating whether this item is visible.
Namespace: MindFusion.Diagramming
File: DiagramItem.js
JavaScript Copy Code |
---|
get visible() {} |
Boolean
true if this item should be displayed, or false otherwise.
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.
JavaScript Pack Programmer's Guide | © 2024 MindFusion |