OptionalgeometryOptionalheightIf not set, falls back to the size property.
OptionalidOptional string that defines the id of the new vertex. If not set, the id is auto-generated when creating the vertex.
OptionalparentThe parent of the new vertex. If not set, use the default parent.
OptionalpositionFallback when the x or the y properties are not set. Order of the elements: x, y
NOTE: If the position of the vertex is not set at vertex creation (by setting the x or the y properties or this property), it is advised to use a GraphLayout or a LayoutManager to automatically compute the actual position.
OptionalrelativeSpecifies if the geometry is relative.
OptionalsizeFallback when the width or the height properties are not set. Order of the elements: width, height
NOTE: If the size of the vertex is not set at vertex creation (by setting the width and the height properties or this property), it is advised to later set the size on the geometry of the vertex instance. Otherwise, the vertex has no size and it is not displayed.
OptionalstyleOptionalvalueObject to be used as the user object which is generally used to display the label of the vertex. The default implementation handles string object.
OptionalwidthIf not set, falls back to the size property.
OptionalxIf not set, falls back to the position property.
OptionalyIf not set, falls back to the position property.
Class reference to a class derived from Geometry. This can be useful for defining custom constraints.