Skip to end of metadata
Go to start of metadata

Be aware that you are modifying the model when using this method. Please create a safety copy of your model before you start using it.


If a relation has a graphical representation (see hasGraphic), the graphical shape of its end points (for example an "arrow head") can be set with the setFromShape and setToShape methods:

<result> = <relation>.setFromShape( <name> )

<result> = <relation>.setToShape( <name> )


<relation>

A value of the type Object or an expression evaluating to a value of that type. This object must be a relation reference (on a view).

<result>

A String, containing the name of the graphical shape to be applied to the graphical representation of the relation's end point (either at the "from" or the "to" side).


By using resetFromShape and resetToShape you can reset the values to their default value.

By using fromShapeIsSet and toShapeIsSet you can find out whether the values returned by fromShape and toShape are values that have been set with setFromShape or setToShape that have not been restored to the default with a call to resetFromShape/resetToShape.