The tag has no usage guidance.

learn more… | top users | synonyms

38
votes
11answers
4k views

Is code commonly generated from UML? [closed]

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 ...
4
votes
6answers
2k 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 ...
2
votes
2answers
3k 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 ...
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
5
votes
5answers
2k 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
5answers
2k 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 ...
6
votes
3answers
1k 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 ...
1
vote
1answer
234 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 ...
3
votes
2answers
951 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 ...
0
votes
2answers
180 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
1answer
902 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 ...
2
votes
2answers
3k 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 ...
5
votes
1answer
1k 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
2answers
2k 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 ...
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 ...
3
votes
2answers
747 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 ...
5
votes
1answer
612 views

How to read and understand ER diagrams

I've been handed the ER diagram for a quite complex database. Complex to me at least, 849 tables. One of the architects says to understand the code, you need to understand the database and ...