Questions tagged [graph-visualization]

Graph visualisation is concerned with the rendering of mathematical graphs (collections of nodes and edges) on a screen, either theoretically or using an existing software package. Because most graphs are not "planar" (cannot be drawn without edges crossing), most graph visualisation algorithms must rely on heuristics that balance compactness against minimisation of edge crossings and that produce aesthetically appealing renderings.

Graph visualisation is concerned with the rendering of mathematical graphs (collections of nodes and edges) on a screen, either theoretically or using an existing software package. Because most graphs are not "planar" (cannot be drawn without edges crossing), most graph visualisation algorithms must rely on heuristics that balance compactness against minimisation of edge crossings and that produce aesthetically appealing renderings.


Related tags :

556 questions
8
votes
1 answer

How to DO NOT fill area under NaN in plotly

Ciao all, I am working with plotly. I need to draw a curve and fill the area under it. It could be some NaNs appear and it is very important that in that case area is not filled. Please notice that in my case 0 and NaN are different so that setting…
clarkmaio
  • 359
  • 2
  • 12
8
votes
1 answer

How to get nodes coordinates in graph rendered with graphviz

I'm implementing a stepwise graph transformation algorithm where nodes are removed or added in each step and want to keep a trace of all the intermediate graphs as images files where a node keeps rendered at the same position until removed. This…
Brahim Gaabab
  • 310
  • 3
  • 9
8
votes
1 answer

Repel text from edges in network

When drawing a network, it would be nice if the labels of the nodes could also avoid network edges. E.g. in the example below, it would be possible to move all the labels outside the network. I've tried several packages, but so far have not found…
puslet88
  • 1,288
  • 15
  • 25
8
votes
3 answers

Visualizer for Cosmos DB Graph

Does anyone know of a tool to visualize a graph created in Cosmos DB Graph? I'm looking for something like Gephi (https://gephi.org/), or the tool that OrientDB or Neo4j use. I'm looking for something that will "connect" to the database. Gephi…
8
votes
1 answer

Pydot error: file format "png" not recognized

I need to build a pythonic graph solution through pydot and when tried to run a simple code like: import pydot graph = pydot.Dot(graph_type='graph') i=1 edge = pydot.Edge("A", "B%d" % i) graph.add_edge(edge) graph.write_png('graph.png') Which is…
zallaricardo
  • 81
  • 1
  • 6
8
votes
1 answer

Any good tools to make 3D data visualizations for Big Data?

I don't know if you have seen this video: http://www.youtube.com/watch?v=Q9wcvFkWpsM. I wonder what kind of tools did the presenter use to create those powerful 3D visulizations? Can anyone please suggest some? I am working on a big data project, I…
leon
  • 10,085
  • 19
  • 60
  • 77
8
votes
2 answers

Tools to visualize an HTML document tree (DOM tree)

I want to visualize the document structure of a HTML website. What I would like to have is something like this: Are there any known tools that do this and where the results can be saved as a bitmap file?
Benny Code
  • 51,456
  • 28
  • 233
  • 198
7
votes
1 answer

Optimal dot / GraphViz layout for graph DB schema

I'm using dot + GraphViz for the first time to help with planning out a graph DB schema. As I add more nodes, the output is looking less than ideal. In particular, the languages and countries are looking rather confusing. I've tried some basic…
Tatham Oddie
  • 4,290
  • 19
  • 31
7
votes
2 answers

R: How to Efficiently Visualize a Large Graph Network

I simulated some graph network data (~10,000 observations) in R and tried to visualize it using the visNetwork library in R. However, the data is very cluttered and is very difficult to analyze visually (I understand that in real life, network data…
stats_noob
  • 5,401
  • 4
  • 27
  • 83
7
votes
3 answers

How can I hide the node boundary in graphviz?

I am drawing a graph with graphviz. Even though I have penwidth=0 for the nodes, I still see the node boundary. How do I get rid of the node boundary? My annotation in dot is something like this: strict graph { graph [bgcolor=white]; 0 …
highBandWidth
  • 16,751
  • 20
  • 84
  • 131
7
votes
1 answer

Is there a simple way to print a class' hierarchy in tree form?

Is there a function that can print a python class' heirarchy in tree form, like git log --graph does for git commits? Example of what I'd like to do: class A(object): pass class B(A): pass class C(B): pass class D(A): pass class E(C, D):…
Heshy
  • 382
  • 1
  • 10
7
votes
1 answer

How to draw a small graph with community structure in networkx

The graph has around 100 nodes, and the number of communities ranges from 5 to 20. Is there any way to draw the graph such that the nodes of the same community are close to each other? I've tried to assign different communities different colors,…
user3813057
  • 891
  • 3
  • 13
  • 31
7
votes
2 answers

Visualize XML tree structure

I have several XML files which have a similar structure but with some differences that I cannot overlook. They are all TEI documents. I am looking for a way to outline the main structure. Take the following text as an example:
Angelo
  • 767
  • 1
  • 6
  • 21
7
votes
2 answers

Force the left to right order of nodes in graphviz?

I want to draw a decision tree chart using graphviz. The graph I want to draw looks like this: I am using the following dot language: graph a { A [shape=box; label="A"] B [shape=box; label="B"] al [shape=none; label="0"] bl [shape=none;…
Letholdrus
  • 1,261
  • 3
  • 20
  • 36
7
votes
1 answer

Truncate text in d3

I want to truncate text that is over a predefined limit in d3. I'm not sure how to do it. Here's what I have now: node.append("text") .attr("dx", 20) .attr("dy", ".20em") .text(function(d) { if(d.rating > 25) return d.name; })); Text is…
lars
  • 1,976
  • 5
  • 33
  • 47
1 2
3
37 38