Questions tagged [diagram]

A diagram is a two-dimensional geometric symbolic representation of information according to some visualization technique.

1874 questions
488
votes
50 answers

What's the best UML diagramming tool?

I'm trying to choose a tool for creating UML diagrams of all flavours. Usability is a major criteria for me, but I'd still take more power with a steeper learning curve and be happy. Free (as in beer) would be nice, but I'd be willing to pay if the…
eplawless
  • 4,225
  • 7
  • 34
  • 35
449
votes
16 answers

How to generate UML diagrams (especially sequence diagrams) from Java code?

How can I generate UML diagrams (especially sequence diagrams) from existing Java code?
Jonathan
  • 7,349
  • 5
  • 29
  • 35
387
votes
9 answers

What's the best way to generate a UML diagram from Python source code?

A colleague is looking to generate UML class diagrams from heaps of Python source code. He's primarily interested in the inheritance relationships, and mildly interested in compositional relationships, and doesn't care much about class attributes…
Mike Pirnat
  • 3,871
  • 3
  • 17
  • 7
358
votes
14 answers

Auto Generate Database Diagram MySQL

I'm tired of opening Dia and creating a database diagram at the beginning of every project. Is there a tool out there that will let me select specific tables and then create a database diagram for me based on a MySQL database? Preferably it would…
cmcculloh
  • 47,596
  • 40
  • 105
  • 130
204
votes
9 answers

Generate table relationship diagram from existing schema (SQL Server)

Is there a way to produce a diagram showing existing tables and their relationships given a connection to a database? This is for SQL Server 2008 Express Edition.
Nick Zalutskiy
  • 14,952
  • 7
  • 53
  • 50
202
votes
7 answers

Tools to generate database tables diagram with PostgreSQL?

Are there any free tools to generate table diagrams with PostgreSQL?
Hannoun Yassir
  • 20,583
  • 23
  • 77
  • 112
185
votes
3 answers

UML class diagram enum

I am modeling a class diagram. An attribute of a class is an enumeration. How do I model this? Normally you do something like this: - name : string But how does one do this with an enum?
Martijn
  • 24,441
  • 60
  • 174
  • 261
127
votes
31 answers

Is UML practical?

In college I've had numerous design and UML oriented courses, and I recognize that UML can be used to benefit a software project, especially use-case mapping, but is it really practical? I've done a few co-op work terms, and it appears that UML is…
Chris
  • 6,761
  • 6
  • 52
  • 67
114
votes
5 answers

What tool to use to draw file tree diagram

Given a file tree - a directory with directories in it etc, how would you write a script to create a diagram of the file-tree as a graphic file that I can embed in a word processor document. I prefer vector (SVG, EPS, EMF...) files. The tool must…
Michael
  • 1,851
  • 4
  • 19
  • 26
103
votes
4 answers

Why is a database always represented with a cylinder?

This question came up today and I couldn't find any historical answer as to why a database is always represented as a cylinder. I am hoping someone in the stack world would know why and have a link or something backing it up.
102
votes
13 answers

Tools for creating Class Diagrams

Please suggest tools for creating Class Diagrams with the following criteria: It should be platform-independent because I use Linux and the file is expected to be edited by other members of the team using Windows/Mac Free, because there no such…
Randell
  • 6,112
  • 6
  • 45
  • 70
95
votes
14 answers

Easiest algorithm of Voronoi diagram to implement?

What are the easy algorithms to implement Voronoi diagram? I couldn't find any algorithm specially in pseudo form. Please share some links of Voronoi diagram algorithm, tutorial etc.
fireball003
  • 1,909
  • 5
  • 20
  • 24
92
votes
10 answers

Sankey Diagrams in R?

I am trying to visualize my data flow with a Sankey Diagram in R. I found this blog post linking to an R script that produces a Sankey Diagram; unfortunately, it's quite raw and somewhat limited (see below for sample code and data). Does anyone know…
Eric Fail
  • 8,191
  • 8
  • 72
  • 128
79
votes
2 answers

Django - Model graphic representation (ERD)

I'm searching a way to represent my Django project model graphically. Is there a "native" way to do this kind of ERD (diagram) ? Update following @Etienne instructions Here is an example of how I finally view the PDF representing some models of my…
Pierre de LESPINAY
  • 44,700
  • 57
  • 210
  • 307
74
votes
1 answer

constructor with parameters in UML class diagram

How would you create an uml class diagram for constructors with parameters? For default constructors (no parameters) you do policyholder() for the diagram and in the pseudo-code For constructors with parameters would you do the same…
blake
  • 771
  • 1
  • 6
  • 9
1
2 3
99 100