The tag has no wiki summary.

learn more… | top users | synonyms

32
votes
10answers
3k views

Is code commonly generated from UML?

So when I was at university I was educated on the benefits of UML and its future in code development. But from my industry experience, I've found that while we do use diagrams—ranging from ER ...
8
votes
3answers
638 views

What's the formal name of this diagram?

I'd also want to know how can I draw them.
8
votes
6answers
2k views

On-the-fly graphical representation of code [closed]

I know about Omondo's plugin for live code-UML synchronization in Eclipse, but I was wondering if there was any other tool/IDE/IDE-extension that has some form of live graphical code representaiton ...
6
votes
5answers
322 views

How to model the components of a non Information System?

I am working on a kernel-related project (specifically related to the TCP/IP stack of the kernel). I need to build some models to describe the functionality and components of my system. Initially I ...
5
votes
5answers
1k views

How to tackle complex business rule and logic?

I have a domain expert to work with, but he would throws a lot of details to me verbally. The business logics are complex, business rules change often, the business process is long and multi-ending / ...
5
votes
3answers
2k views

How to learn to draw UML sequence diagrams [closed]

How can I learn to draw UML sequence diagrams. Even though I don't use UML much I find that type of diagrams to be quite expressive and want to learn how to draw them. I don't plan to use them to ...
5
votes
5answers
1k views

Dataflow Diagrams - are they used in the real world?

So, last semester I had an Information Systems course where we were supposed to create a typical CRUD site. We were given a couple of Use Cases and from then on we created Dataflow Diagrams that were ...
5
votes
1answer
146 views

How to visually document interactive user interfaces for fast consumption

I'm writing documentation for some interactive Ajax user interface but instead of writing everything in words I would rather provide diagrams that are faster consumed than whole paragraphs of text. I ...
5
votes
1answer
6k views

Are using <<include>> and <<extend>> relationship in this use-case diagram actually same?

I am trying to draw a UML use-case diagram to model requirements for a software project. The two requirements I have issue to model are: TravelAgent creates a booking for a [old] client who is ...
5
votes
3answers
701 views

Looking for the tool that generated JSON Rail-Road grammar descriptions [closed]

I am currently working on a little language, and I'd like to express its grammar more rigorously. I know about EBNF and it's great to generate parsers (Bison/Yacc), however it's not that easy to ...
4
votes
1answer
885 views

Sequence Diagrams

I recently read the book 'UML Distilled' and found the sequence diagrams very useful. My question is that can we show 'data flow' as well on a sequence diagram? This is my first time on sequence ...
4
votes
6answers
1k views

Diagram that could explain a state machine's code?

We have a lot of concepts in making diagrams like UML and flowcharting or just making up whatever boxes-and-arrows combination works at the time, but I'm looking at doing a visual diagram on something ...
4
votes
2answers
1k views

Types of ER Diagrams

I'm currently taking a class for database design, and we're using the ER diagram style designed by Peter Chen. I have a couple of problems with this style: Keys in relationships don't seem ...
4
votes
1answer
194 views

Diagramming messages on a service bus

I'm looking for a way to clearly diagram how multiple applications communicate via a service bus. The best I've come up with so far is a sequence diagram, but I really don't like that. Sequence ...
4
votes
1answer
174 views

Paradigm Diagram

Does anyone have a diagram showing all significant programming paradigms. Something like this but with paradigms as titles would be ideal:
4
votes
1answer
250 views

What is the name of this relationship between objects?

Different types of dependencies have particular names, such as linear dependency, circular dependency, self-referencing object, etc. What is the name of the dependency where those rules are true? A ...
4
votes
1answer
216 views

How to properly diagram lambda expressions or traversals through them in Architecture Explorer?

I'm exploring a piece of code in Architecture Explorer in Visual Studio 2010 to study the relations between methods. I noticed a strange behavior. Take the following source code. It generates a hello ...
3
votes
3answers
400 views

What diagrams, other than the class diagram and the workflow diagram, are useful for explaining how an application works?

I am working on a small Delphi project, composed of two units. One unit is for the GUI, and the other for data management, file parsing, list iterating and so on.. I've already made a class diagram, ...
3
votes
2answers
619 views

can an object in a sequence diagram send a message call to the user?

I need to make a sequence diagram and I'm not sure how to represent user input. Is it correct to have a message be sent from an object to the user asking for user input or should all objects be ...
3
votes
1answer
212 views

UML communication diagrams, implementation details or not?

After reading Applying UML and Patterns (Larman) and looking around on the Internet it still seems ambiguous to me if a UML communication diagram should depict implementation details (such as GUI ...
3
votes
2answers
658 views

How do you represent container classes in UML?

When drawing out quick class diagrams, I'm often at a loss how to represent classes that are used just to pass data around between various parts of the program. I've been putting them out in the ...
3
votes
1answer
148 views

How to draw a class diagram where a class contains either 6 other classes or mupltie different

I know the basics but do not how to model this (it is an exercise with no solution provided): An order can contain 1 or more cartons of beer. Each carton contains 6 beers of the same kind but ...
3
votes
1answer
424 views

What's a good notation for showing MVC interactions?

I'm developing various websites and functionality to cater to various different use-cases up in Django. Is there a good notation for showing what behaviour is at each stage, e.g., swimlanes. I use ...
2
votes
2answers
2k views

How to draw a good diagram of a business workflow? What software?

I want to create an illustration for a product purchase wizard, and I want to illustrate the way user interacts with the wizard. It's basically a simple flowchart or a simple workflow: User starts ...
2
votes
2answers
2k views

how to express alternative flows in activity diagram

I want to express the below events in an activity diagram: An alternative flow, such as "at step x of basic flow, user clicks cancel instead of ok". An alternative entry to the use case, such as ...
2
votes
3answers
758 views

Do activity diagrams always end in one endpoint?

For example an activity diagram for a simple program: Get User data. If User Exists DO something, ELSE do nothing. End. I often see diagrams with multiple endpoints but also with just one. Should ...
2
votes
3answers
195 views

UML modelling semantics

In today's lecture about Modelling techniques with respect to MDD using UML the lecturer stated that it's absolutely necessary to give a (possibly) textual description about the semantics of each ...
2
votes
3answers
308 views

How to model two similar tasks with the Use-case diagram

I am trying to draw a use-case diagram for a software project. Two requirements for the software I am trying to model in use-case diagram are: A customer (i.e. Client) should be able to cancel its ...
2
votes
3answers
758 views

How to create a use case diagram for board game played on PC

I'm struggling with a task as I was given to practice UML and use cases. The problem is that I should model computer version of a board game so I am unsure about a few things. obviously it does not ...
2
votes
3answers
1k views

Data Flow Diagrams - Difference between Lines and Arrows

I'm currently working with Visio to create Data Flow Diagrams for a System Analysis and Design class but I'm unsure what the difference between ------ and ------> is. I can connect 2 shapes ...
2
votes
1answer
469 views

Is my DFD accurate?

This is my first ever DFD that I made after my fair share of learning but I have no way of verifying whether it is correct or not. Although I have taken utmost care to make sure it is right, I may be ...
2
votes
1answer
15k views

Flow Chart - While Loops process

I'm having difficulties understanding whether or not this is the right process to use for a flow chart which illustrates the processes involved in an algorithm. For this, assume the following: A 1D ...
2
votes
1answer
180 views

How to properly deal with ER and UML diagram management

When learning about these tools, I (naively) thought that mapping about the business space could be front loaded by doing it only once and refering to those diagrams for each project within a single ...
1
vote
2answers
312 views

What kinds of visual content, tables or diagrams might I want to include in my Project Architecture Document?

Besides logical and physical architecture diagrams, comps / mockups and tables for expected network load between components and various data schemas, what kinds of visual content, tables or diagrams ...
1
vote
1answer
967 views

What UML diagram should I use to show a platform's architecture?

I have been learning UML and have a basic understanding now, but I keep seeing these sort of high level architecture diagrams. Here's one from Microsoft: Source: A bad picture is worth a thousand ...
1
vote
1answer
2k views

how could I draw the database transaction commit in the sequence diagram

How could I draw the database transaction commit in the sequence diagram? EDIT I want to draw in sequence diagram database transaction commit/rollback process
1
vote
1answer
145 views

How to create a feature map?

I have a big side project that I do now for 3 years. It has a lot of extra small tools to help me do tasks. Most of those tools are so old that I forgot what I have there. How to create a feature map ...
1
vote
2answers
329 views

Activity diagram, can merge node have more than 1 output?

There is a simple system, that allows users to do 4 things: ADD, EDIT, DELETE, PRINT data. I am due to model it (I'm entirely new to UML activity diagrams) and from notation, I dont understand ...
1
vote
1answer
882 views

Creating alternate keys with Visio ERD diagrams

I'm trying out Visio for the first time today, creating ERD's. Is it possible to specify alternate keys in addition to PK's in Visio ERD diagrams. I can't see any way to define more than one key on a ...
1
vote
1answer
103 views

What are ways of drafting a workflow document that maps elements in the design close to their counterparts in code?

We're starting a medium sized PHP web app, written in MVC fashion, using CodeIgniter. Most of the functional specifications have been written, and there are a few features that will definitely be ...
1
vote
1answer
211 views

How do you diagram global or shared state?

Say you're building an FSM for something like a game and you've got states like: MainMenu Options SinglePlayer MultiPlayer Your state diagram might look something like this: Now say you have a ...
1
vote
0answers
103 views

Diagram to show code responsibility

Does anyone know how to visually diagram the ways in which the flow of control in code passes between code produced by different groups and how that affects the amount of code that needs to be ...
1
vote
2answers
129 views

Describe business logic with diagrams

I am currently developing a web application for my thesis.I was asked by my professor to make diagrams to describe the business logic. Since I don't have a prior experience, I am pretty confused with ...
1
vote
1answer
105 views

Database design: circular reference but dynamically created

I am trying to design database for this case: Assignments have vectors, relation is 1:N Assignments have submissions, relation is 1:N Submissions have executions, relation is 1:N Every execution ...
1
vote
0answers
104 views

UML activity diagram: How to end activity after Event Signal Action?

To my knowledge, event signal actions are not allowed to have output control flow, so how can I model the end of an activity after a event signal action? The same issue arises for accept event actions ...
0
votes
2answers
48 views

Diagram to express parallelism in a process workflow

I'm modelling part of a software architecture on which several processes run as a workflow. The architecture involves data parallelism, where a certain serial process produces N pieces of data which ...
0
votes
2answers
178 views

How to do this in Standard UML?

In the below Sequence diagram, when the user have entered the Username and Password, I have to do the authentication. Now you can see two details valid details and invalid detail in the diagram , ...
0
votes
2answers
249 views

Use Case Diagrams - should I create a diagram just for a view business rule? [closed]

I'm modeling a UCD where I have two actors ( a content producer and a developer).. the content producer is going to create and specify details of a storyboard functionality, and the other actor ...
0
votes
1answer
607 views

What is the difference between UML Data profile and ER model?

I have been asked this question and even after a lot of research, I cannot find the answer. When I design a database using Entity relationship (ER) and then re-draw it as UML class model (extended ...
0
votes
1answer
664 views

How to show levels of User Roles in ERD?

I felt this is the best place to ask this, rather than Stackoverflow as it is not related to programming. Ok. The thing is I need to draw an ERD of a leave management system. Suppose there are three ...