Java Reference
In-Depth Information
Maintains a reference to the diagram itself
❍
Has type, visibility, and mutable attributes
❍
Maintains a list of all
Style
s applied to the element
❍
Maintains a list of source and target
Edge
s
❍
The
Diagram
is the top-level container of views that has a name,
MeasurementUnit
, and containment references to all
Edge
s. Note that, as with
View
children, Diagram
Edge
s are either transient or persistent and are main-
tained in separate containment references.
A
Node
element is a
View
that can be composed in a container view and
that can contain a
LayoutConstraint
. A layout manager uses a
LayoutConstraint
to set the
Bounds
of the
Node
's visuals. The
Bounds
ele-
ment holds size and position information.
Figure 10-21
Diagram notation model
Search WWH ::
Custom Search