# Help

**URL:** https://forum.graphviz.org/c/help/5.md?page=1

[Latest](https://forum.graphviz.org/latest.md) · [Categories](https://forum.graphviz.org/categories.md)

**Page:** 2

---

## [Connect longer sequential edges first or group edges from same source node first](https://forum.graphviz.org/t/connect-longer-sequential-edges-first-or-group-edges-from-same-source-node-first/3177)

<div class="topic-metadata">

**Author:** [@ljh](https://forum.graphviz.org/u/ljh)\
**Replies:** 2\
**Last updated:** [September 4, 2025, 10:48am UTC](https://forum.graphviz.org/t/connect-longer-sequential-edges-first-or-group-edges-from-same-source-node-first/3177 "2025-09-04T10:48:03Z")

</div>

Hi community, Should I connect longer sequential edges first or group edges from same source node first as shown in cluster1 and cluster2 respectively? The results are a bit different. In cluster1, the node and edge o…

---

## [Large tree visualization](https://forum.graphviz.org/t/large-tree-visualization/3167)

<div class="topic-metadata">

**Author:** [@Podbrushkin](https://forum.graphviz.org/u/Podbrushkin)\
**Replies:** 2\
**Last updated:** [August 29, 2025, 1:49pm UTC](https://forum.graphviz.org/t/large-tree-visualization/3167 "2025-08-29T13:49:57Z")

</div>

I have a tree of ~4M of nodes which I want to visualize, and I did it successfully with sfdp layout, but I want improvement. Nodes are too dense, they gravitate to center too much. Below are visualizations of a tree whi…

---

## [How to set edge trajectory](https://forum.graphviz.org/t/how-to-set-edge-trajectory/3164)

<div class="topic-metadata">

**Author:** [@FeelUs](https://forum.graphviz.org/u/FeelUs)\
**Replies:** 6\
**Last updated:** [August 27, 2025, 11:13pm UTC](https://forum.graphviz.org/t/how-to-set-edge-trajectory/3164 "2025-08-27T23:13:56Z")

</div>

I have 4 nodes in row (A,B,C,D). Let’s say I want to route path A-\>D so that it goes from top of B and bottom of C. I’ve tried to do this: digraph G { A \[pos="0,0!", shape=star\]; B \[pos="100,0!", shape=circle\]; C \[p…

---

## [Discover graphviz](https://forum.graphviz.org/t/discover-graphviz/3154)

<div class="topic-metadata">

**Author:** [@frantzgac](https://forum.graphviz.org/u/frantzgac)\
**Replies:** 1\
**Last updated:** [August 17, 2025, 3:41pm UTC](https://forum.graphviz.org/t/discover-graphviz/3154 "2025-08-17T15:41:39Z")

</div>

Hello I am trying trivial command in windows command line \*echo 'digraph { a -\> b }' | dot -Tsvg \> output.svg\* finded here "https://graphviz.org/doc/info/command.html" this command build a file named 'b' containing \*'…

---

## [Newbie, force a graph to fit a letter page size for printing?](https://forum.graphviz.org/t/newbie-force-a-graph-to-fit-a-letter-page-size-for-printing/3124)

<div class="topic-metadata">

**Author:** [@zitot](https://forum.graphviz.org/u/zitot)\
**Replies:** 2\
**Last updated:** [August 5, 2025, 10:35pm UTC](https://forum.graphviz.org/t/newbie-force-a-graph-to-fit-a-letter-page-size-for-printing/3124 "2025-08-05T22:35:10Z")

</div>

Hi, just discovered this tool via AI, am still reading docs. It’s probably a bit early to ask this but I didn’t see it documented how to force a graph to fit onto one sheet of paper? And AI has not been very helpful, as …

---

## [Wrapping wide ranks onto multiple rows](https://forum.graphviz.org/t/wrapping-wide-ranks-onto-multiple-rows/3113)

<div class="topic-metadata">

**Author:** [@gabeblack](https://forum.graphviz.org/u/gabeblack)\
**Replies:** 6\
**Last updated:** [July 29, 2025, 7:06pm UTC](https://forum.graphviz.org/t/wrapping-wide-ranks-onto-multiple-rows/3113 "2025-07-29T19:06:39Z")

</div>

Hi! I have used the pydot library in a few different python based tools that I work on to create graphs of relationships between objects managed by those tools. In one case, the objects represent components inside a simu…

---

## [How to use the showboxes attribute?](https://forum.graphviz.org/t/how-to-use-the-showboxes-attribute/1287)

<div class="topic-metadata">

**Author:** [@jiangyongbing24](https://forum.graphviz.org/u/jiangyongbing24)\
**Replies:** 17\
**Last updated:** [July 21, 2025, 5:40am UTC](https://forum.graphviz.org/t/how-to-use-the-showboxes-attribute/1287 "2025-07-21T05:40:01Z")

</div>

According to my understanding, the box is used as an obstacle when drawing the edge, and the line segment is continuously divided to avoid passing through the box. showboxes introduces the shoeboxes attribute, but I don…

---

## [Is it possible to remove empty space that appears when using layers?](https://forum.graphviz.org/t/is-it-possible-to-remove-empty-space-that-appears-when-using-layers/3080)

<div class="topic-metadata">

**Author:** [@decision-making-mike](https://forum.graphviz.org/u/decision-making-mike)\
**Replies:** 8\
**Last updated:** [July 9, 2025, 9:48pm UTC](https://forum.graphviz.org/t/is-it-possible-to-remove-empty-space-that-appears-when-using-layers/3080 "2025-07-09T21:48:13Z")

</div>

I’ve recently started to experiment with layers in Graphviz. Let’s assume that I specify that the layerselect attribute have a value of a. Then the output diagram doesn’t contain nodes and edges that are not assigned the…

---

## [Segmentation fault when using "layerselect"](https://forum.graphviz.org/t/segmentation-fault-when-using-layerselect/3077)

<div class="topic-metadata">

**Author:** [@decision-making-mike](https://forum.graphviz.org/u/decision-making-mike)\
**Replies:** 9\
**Last updated:** [July 9, 2025, 9:20pm UTC](https://forum.graphviz.org/t/segmentation-fault-when-using-layerselect/3077 "2025-07-09T21:20:48Z")

</div>

I’ve recently started to experiment with layers in Graphviz. I’ve however noticed that “dot” produces segmentation fault when I want to use any other layer in the layerselect attribute than the first one listed in the la…

---

## [DOT Language Grammar](https://forum.graphviz.org/t/dot-language-grammar/3082)

<div class="topic-metadata">

**Author:** [@PaltryProgrammer](https://forum.graphviz.org/u/PaltryProgrammer)\
**Replies:** 1\
**Last updated:** [July 8, 2025, 12:04pm UTC](https://forum.graphviz.org/t/dot-language-grammar/3082 "2025-07-08T12:04:58Z")

</div>

greetings & kind regards upon examining DOT Language grammar at page https://graphviz.org/doc/info/lang.html i do not see terminals nor their proper location in the Language for the many other graph properties listed in…

---

## [Graphviz doesn't render jpg images](https://forum.graphviz.org/t/graphviz-doesnt-render-jpg-images/3002)

<div class="topic-metadata">

**Author:** [@Podbrushkin](https://forum.graphviz.org/u/Podbrushkin)\
**Replies:** 5\
**Last updated:** [July 3, 2025, 7:40pm UTC](https://forum.graphviz.org/t/graphviz-doesnt-render-jpg-images/3002 "2025-07-03T19:40:58Z")

</div>

I can’t embed jpg into a node. Following produces corrupt png/jpeg/pdf output: @" digraph { abc \[shape=box label="" image="C:\\Users\\user\\Pictures\\ROMANOVS\\200px-M35495250.jpg" \] } "@ | dot -Tpng -O; start noname.gv.png …

---

## [\[Query\] Onclick attribute not working in Graphviz 2.40.1 — was it removed?](https://forum.graphviz.org/t/query-onclick-attribute-not-working-in-graphviz-2-40-1-was-it-removed/3067)

<div class="topic-metadata">

**Author:** [@anonymous1](https://forum.graphviz.org/u/anonymous1)\
**Replies:** 4\
**Last updated:** [July 3, 2025, 11:53am UTC](https://forum.graphviz.org/t/query-onclick-attribute-not-working-in-graphviz-2-40-1-was-it-removed/3067 "2025-07-03T11:53:36Z")

</div>

Hi all, I was previously using Graphviz 2.38.0, and the onclick attribute in DOT files was working as expected — I could add JavaScript handlers in SVG output without any issues. However, after upgrading to Graphviz 2.…

---

## [Is there an interactive Viewer for laaaaarge Graphviz models?](https://forum.graphviz.org/t/is-there-an-interactive-viewer-for-laaaaarge-graphviz-models/929)

<div class="topic-metadata">

**Author:** [@AndreasS](https://forum.graphviz.org/u/AndreasS)\
**Replies:** 11\
**Last updated:** [June 27, 2025, 1:52pm UTC](https://forum.graphviz.org/t/is-there-an-interactive-viewer-for-laaaaarge-graphviz-models/929 "2025-06-27T13:52:34Z")

</div>

Hello, I currently develop software for Shopify and use it’s GraphQL API heavily. It’s a complex beast and hoped to find a way to visualise the connections of it. After some search I found a way to create a PNG out of …

---

## [Dot.exe fails to run and deletes itself afterwards](https://forum.graphviz.org/t/dot-exe-fails-to-run-and-deletes-itself-afterwards/3040)

<div class="topic-metadata">

**Author:** [@ixfd64](https://forum.graphviz.org/u/ixfd64)\
**Replies:** 2\
**Last updated:** [June 22, 2025, 3:31am UTC](https://forum.graphviz.org/t/dot-exe-fails-to-run-and-deletes-itself-afterwards/3040 "2025-06-22T03:31:29Z")

</div>

Hello, first post here. I’m trying to use grpofddot in conjunction with cProfile to visualize some Python code. I’m following the instructions in this tutorial: Profiling and visualization tools in Python | by Narendra …

---

## [An Edge-Crossing program - is it useful?](https://forum.graphviz.org/t/an-edge-crossing-program-is-it-useful/3029)

<div class="topic-metadata">

**Author:** [@steveroush](https://forum.graphviz.org/u/steveroush)\
**Replies:** 4\
**Last updated:** [June 17, 2025, 11:53am UTC](https://forum.graphviz.org/t/an-edge-crossing-program-is-it-useful/3029 "2025-06-17T11:53:28Z")

</div>

I’ve created a “demo-quality” (kludge-upon-kludge) program to display edge crossings. Far from perfect, very inefficient (runs in seconds or minutes), can’t handle large graphs (it crashes), often produces questionable …

---

## [How do I convert a long complicated boolean query into a visual tree?](https://forum.graphviz.org/t/how-do-i-convert-a-long-complicated-boolean-query-into-a-visual-tree/2998)

<div class="topic-metadata">

**Author:** [@Hitcho](https://forum.graphviz.org/u/Hitcho)\
**Replies:** 1\
**Last updated:** [May 30, 2025, 1:22pm UTC](https://forum.graphviz.org/t/how-do-i-convert-a-long-complicated-boolean-query-into-a-visual-tree/2998 "2025-05-30T13:22:30Z")

</div>

Hi! To begin with, I’m not a tekkie so I dont know how to code and I’m also very bad at visualzation but I can get search for someeone to do the task. Anyhow, I create long complicated boolean queries. I would like t…

---

## [How to add round edges rectangle nodes](https://forum.graphviz.org/t/how-to-add-round-edges-rectangle-nodes/1164)

<div class="topic-metadata">

**Author:** [@ogah](https://forum.graphviz.org/u/ogah)\
**Replies:** 7\
**Last updated:** [April 16, 2025, 8:40pm UTC](https://forum.graphviz.org/t/how-to-add-round-edges-rectangle-nodes/1164 "2025-04-16T20:40:10Z")

</div>

Hello, everyone! I am new to Graphviz. Please, what parameter can add a round edge to the rectangle node as shown in the picture attached?

---

## [Nodes with fixed x coordinate](https://forum.graphviz.org/t/nodes-with-fixed-x-coordinate/2885)

<div class="topic-metadata">

**Author:** [@Benzion](https://forum.graphviz.org/u/Benzion)\
**Replies:** 5\
**Last updated:** [April 7, 2025, 2:09am UTC](https://forum.graphviz.org/t/nodes-with-fixed-x-coordinate/2885 "2025-04-07T02:09:41Z")

</div>

Hi, I need to draw a net of nodes with arrows connecting part of them. The nodes will be located from left to right, horizontally. I need to set an exact X coordinate and width of each node. I expect that graphviz will …

---

## [How to place subgraphs next to each other and align them w.r.t. their bottom end?](https://forum.graphviz.org/t/how-to-place-subgraphs-next-to-each-other-and-align-them-w-r-t-their-bottom-end/2867)

<div class="topic-metadata">

**Author:** [@Photon](https://forum.graphviz.org/u/Photon)\
**Replies:** 2\
**Last updated:** [March 27, 2025, 4:33pm UTC](https://forum.graphviz.org/t/how-to-place-subgraphs-next-to-each-other-and-align-them-w-r-t-their-bottom-end/2867 "2025-03-27T16:33:56Z")

</div>

Hi guys, I am trying to align three subgraphs next to each other. Their labels are positioned on the bottom and it would be great if the labels could be aligned. Here is how the code currently looks like: \[dot verbose…

---

## [Question about orphan subgraphs](https://forum.graphviz.org/t/question-about-orphan-subgraphs/2859)

<div class="topic-metadata">

**Author:** [@bgiles](https://forum.graphviz.org/u/bgiles)\
**Replies:** 3\
**Last updated:** [March 25, 2025, 11:58am UTC](https://forum.graphviz.org/t/question-about-orphan-subgraphs/2859 "2025-03-25T11:58:31Z")

</div>

I’m working on an improved pom target for maven-dependency-plugin and have most of what I want - but there are few orphan subgraphs. More precisely I can see the populated subgraph/cluster, with its own label, but I also…

---

## [Edges between clusters](https://forum.graphviz.org/t/edges-between-clusters/2855)

<div class="topic-metadata">

**Author:** [@us12](https://forum.graphviz.org/u/us12)\
**Replies:** 3\
**Last updated:** [March 25, 2025, 2:00am UTC](https://forum.graphviz.org/t/edges-between-clusters/2855 "2025-03-25T02:00:06Z")

</div>

My goal is to create an edge between clusters but align them so that the edge started in the middle of the cluster A and connected to the middle of the cluster B. How can I: make the edge looks like an edge, not like …

---

## [SVGs are broken in subtle ways (spacing issues)](https://forum.graphviz.org/t/svgs-are-broken-in-subtle-ways-spacing-issues/2645)

<div class="topic-metadata">

**Author:** [@meator](https://forum.graphviz.org/u/meator)\
**Replies:** 19\
**Last updated:** [March 21, 2025, 11:02pm UTC](https://forum.graphviz.org/t/svgs-are-broken-in-subtle-ways-spacing-issues/2645 "2025-03-21T23:02:56Z")

</div>

Hey. I have noticed that the SVG (and only SVGs, PNGs and JPEGs are fine) tend to insert padding and space where it shouldn’t. Sample 1 has extra padding to the right and Sample 2 has extra space after purple text. I su…

---

## [Terms of Service - Help](https://forum.graphviz.org/t/terms-of-service-help/2844)

<div class="topic-metadata">

**Author:** [@joshikrishna](https://forum.graphviz.org/u/joshikrishna)\
**Replies:** 4\
**Last updated:** [March 20, 2025, 9:00am UTC](https://forum.graphviz.org/t/terms-of-service-help/2844 "2025-03-20T09:00:48Z")

</div>

I am referring to Terms of Service - Graphviz Under Your Content: "Nothing in these terms gives the company any ownership rights in intellectual property that you share with the forum, such as your account information,…

---

## [Layout subgraph into a grid](https://forum.graphviz.org/t/layout-subgraph-into-a-grid/2831)

<div class="topic-metadata">

**Author:** [@KelvinChung](https://forum.graphviz.org/u/KelvinChung)\
**Replies:** 12\
**Last updated:** [March 19, 2025, 7:18pm UTC](https://forum.graphviz.org/t/layout-subgraph-into-a-grid/2831 "2025-03-19T19:18:02Z")

</div>

I am trying to layout the top-level subgraph into a grid. I have tried putting an anchor node in each of the subgraphs and using a high weight to pull the location, but it is still not working. Do you have any suggestion…

---

## [Possible to put port attribute on \<tr\>?](https://forum.graphviz.org/t/possible-to-put-port-attribute-on-tr/1948)

<div class="topic-metadata">

**Author:** [@cmjdev](https://forum.graphviz.org/u/cmjdev)\
**Replies:** 8\
**Last updated:** [March 9, 2025, 7:48pm UTC](https://forum.graphviz.org/t/possible-to-put-port-attribute-on-tr/1948 "2025-03-09T19:48:33Z")

</div>

The documentation states there’s no attributes on TR tags (Html like labels). This seems odd to me. It’s rough managing the left/right ports when I start adding data to a row. It seems like it would be easier to imple…

---

## [Newbe: problem with subgraphs and especially fontsize](https://forum.graphviz.org/t/newbe-problem-with-subgraphs-and-especially-fontsize/2772)

<div class="topic-metadata">

**Author:** [@Thomas](https://forum.graphviz.org/u/Thomas)\
**Replies:** 19\
**Last updated:** [March 7, 2025, 12:14am UTC](https://forum.graphviz.org/t/newbe-problem-with-subgraphs-and-especially-fontsize/2772 "2025-03-07T00:14:42Z")

</div>

I’m a newbe in this (although programmer in other areas since a long time). I have a working graph (excel plus scripts) where I try to increase fontsize of the text within the nodes (I think they are called that?). It …

---

## [SVG output from dot contains duplicate ID values](https://forum.graphviz.org/t/svg-output-from-dot-contains-duplicate-id-values/2770)

<div class="topic-metadata">

**Author:** [@norm](https://forum.graphviz.org/u/norm)\
**Replies:** 2\
**Last updated:** [February 28, 2025, 2:43pm UTC](https://forum.graphviz.org/t/svg-output-from-dot-contains-duplicate-id-values/2770 "2025-02-28T14:43:25Z")

</div>

The following dot file is obviously mechanically generated from another source (a different description of the graph), but I hope it’s small enough to be understandable: digraph pipeline { compound=true rankdir=TB …

---

## [Find cycles easily](https://forum.graphviz.org/t/find-cycles-easily/2764)

<div class="topic-metadata">

**Author:** [@us12](https://forum.graphviz.org/u/us12)\
**Replies:** 4\
**Last updated:** [February 26, 2025, 3:09pm UTC](https://forum.graphviz.org/t/find-cycles-easily/2764 "2025-02-26T15:09:39Z")

</div>

Is there any easy way to find cycles in graphs? List their node names? Or highlight with red color their edges or nodes somehow to notice them easily on huge graph? For example, here I need nodes: 10-11-12 7-7 or a…

---

## [Newbie: Rendering for Hours with No Results](https://forum.graphviz.org/t/newbie-rendering-for-hours-with-no-results/2763)

<div class="topic-metadata">

**Author:** [@FranzS](https://forum.graphviz.org/u/FranzS)\
**Replies:** 2\
**Last updated:** [February 26, 2025, 9:12am UTC](https://forum.graphviz.org/t/newbie-rendering-for-hours-with-no-results/2763 "2025-02-26T09:12:55Z")

</div>

Dear friends, I’m completely new to Graphviz and started using it to visualize the relationships between devices in a ZigBee network. For more details, see the script here: LinkToZigbeeScript However, I’ve encountere…

---

## [Segfault during a rendering of a tree](https://forum.graphviz.org/t/segfault-during-a-rendering-of-a-tree/2740)

<div class="topic-metadata">

**Author:** [@tolliob](https://forum.graphviz.org/u/tolliob)\
**Replies:** 8\
**Last updated:** [February 20, 2025, 2:27am UTC](https://forum.graphviz.org/t/segfault-during-a-rendering-of-a-tree/2740 "2025-02-20T02:27:26Z")

</div>

I’ve written a C file that automatically generate a .dot file in order to visualize some quadtrees. With little size, everything is perfect. So, I’ve tried woth more huge size with the command line “dot -Tpdf visualise.…

[Previous page](https://forum.graphviz.org/c/help/5.md)

[Next page](https://forum.graphviz.org/c/help/5.md?page=2)
