hi, my name is chloe and i'll be teaching you everything you need to know about uml use case diagrams we'll start with a high level overview then we'll talk about systems actors use cases and relationships and finally we'll build an entire use case diagram together and go over examples to explain these concepts in depth have you ever had an idea that makes perfect sense in your head, but when you try to explain it to someone else they're completely lost maybe your idea is for a new app and every time you talk about it people don't really understand how they'd interact with the app or what it would do this type of scenario is where a use case diagram is very helpful here's a simple description of a use case diagram first it shows a system or application then it shows the people organizations or other systems that interact with it and finally it shows a basic flow of what the system or application does it's a very high level and typically won't show a lot of detail but it's a great way to communicate complex ideas in a fairly basic way before we really get into the tutorial let's talk about how you're going to make a use case diagram you can draw them out with pen and paper but a diagramming application is going to be much easier today i'll be using lucid chart and you can too for free actually just click the link to access lucid charts website, enter your email address and you'll have a free lucic chart account in just a few seconds it's easy to use and you can follow along with me as we build a use case diagram okay, so we're gonna break down use case diagrams into four different elements systems actors use cases and relationships let's start with systems a system is whatever you're developing it could be a website a software component a business process an app or any number of other things represent a system with a rectangle and you put the name of the system at the top, we're going to build a use case diagram for a very simple banking application we'll call our system banking app this rectangle helps to find the scope of this system anything within this rectangle happens within the banking app anything outside of this rectangle doesn't happen in the banking app the next element is an actor which is depicted by this stick figure an actor is going to be someone or something that uses our system to achieve a goal that could be a person an organization another system or an external device so who or what is going to be using our banking app? the most obvious actor is a customer we are going to have customers that download and use our banking app another actor that we want in our diagram is the bank the bank is going to provide information that feeds into our banking app like transactions and account balances here are a couple things to keep in mind when dealing with actors first, it's important to note that these actors are external objects they always need to be placed outside of our system second actors need to be thought of as types or categories for our banking app an actor isn't going to be a specific individual or a specific organization we won't label our actors as john and chase bank we want to keep things categorical so right now we're saying that both customers and banks are going to use our app and this brings up the topic of primary and secondary actors a primary actor initiates the use of the system while a secondary actor is more reactionary so in our example, which actor is primary and which actor is secondary the primary actor is customer the customer is going to initiate the use of our system they're going to pull out their phone open up our banking app and do something with it bank on the other hand is a secondary actor the bank is only going to act once the customer does something if the customer goes on the app to see how much money is in their account only then does the bank engage with our system to provide the balance primary actors should be to the left of the system and secondary actors should be to the right this just visually reinforces the fact that customer engages with the banking app and then the bank reacts the next element is a use case and this is where you really start to describe what our system does a use case is depicted with this oval shape and it represents an action that accomplishes some sort of task within the system they're going to be placed within the rectangle because there are actions that occur within the banking app so what is our banking app going to do we're going to keep things very simple our banking app is going to allow a customer to log in check their account balance transfer funds between accounts and make payments towards bills so, if this is what our banking app does we're going to have use cases that describe each of those actions we'll have a use case called login another called check balance, another called transfer funds and finally make payment you can see that each of these use cases starts with a verb and reinforces an action that takes place we also want them to be sufficiently descriptive if this use case just had transfer that would be too big finally it's good practice to put your use cases in a logical order when possible that's why we put login at the top that's the first thing that will happen when a customer uses our banking app the final element in use case diagrams are relationships an actor by definition is using our system to achieve a goal, so each actor has to interact with at least one of the use cases within our system in our example, a customer is going to log into our banking app so we draw a solid line between the actor and the use case to show this relationship this type of relationship is called an association and it just signifies a basic communication or interaction a customer is going to interact with the rest of these use cases as well they're going to check balance transfer funds and make payment so we'll draw solid lines out to each of those as well secondary actors will also have relationships remember each actor has to interact with at least one use case so which use cases will the bank interact with when a customer wants to check their balance on the app, the bank is going to provide the cracked amount let's draw a line between bank and check balance similarly when a customer wants to transfer funds or make a payment the bank is going to follow through with those transactions we don't need to draw a lion to log in because that process happens within the banking app there's no need for the bank to actually get involved with the login process there are three other types of relationships in addition to association there's include extend and generalization let's build out this diagram with additional use cases in in order to explain these types of relationships when a customer types in their login information, our banking app is going to verify the password before completing the login process, but if the password is incorrect the banking app is going to display an error message, so let's create two new use cases for verify password and display log in error when a customer wants to transfer funds or make a payment our banking app is going to make sure there's enough money to complete those transactions, so we'll also create another use case called verify sufficient funds and finally when a customer wants to make a payment our banking app is going to give them the option of paying from either their checking account or their savings account so we'll create two more use cases called pay from checking and pay from savings let's circle back to this verify password use case and talk about relationships again how does verify password relate to the rest of the diagram neither of our actors are directly initiating this action it's just immediately going to happen within our banking app every time there's an attempt to log in this is an include relationship an include relationship shows dependency between a base use case and an included use case every time the base use case is executed the included use case is executed as well another way to think of it is that the base use case requires an included use case in order to be complete when you have an include relationship, you draw a dash line with an arrow that points towards the included use case so in our example login is the base use case and verify password is the included use case every time a customer logs in our banking app will automatically verify password this login use case won't be complete unless verified password is complete so we draw a dash line with the arrow pointing towards the included use case and we write include in double chevrons the next type of relationship is the extend relationship an extend relationship has a base use case and an extend use case when the base use case is executed the extend use case will happen sometimes, but not every time the extend use case will only happen if certain criteria are met another way to think of it is that you have the option to extend the behavior of the base use case when you have an extend in relationship you draw a dash line with an arrow that points towards the base use case in our example login is a base use case and display login error is an extended use case our banking app won't display a login area message every time a customer logs in this will only happen once in a while when a customer accidentally enters an incorrect password since this is an extend relationship we draw a dash line with an arrow that points to the base use case and write extend between double chevrons hopefully this thoroughly explains the difference between include and extend relationships, but just in case here's a very basic example to help differentiate between the two if you sneeze, you will close your eyes that's an included relationship because it's going to happen every time additionally if you sneeze, you might say excuse me that's an extended relationship because it's supplements the sneeze, but isn't completely necessary in the sneezing process just remember that include happens every time extend happens just sometimes and don't forget that the arrows point in opposite directions one quick thing to note is that multiple based use cases can point to the same included or extended use case for example both transfer funds and make payment are going to point to verify sufficient funds as an included use case, we want our banking app to make this check every time either of these base use cases occur you don't need to duplicate the verify sufficient funds use case the simpler your diagram the better the last type of relationship will discuss is generalization also known as inheritance when you make a payment from our banking app you can do so from either your checking account or your savings account in this scenario make a payment is a general use case and pay from savings and pay from checking are specialized use cases you could also use the terms parent and children each child shares the common behaviors of the parent, but each child adds something more on its own to show that this is a generalization we draw this type of arrow from the children up to the parent you can have generalizations on use cases like we have here you can also have generalizations with actors in certain scenarios you might want to distinguish between a new customer and a returning customer you can make them both children to a general customer actor which would allow you to have certain behaviors or qualities unique to each of these children one last shape that we'll quickly talk about is a use case with extension points you can see an example here the name of the use case is above the line and then there are extension points below the line extension points are just a detailed version of extend relationships this use case shows that a customer can set up their profile in our banking app and then these extension points show us that when a customer is setting up their profile, they'll have the option to navigate to a couple different screens if a customer is confused they can go to profile help and if they want details regarding their private information they can go to privacy info those extension points branch off to extended use cases go to profile help and show privacy info we can even add a note to show what sort of conditions would lead to these extension points now we have a complete use case diagram with various elements that help explain what our banking app does this is a very basic example but remember that even complex systems should be restricted to a simplistic visualization of functionality behavior and relationships if you'd like to take a closer look at this example click on the card in the upper right hand corner you'll find this exact banking app example plus several other examples and resources thanks for watching this tutorial on uml use case diagrams please subscribe to our channel to see more helpful tutorials leave a comment below if you have any thoughts or questions and lastly click here to try lucid chart for free and start making your own uml diagrams。
粉丝199获赞939

首先文件新建一个模型,好这个模型,然后在右边的话呢, 那么这里就有这一个模型的相关属性,模型的名字啊,什么之类的啊?某一个项目,某一个软件项目啊,取个名字啊,好像本科对银行项目,银行的业务系统。 然后下面 model 就是模型的模型的意思, 然后点开模型的下面这个是的这个左模型啊,左模型一般都是类图类的,可以在这个模型上面摸到上面单击右键添加一个图, 一个状态图,或者叫活动图啊。活动图,这个一般就是就是活动图,这个活动图的话跟我们 一般讲的流程图很相似。对,因此描述流程的时候可以用这个活动图来做, 然后的话左边这边就会出现这一个活动图绘制的一些相关图标吧。相关图标看这个流程开始,流程结束,流程开始。 点一下这个流程开始,这个就是流程结束。牛眼符号啊,牛眼符号, 然后到后方 下,可能就是需要的是一些活动,活动呢就是 action 动作。看这个你输入年龄, 收了年龄, 哎,怎么点了好几个啊。 然后连接线的话,就是这个 ctrl flow 控制的,有 控制流好,输入年龄,输入年龄的话,根据这个年龄来判断,判断的话就是 dc 型。这个决策这个决 好,右边很多可以调整的。可以调整。 哎,这个新版本还不好用,我原先用的是老版本,这边都是他的样式啊,他的样式可以调整他的样式。右边这个多个 x, 这个多个 x, 删除他 宝儿的应该是这个。 哎,这什么添加文字,我看看。添加约束啊,是这里添加约束 喂, 哎,上面文字添加这个整个不久都变了啊,我原先用的是老版本的, 于是 对齐方式, 样式版型拿稳当。哎, 我记得有一个,呃,输入文字的工具啊,这里面 原先是双击就可以往里面放文字的,那现在还不行了,这个奇怪, 看看方文字是哪里, 然后这条件年龄 大于十八, 这是条件赢了,直接双击就可以往里面输的。 现在可以点开下面这个按提醒注解,里面有这个 text, 就输入文本,输入文本,然后里面这个流程的话, ctrl flow 这个控制点,点击拖动,你可以在上面写文字啊,写文字,那当然这个地方还需要有一个动作,就是 action 动作,那么这个时候年龄大于十八的话,那就是输出。 哎,这个蚊子,哎,这个奇怪啊,还不如年轻老专门好用啊,习惯啊。 哎,不对呀, 一零到一十八这个版型 x 三 x 三的名字吗?就改这个吧。那就 他这里这个矩形的话,就是用来做操作的, 做操作,然后的话这个控制流的连接一下 啊,这个还不好用呢, 还可以拖动啊,他只能这么去画折现的。 那这上面的文本的话,如果是满足条件输出这一个是吧,如果不是的话呢?好,就往下走, 应该不是连到这上面来,应该是连到这个下面来。 哎, 不能够被连接到这个控制点,要连接到另外一个操作,这样就行。 好,总之画流程图的话,有各种各样的软件,这个地方是我们这个 umi 当中啊,统一建模语言里面的, 那这样的一个活动图,用这个活动图来代表这一个流程图,往往是这样的 啊,这个新版本的还不是很顺手啊,用起来原先是大原版的,四的话我们用的是最多的这个,这个里面应该是五版本的, 应该是五版本新的版本,而且这个是现在还要破解,原来是免费的,然后现在的话是做成这个要收费,所以还要破解,破解 好,总之各种软件的话其实都可以绘制这一个流程图。对,以后的话我们是通过这个十大 eml 来绘制这样的一些图形啊,绘制这样的图形啊,这个大概就是这样的一个思路啊。啊,好,这个是 啊,四大烟呢,来绘制一个活动图啊,活动图,等大家把这个装一下,装一下,破解一下,到这个后面需要用到破解的话,这个地方呢有这个文档啊,我放到那个文档上去, 在就直接在这下面啊, 到破解之后就可以用了,原先根本不需要破解,原来原先是开原免费的啊,然后现在他这个版本的话,实际上交二点八,实际上是五点零版本啊,这个就变成了收费的,原来是免费的,还用的好, 把这个破解的话就照这个文档就破解一下,把这个安装好。

如何在 reduce star 找到好看的调色滤镜? 你只需在编辑界面点击新建,打开多视频层,点击图层导入内容,点击颜色,搜索关键词,下色、秋色、冬色等。 以上三种颜色效果都是免费的,无需专业版,每个效果内有十六种滤镜样式可以自由选择。当然,如果你开通了专业版,可以使用色彩魔法系列,同样包含了更多滤镜样式。

哈喽,大家好,一分钟带你了解都是平层拓展包。拓展包是单个独立的,你可以在 vd star 内商城界面左下角位置找到拓展包标识,点击后进行查看和开通。 在没有开通多视频层拓展包时,你可以自由免费的使用单个图层进行编辑,但这仅限一个图层。多视频层拓展包开通后可解锁所有图层。划重点哦,是所有图层, 当前图层数量为十五个图层,你可以在多个图层内使用图层关键针、主空键功能、三 d 深度功能等进行编辑。当你熟练使用单个图层进行编辑时,你就可以考虑开通多视频层拓展包,进行多个图层编辑。以上为多视频层拓展包的介 你了解了吗?你是否开通拓展包或喜欢哪些拓展包?请在评论区告诉我哦,我们下期见!