Questions tagged [graph-layout]

79 questions
1
vote
0 answers

Creating a pedigree chart layout with graphviz

Graphviz has some powerful graph layout algorithms. But can it lay out a binary tree as depicted below? With the top node in the middle of the page, with each parent fanning out to the side. Which graphviz tool could I employ to recreate this…
Bram
  • 7,440
  • 3
  • 52
  • 94
1
vote
1 answer

Graph rendering software, which respects relative order of Nodes and Edges

I am generating a (GraphViz) "dot" file for a given set of nodes, and edges. The nodes are ordered in y-dimension with rank=same, in x-dimension within the rank. The edges are sorted in the order they should be drawn. Unfortunately "dot" does not…
Enis Olgac
  • 15
  • 3
1
vote
1 answer

Performance and complexity of force-directed graph layouts?

I have a graph of several thousand nodes and edges and I notice that the performance of Cytoscape.js with force-directed JavaScript layout algorithms (cose and cola) is lacking. I wonder if I should invest time to look for other libraries or…
Konrad Höffner
  • 11,100
  • 16
  • 60
  • 118
1
vote
2 answers

Automatically rotate a graph

I'm drawing graphs with force-directed layout, and the problem is that the created graphs are oriented randomly and unpredictably, which makes looking at them somewhat confusing. For example, suppose node A is a member of the two separate graphs G1…
python dude
  • 7,980
  • 11
  • 40
  • 53
1
vote
0 answers

"Influence Layout" in Alloy

When defining a theme for the Alloy Visualizer, there is the option for a relation to "Influence Layout". Normally, when p->q is an edge in the relation r, the layout places p above q, with the r-edge pointing downwards. I would expect that turning…
John Wickerson
  • 1,204
  • 12
  • 23
1
vote
0 answers

Weighted degree as primary parameter for attraction/repulsion in Gephi?

I'm trying to create a graph that visualizes two companies' (Company x and Company y) total revenue to a list of Danish municipalities (kommune). I've created an edges table that has the revenue in the weight column: Source;Target;weight Company…
Morten Nielsen
  • 325
  • 2
  • 4
  • 19
1
vote
1 answer

How to automatically invoke an organic layout in JGraphX

I'm using the JGraphX library and am trying to perform an automatic layout using the mxFastOrganicLayout: import javax.swing.JFrame; import com.mxgraph.swing.mxGraphComponent; import com.mxgraph.view.mxGraph; public class FastOrganic extends JFrame…
1
vote
1 answer

How can I get node coordinates from a graph, using Perl?

Ok, I have a flowchart definition (basically, array of nodes and edges for each node). Now I want to calculate coordinates for every task in the flow, preferably hierarchycal style. I need something like Graph::Easy::Layout but I have no idea how…
jonny
  • 1,326
  • 9
  • 44
  • 62
1
vote
3 answers

Drawing a dynamic graph

I have a web application written with JavaServer Faces technology. The application takes n inputs and provides an output. I want the following functionality in my application. I want to have sliders for each of my inputs. I want the output to be…
Anand Sunderraman
  • 7,900
  • 31
  • 90
  • 150
1
vote
0 answers

Boost Graph layout algorithmes (Fruchterman-Reingold)

I have a big problem with using boost layouts. I'm using directed graph and Fruchterman-Reingold layout algorithm. The topology I use is rectangle topology. I have to organize around 200 elements on my scene (I'm using QT scene and items to do it).…
Witnes
  • 165
  • 3
  • 13
0
votes
0 answers

Nodes sizes layout from networkx to cytoscape

So I'm building a graph with networkx and I want the size of the nodes to be a certain size according to a certain node attribute. I am trying to add this style setting in the graphml file so that Cytoscape can recognize it. That way you just have…
Beatriz
  • 1
  • 1
0
votes
1 answer

Graphviz enforce ordering between nodes of different levels

I have the following graph: digraph { stylesheet = "..." subgraph cluster { b; c; g; {rank=same; b; g;} } a -> b; b -> c; c -> d; c -> e; f -> c; {rank=same; a; f;} } Is there any way to force/encourage the edge f -> c to…
Dimpl
  • 935
  • 1
  • 10
  • 24
0
votes
1 answer

How to Compile Jung Source?

Recently I'd downloaded Jung API from their Website with all library that must be included. But when I'm trying to compile that,It fails. Can any boy help me,please? (I'm using Netbeans IDE) Gratefully.
Ali.SH
  • 11
  • 1
0
votes
1 answer

How to control outlier nodes for network layout algorithms?

Presenting large graph (>10000 nodes; > 10000 edges) using igraph package with Fruchterman-Reingold layout algorithm. Some outlier nodes will make the visualization difficult, 99% nodes huddled together, while 1% outlier nodes located far away. For…
pengchy
  • 732
  • 2
  • 14
  • 26
0
votes
1 answer

NetworkX - Connected Columns

I'm trying to create a data visualization, and maybe NetworkX isn't the best tool but I would like to have parallel columns of nodes (2 separate groups) which connect to each other. I can't figure out how to place the two groups of nodes in this…