Overview class
An Overview is a Diagram that displays all of a different diagram, with a rectangular box showing the viewport displayed by that other diagram.
For more discussion, see Introduction to Overviews. See samples that make use of Overviews in the samples index.
All you need to do is set Overview#observed. For example:
var myDiagram = new go.Diagram("myDiagramDIV");
. . . other initialization . . .
// create and initialize the Overview:
new go.Overview("myOverviewDIV").observed = myDiagram;
The Overview draws what the observed Diagram is displaying, so setting or modifying any diagram templates or template Maps has no effect.
Animations are not shown in an Overview.
At the current time methods such as Diagram#makeImage, Diagram#makeImageData and Diagram#makeSvg do not work on Overviews.
- Implemented types
- Available extensions
- Annotations
-
- @JS()
- @staticInterop
Constructors
- Overview.$1()
-
factory
- Overview.$2([dynamic init])
-
factory
- Overview.$3([Object? div, dynamic init])
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited