Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
1 vote
2 answers
281 views

Specify or Change left and right child of a node in graphviz python

I'm using Digraph from graphviz module in python to visualize a tree. I create nodes by Digraph.node() and create edges by Digraph.edge(). I want to specify which one should be right node and which ...
ariankazemi's user avatar
0 votes
1 answer
467 views

Graphviz: how to create an edge where parts of the label have different colors

I'm not sure how to color one part of the text with one color and another part with a different color. It's probably just easier to show you what I want with a picture. This is the best I can get it ...
carlcarlyle's user avatar
3 votes
1 answer
775 views

How to properly plot a tree (27k nodes) using a circular tree / leave layout

I have this (unbalanced) tree with 27k+ nodes. It is an hierachy. Now I would to plot it as such to obtain a plot something like this (no idea how you would describe it, but I would call it a circular ...
WG-'s user avatar
  • 1,068
1 vote
1 answer
2k views

graphviz wide flat tree structure with right angles

I have a monster of a tree I'm attempting to visualize in graphviz using dot. Specifically, I want to use orthogonal branches with shared edges because some of my nodes have an out-degree of ~20 (max, ...
stokastic's user avatar
  • 996
1 vote
1 answer
405 views

How to control node positions in GraphViz

I have the following Graph Link I would like to make the last row as f20 f21 f22 f23 so that the edges f21-f11 and f22-f10 cross each other. Basically this tree will grow even more downwards and I ...
marti's user avatar
  • 173
1 vote
0 answers
204 views

Tree-like visual representation of data. Which program shall I use?

I have a specific form of data, something like the one described ahead. I have 200 people, and their genomes. Now, they interact in the field, and after some time, they can take up someone else's ...
Prateek's user avatar
  • 41
1 vote
1 answer
738 views

Printing tree using GraphViz

I have written an ID3 and it prints the data. Example of output: if( Outlook == "Sunny") { if( Humidity == "High") { PlayTennis = "No"; } else if( Humidity == "Normal") { ...
user90790's user avatar
  • 305
3 votes
1 answer
2k views

How do I make graphviz repeat the nodes in the graph to create a tree-like image?

I have the following graph on graphviz: How do I make graphviz repeat the nodes in the graph so I can get a tree-like image like this:
Pedro Pinheiro's user avatar
13 votes
1 answer
22k views

Drawing & Rendering Multiway Tree in Python

Does somebody know how do I plot a multiway-tree in a aesthetically plausible way? info: more or less 100 items each level have approximately the same number of items 10 levels each node have ...
BrainStorm's user avatar
  • 2,046
1 vote
1 answer
1k views

highlighting clusters or subtrees in graphViz

I want to highlight various sub-trees in a given tree using different colors. e.g. consider binary tree below (I could show the edges between parent and its children) 0 ...
Akhil's user avatar
  • 2,389
2 votes
1 answer
4k views

Generate pretty image of tree/graph

I want to generate a pretty image of my tree/graph data. I had a look at Graphviz, but the renderings are not great. Do you know of a solution that will produce pretty images and run on Linux?
hoju's user avatar
  • 29.5k