Questions tagged [graphviz]

Graphviz, developed by AT&T Research Labs, is the leading application for layout and drawing of graphs (objects comprised of vertices connected by edges). It includes the dot language, a complete syntax for graph description and a set of layout engines. Graphviz is free and open source.

Graphviz, developed by AT&T Research Labs, is the leading application for the layout and drawing of graphs (objects comprised of vertices connected by edges). It includes the dot language -- a complete syntax for graph description -- and a set of layout engines. Graphviz is free and open source.

Useful Graphviz Resources

Related Tags

2917 questions
1
vote
0 answers

dot.exe provides Pango Warnings which causes test to fail in windows

I am trying to build the ReqM2 analysis and certain test cases failed which is related to Graphviz 14:50:53 # 14:50:53 # (dot.exe:45844): Pango-WARNING **: All font fallbacks failed!!!! 14:50:53 # 14:50:53 # (dot.exe:45844):…
1
vote
0 answers

Why can't pydot find find graphviz in WinPython?

I'm trying to export a dot file from networkx to visualize an example multigraph using pydot in Spyder, like so: import networkx as nx G = nx.MultiGraph() for i in range(10): for j in range(3): G.add_edge(i, i+1,…
James Todd
  • 11
  • 2
1
vote
1 answer

Storing networkx graph object with non-unique nodes as graphviz file

I want to store in graphviz file a networkx object that has non-unique nodes. I have created non-unique nodes in networkx using labels. But it's just able to display the nodes with non-unique labels. G =…
1
vote
1 answer

DOT/graphviz node labels not displaying HTML-like subscripts

Graphviz's HTML-like labels documentation suggests I can have a node labeled Uₓ with this .dot file: digraph G { U [label=X>]; U->X } Unfortunately, the graph produced shows a node with UX instead of Uₓ: Am I missing something…
at.
  • 50,922
  • 104
  • 292
  • 461
1
vote
2 answers

Parallel Edges for Tree Chart in Graphviz

I have been trying to make a tree chart that has multiples sets of edges running between the nodes. The goal is to look something like this: I can eaisly make a chart with one set of edges like so: However, I cannot get figure out how to add…
BarrowWight
  • 181
  • 2
  • 12
1
vote
1 answer

graphViz/dot: Adjusting node placement and edge shape

I have a graph which can be summarized in English as: A -> [B -> C -> D] -> E B -> A E -> B Where the square braces indicate a subgraph, with a box drawn around it. I have implemented it in graphViz/dot as follows: digraph { rankdir = LR graph…
aaron
  • 315
  • 1
  • 7
1
vote
0 answers

Thread-safe use of GraphViz library via JNI

I am trying to use GraphViz 2.40.1 under Linux in a REST service that lays out graphs. The service is a Java Spring Boot application. My current approach is to load shared libraries into my JVM, and call native code via JNI, using functions from…
Sebastian
  • 315
  • 2
  • 12
1
vote
0 answers

is there a way to consistently have dot subgraph order controlled?

The 'constraint=false'sometimes' allows the clusters to get out of order, even when doing so, causes longer edges. I wish to both have all subgraph clusters line up 'and' keep the order of the subgraph clusters intact. (which in my case, since I…
soAcct
  • 21
  • 2
1
vote
1 answer

Adding labels to a Dask graph

Default graph.visualize() function does not display task labels. Is there any way they can be added manually using graph = dask.delayed()(tasks)? I need the labels to show basic business logic (which tables are joined with which etc.).
Michał Zawadzki
  • 695
  • 6
  • 14
1
vote
0 answers

Explanation of mathematics in odt file saved from Decision Tree Regression model

I am trying to solve a regression problem using the decision tree algorithm where I want to know the mathematics lies in the odt file which is generated after saving the trained model. Here, I want to mention that none of the value of the variable…
user10634362
  • 549
  • 5
  • 21
1
vote
0 answers

How can I attach a shape to a port in graphviz?

In logic design convention, a clock input port is designated by an embedded triangle while an active low port has a bubble as shown in this d-flip-flop example. Now the bubbled I/O's I can do (if somewhat counter-intuitively) using arrowhead and…
1
vote
0 answers

How to change the arrow size of the graph in Graphviz

When I use the penwidth to change the edge width in Graphviz, the arrow size has been enlarged which has a strange behavior. How could I change the thickness of the edge with a proper arrow size ? strict digraph { rankdir=LR; 0…
1
vote
0 answers

How to change the order of same rank nodes in Graphviz?

I'd like the column a ... i to be the first column from the left and a1 ... f1 the first column from the right. I tried to setup same rank, different weights, but with no luck. How can I control the order of columns? digraph G { newrank = true; …
dereks
  • 544
  • 1
  • 8
  • 25
1
vote
2 answers

How to make aligned bold text without tables in Graphviz?

I found that aligned bold text you can create with this code. But Is there any way to do the same without creating tables? digraph G { rankdir=LR; node [shape=record, style="rounded,filled", fillcolor="#F7F7F7", fontname="Arial",…
dereks
  • 544
  • 1
  • 8
  • 25
1
vote
0 answers

Error while importing pygraphviz in Spyder 3.3.6: not a valid Win32 application

Problem: I cannot import pygraphviz while running a python script in Spyder. The following code: import pygraphviz Gives the following error ImportError: DLL load failed: %1 is not a valid Win32 application. This behaviour happens only in Spyder.…
user3053216
  • 777
  • 1
  • 9
  • 24
1 2 3
99
100