Questions tagged [diagram]
A diagram is a two-dimensional geometric symbolic representation of information according to some visualization technique.
diagram
1,992
questions
487
votes
50
answers
1.1m
views
What's the best UML diagramming tool? [closed]
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) ...
451
votes
16
answers
434k
views
How to generate UML diagrams (especially sequence diagrams) from Java code?
How can I generate UML diagrams (especially sequence diagrams) from existing Java code?
397
votes
9
answers
341k
views
What's the best way to generate a UML diagram from Python source code? [closed]
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 ...
360
votes
14
answers
378k
views
Auto Generate Database Diagram MySQL [closed]
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 ...
204
votes
7
answers
203k
views
Tools to generate database tables diagram with PostgreSQL? [closed]
Are there any free tools to generate table diagrams with PostgreSQL?
204
votes
9
answers
422k
views
Generate table relationship diagram from existing schema (SQL Server) [closed]
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.
187
votes
3
answers
308k
views
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?
127
votes
31
answers
35k
views
Is UML practical? [closed]
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 ...
116
votes
5
answers
176k
views
What tool to use to draw file tree diagram [closed]
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 ...
102
votes
13
answers
168k
views
Tools for creating Class Diagrams [closed]
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 ...
101
votes
4
answers
43k
views
Why is a database always represented with a cylinder? [closed]
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 ...
95
votes
14
answers
102k
views
Easiest algorithm of Voronoi diagram to implement? [closed]
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.
94
votes
10
answers
59k
views
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 ...
81
votes
3
answers
50k
views
Mermaid diagram line break
I cannot find how to insert a line break in long titles inside nodes. For example:
library(DiagrammeR)
mermaid("
graph TB
A[GE Solution]-->C{ }
B[GA Solution]-->C{ }
C{ }--&...
81
votes
2
answers
57k
views
Django - Model graphic representation (ERD) [closed]
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 ...
80
votes
1
answer
158k
views
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 ...
67
votes
3
answers
105k
views
What is the symbol for a queue?
In a flowchart or process diagram, what is the symbol for a FIFO queue?
66
votes
2
answers
217k
views
Generate a class diagram from Visual Studio
I would like to generate a class diagram with relations for my visual studio project. I opened my solution, added a new ModelingProject, added a new .classdiagram file but when i want to drag my ...
66
votes
5
answers
79k
views
How to generate dependency graph with text [closed]
Is there a simple online tool that will generate a dependency graph (boxes linked by arrow lines) based on text input like:
A -> B
Much like this one:
www.websequencediagrams.com
(It generates a ...
65
votes
7
answers
64k
views
Azure data studio schema diagram?
I just recently downloaded Azure Data Studio with SQL Server Express since I'm using Linux . Is there an entity-relationship diagramming feature, kind of how SQL Server Management Studio has a ...
55
votes
5
answers
69k
views
How to correct PlantUML Line Path
I created this diagram using the following code. But as you can see, the lines going from (Cancel Order) and (Place Order) to (Publisher) decide to take a terribly rounded path to get their, instead ...
55
votes
2
answers
34k
views
What is the correct way to represent template classes with UML?
On a UML diagram, what is the correct way to represent a template class?
50
votes
9
answers
48k
views
Drawing Sequence Diagrams [closed]
I'm looking for an easy language/command line utility to draw sequence and timing diagrams (could be 2 different tools). I've already found Mscgen for sequence diagram drawing and looks pretty good, ...
50
votes
4
answers
40k
views
Is it possible to generate a diagram of an entire Django webapp? [closed]
Is it possible to generate a diagram of an entire Django site? For example, to understand the model/database structure I use graphViz which is extremely useful for keeping track of the model structure,...
37
votes
4
answers
70k
views
Difference between StateChart and Activity Diagram
I am really unable to understand the real difference between these 2 diagrams. I mean both of these deal is "states" but I am not sure what deals with what?
36
votes
3
answers
13k
views
How does one define double-lines for edge and node shapes in graphviz dot?
How can edges and nodes be styled using graphviz dot with doubled lines as shown the in the "LEGAL" and "TAX DISC" nodes of the following diagram?
34
votes
3
answers
78k
views
Best tool to create "Architecture Diagrams" (not UML) [closed]
I want to create an "architecture diagram" to explain our Software (libraries, Eclipse RCP, modules, features, etc.).
What is the correct name for such diagrams?
What is a good tool to create them? ...
33
votes
2
answers
90k
views
C# code to class diagram [closed]
I have a C# solution which has 2 projects in it and I need to generate class diagram from code.
I know there is a built-in diagram tool in visual studio, but I'm using 2010 express and it doesn't ...
32
votes
2
answers
68k
views
Color Change of One Element in a Mermaid Sequence Diagram?
I'm using Mermaid to create a sequence diagram in Markdown. I'd like to highlight some of the participants and to gray some of the arrows.
How can that be done?
31
votes
3
answers
36k
views
How to view database diagram in a Code First using localdb
I have a Code First project with Entity Framework 5.0.0 using localdb created in Visual Studio 2012 Ultimate.
Although I can see my class relations in a Class Diagram, how to see a visual diagram of ...
30
votes
6
answers
33k
views
How to export a SQL Server 2008 Database Diagram to another DB?
I use the handy Database Diagramming tool in SQL Server 2008 for creating and managing relationships. I have exported the sourceDB to the destinationDB but the diagram doesn't come across.
I am ...
30
votes
3
answers
89k
views
Auto Generate Database Diagram for PHPMyadmin DB? [closed]
i want tool for to generate DB diagram below, i need to generate particular db tables structure like below,
how can i do that?...is there any free tool or application is available for that. i already ...
30
votes
4
answers
47k
views
tools to generate UML diagrams for exisiting classes in javascript [closed]
The project grows and there appears a necessity to visualize relations between the classes present in the project. Some of them are independent, some of them are inherited from others.
I am looking ...
29
votes
3
answers
21k
views
How to remove diagramming support objects from SQL Server?
I need to remove diagramming support tables, stored procs, views, etc from SQL Servrer using TSQL script.
Is there such a script available?
SQL 2005 and 2008.
28
votes
2
answers
14k
views
Generating UML diagram from Scala sources [closed]
Is there any stand-alone tools (not Eclipse or Idea plugins) for generating class diagram from Scala source files?
28
votes
7
answers
23k
views
What documents should be stored in version control and how should they be stored? [closed]
I've found some similar questions (here, here, and here) asking about storing documents into version control. I have a more specific requirement and general question. The specific requirement is that ...
28
votes
1
answer
11k
views
How to generate documentation for React Native?
I tested Doxygen and multiple GitHub projects (jsdoc, react-docgen, react-doc-generator using npm i -g like:
react-doc-generator ./ -o DOCUMENTATION.md
react-docgen --pretty -o out/reactdocgen.html ./...
27
votes
6
answers
3k
views
How are clojure/lisp programs modeled as a diagram? [closed]
I've tried wedging my clojure diagrams into what's available in UML, using class-blocks as the file-level namespaces and dependency links to show relationships, but it's awkward and tends to ...
26
votes
5
answers
14k
views
How do PStricks and TikZ compare for ease of learning and for quality of API design? [closed]
My group uses Literate Programming for most of our source code---this means that internal documentation is written using LaTeX. We have been using PStricks for fancy technical diagrams of the system, ...
26
votes
5
answers
36k
views
Eclipse plugin for generating UML diagram from c++ code
Is there any eclipse plugin that can generate UML/Class Diagram from C++ source code?
24
votes
2
answers
60k
views
matplotlib.pyplot How to name different lines in the same plot?
Think about doing this:
import matplotlib.pyplot as plt
plt.plot(x_A,y_A,'g--')
plt.plot(x_B,y_B,'r-o')
plt.show()
How would you go about giving both lines different names, i.e. like Microsoft ...
24
votes
2
answers
49k
views
Is it recommended to make associations to enum classes in UML class diagrams?
I am designing a class diagram and I got a doubt:
I have a class which have several attributes referring to Java enums and other classes that will be mapped as DB catalogs.
For example, there is a ...
23
votes
3
answers
46k
views
Open 2 Visio diagrams in different windows [closed]
I would like to know if I can open 2 different diagrams using MS Visio and each diagram have its own window. I've tried in several ways, but I always end up with 1 Visio window ...
I'm using a triple ...
23
votes
12
answers
7k
views
Language or package for drawing geometric diagrams
I am looking for a language, or package in an existing language, that is good for specifying and drawing geometric diagrams.
For example, I would like to draw a hexagonal grid, with its dual ...
23
votes
4
answers
68k
views
What is the difference between 'includes', 'extends' and 'uses'?
In a use case diagram what is the difference between <<includes>>, <<extends>> and <<uses>>?
Are <<includes>> and <<uses>> are the same ...
22
votes
4
answers
11k
views
Create ERD type diagrams from Rails code
I'm beginning to learn Ruby on Rails, and looking at other peoples code. Is there any way to take an exisiting codebase and create object relationship diagrams or Entity relationship diagrams (ERD's) ...
21
votes
11
answers
29k
views
svg diagrams using python
I am looking for a library to generate svg diagrams in python (I fetch data from a sql database). I have found python-gd, but it has not much documentation and last update was in 2005 so I wonder if ...
21
votes
5
answers
22k
views
Neo4j - is it possible to visualise a simple overview of my database?
I've got my graph database, populated with nodes, relationships, properties etc. I'd like to see an overview of how the whole database is connected, each relationship to each node, properties of a ...
21
votes
7
answers
67k
views
Direction of the association arrow in UML class diagrams
On this webpage which shows how to draw a class diagram, why is the arrow for association pointing from order to customer, and not from customer to order?
UML Tutorial - Class Diagrams
21
votes
3
answers
8k
views
Fusing arrows sideways in mermaid diagrams
How can I add laterally fused arrows in a R sequential mermaid diagram?
In the the example below:
library(DiagrammeR)
mermaid("
graph TB
A[GE Solution]-->C{1:1}
B[GA Solution]-->C{1:1}
...