开发者

UML - modeling drag'n'drop

开发者 https://www.devze.com 2023-03-08 01:17 出处:网络
I am wondering how I c开发者_JAVA技巧ould model the act of dragging and dropping in UML (class diagrams)

I am wondering how I c开发者_JAVA技巧ould model the act of dragging and dropping in UML (class diagrams)

I've thought linking two classes with a relationship (the view and the element) but sounds like awkward, what do you think?


Are you looking to model the act of drawing UML diagrams (dragging and dropping elements in a class diagram) in UML? Or modelling dragging and dropping as an action in general?

If it's the general case. This sounds like a sequence diagram, or possible an activity diagram (although I think this might be less informative). Not really a class diagram, that's low level and structural not behavioral.

0

精彩评论

暂无评论...
验证码 换一张
取 消