« Обратно към Secure Tropos Project

Position of Endpoints (Start/Endobject)?

Комбиниран преглед Плосък изглед Изглед на дърво
Нишки [ Предишен | Следващ ]
toggle
Position of Endpoints (Start/Endobject)?
community graphrep relation documentation
Отговор
14-3-27 12:31
Creating new connector (similar to the Message" relationship in UML) it snaps to the object's top. Then the user has to drag the connector down to suite user's requirements. Is there a method to specify in the GraphRep where the connectors should attach to (i.e. positions such as centre, top, bottom, maybe where the user first clicked with the mouse - "free-style" like attachment?)

RE: Position of Endpoints (Start/Endobject)?
Отговор
13-3-19 12:34 като отговор на Анонимен.
The position of the endpoints of a connector relates to the center-position of the end-point class(es). The center position is used initially to start the connector and this can be modified afterwards by the modeller by dragging the connector.
A Solution for a "bottom-first" implementation is to shift the center of the modelling class to the bottom of the object by adjusting the Y coordinates accordingly.