Topic: 序列图中能否表达出条件和循环?

  Print this page

1.序列图中能否表达出条件和循环? Copy to clipboard
Posted by: xiongjy
Posted on: 2004-03-31 11:56

如果能,怎么表达?贴个例图好吗?
如果不能,能否用其他的图表达呢?
这个问题困扰我很久了,请哪位大虾帮个忙?谢谢阿

2.Re:序列图中能否表达出条件和循环? [Re: xiongjy] Copy to clipboard
Posted by: spi_cn
Posted on: 2004-03-31 16:07

条件和循环应该在活动图中进行表示

3.Re:序列图中能否表达出条件和循环? [Re: xiongjy] Copy to clipboard
Posted by: xiongjy
Posted on: 2004-03-31 19:42

那序列图的功能岂不是太有限了?

4.Re:序列图中能否表达出条件和循环? [Re: xiongjy] Copy to clipboard
Posted by: spi_cn
Posted on: 2004-03-31 21:57

不能这么说,每个视图都是对研究对象某方面的抽象,各有各的优势!

5.Re:序列图中能否表达出条件和循环? [Re: xiongjy] Copy to clipboard
Posted by: lydemail
Posted on: 2004-04-01 00:26

序列图中没有循环.

6.Re:序列图中能否表达出条件和循环? [Re: xiongjy] Copy to clipboard
Posted by: gispda
Posted on: 2004-05-05 17:26

还是可以表示的,见下图。

7.Re:序列图中能否表达出条件和循环? [Re: xiongjy] Copy to clipboard
Posted by: spi_cn
Posted on: 2004-05-12 10:28

该书中还有一句话你忘了引用“ The first thing to point out is that this isn't what sequence diagrams are good at. If you want to show control structures like this, you are better off with an activity diagram or indeed with code itself. ”


   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923