Questions tagged [dot]

DOT is both a mathematical graph description language and a particular graph rendering engine (dot). As a graph description language, DOT uses a simple plain text mapping syntax to describe the relationships between nodes and edges (e.g. `nodeA -> nodeB`) , and a plain text markup syntax to add style, annotations, and constrain the rendered layout.

DOT is a plain text graph description language. It is a simple way of describing graphs that both humans and computer programs can use.

The following Example:

digraph g{

    // basic: A,B,C,D  (this is a comment)
    A -> B -> C -> D
    D -> C
    B -> D

    // node and edge markups
    nodeA [shape=diamond, color=red, style=dashed, label="Warehouse 259"]
    nodeA -> nodeB [color=blue, style=solid, label="MWF schedule, 2 ton capacity"]

}

will render to this graph:

enter image description here

DOT graphs are typically files that end with the .gv (preferred) or .dot extension.

Most uses of DOT are either by GraphViz programs or by software that uses GraphViz internally.

1075 questions
-1
votes
1 answer

Displaying graph in Java Application from .dot file

I want to display a graph written in .dot file in my Java application as an image. Is there any library to do that?
-1
votes
3 answers

How to wait for parallelized bash command that itself runs other tasks in threads? (doxygen & dot)

I'm on Mac OS X and use the following bash script to run doxygen on around 10 source code libraries. Problem is, doxygen runs the most time-consuming task "dot" (creates class diagrams) on separate threads by itself. This causes the wait command to…
CodeSmile
  • 64,284
  • 20
  • 132
  • 217
-2
votes
1 answer

How to avoid multiple dot in calculator in android studio

Here is my code for dot button. But i need to avoid multiple dot input.
-2
votes
1 answer

How do I connect Counterparty B to C and vice versa without changing the arragement

How do I connect counterparty B to D and vice versa without changing the arrangement setup. Here are the codes digraph graphname { A [label="Counterparty A" color=Blue, fontcolor=Red, fontsize=24, shape=box] // node T B…
user460329
  • 21
  • 3
-2
votes
1 answer

In Graphviz(dot language ) what i can do for getting nodes horizontal manner. I am using rankdir=LR but when i am using in subgraph it does not work

I am beginner using Graphviz. what can I do for getting like this? Can you guys please help me, Thanks in advance.
Anusha Konduru
  • 111
  • 2
  • 3
  • 11
-2
votes
1 answer

Powershell: is there a cmd-let to read and parse graphviz "*.dot" file?

Dot file is something like this: digraph G { "Welcome" -> "To" "To" -> "Web" "To" -> "GraphViz!" } Does powershell have a cmd-let helping to read or write a ".dot" file? What structure does it generate from a ".dot" file?
vik santata
  • 2,989
  • 8
  • 30
  • 52
-3
votes
1 answer

I want to get dot chart customize

I'm learning d3 charts and I want to get the result like the image. The data is json and it looks like this: [{ "date": "2020.12.1", "pay": 1 }, { "date": "2021.1.2", "pay": 1 }, { "date": "2021.2.1", "pay": 1 …
programer
  • 1
  • 3
-3
votes
1 answer

Need to check if point X is in any distance from a line made between 2 dots

I am using Sourcepawn, can also understand java ,but I need just a tip, idea to work on - 2 red dots are end points of the beam. Beam can be in any angles (X,Y). I need to focus on green dot, check the closest distance between orange line (I don't…
bonk
  • 5
  • 6
-4
votes
1 answer

how to save image using bitmap i tried this code

string billno = lblBillNo.ToString(); //memoryImage.Save("D:/rajkiran/" + lblBillNo.Text + ".jpg", System.Drawing.Imaging.ImageFormat.Jpeg); memoryImage.Dispose();
1 2 3
71
72