graph-layout

Block diagram layout with dot/graphviz

心不动则不痛 提交于 2019-12-29 03:21:09
问题 I'd like to implement the following mockup with dot: So far I've got this much: digraph G { graph [rankdir = LR, splines=ortho] unit [shape=box, width = 2, height = 10]; more_different_unit [shape=box, height=4]; other_unit [shape=box, height=4]; unit -> other_unit [label = "foo"]; unit -> other_unit [label = "bar"]; unit -> other_unit [label = "bar"]; unit -> other_unit [label = "bar"]; unit -> other_unit [label = "bar"]; unit -> other_unit [label = "bar"]; unit -> more_different_unit [label

How to display a network with better separation using the Networkx package?

柔情痞子 提交于 2019-12-24 10:19:07
问题 I created a graph object using the pytextrank package like so: import pytextrank ### ........................... ### Some steps and calculations ### ........................... graph, ranks = pytextrank.text_rank(path_stage1) And I can use the networkx package to make a networkx drawing like so: import networkx as nx import matplotlib.pyplot as plt fig = plt.figure(figsize=(50,50)) nx.draw(graph, with_labels=True) plt.show() But as you can see, the words are mostly concentrated around the

What algorithms are good for interactive/realtime graph-drawing?

末鹿安然 提交于 2019-12-20 15:33:08
问题 What algorithms are good for interactive/realtime graph-drawing for live data and direct-manipulation? Failing that - what libraries do you use to draw graphs? Suggestions; Prefuse information-visualization toolkit any others? BTW- I mean graphs in the graph-theory sense - points and lines any language by live I mean the graph should be manipulatable once on screen. 回答1: I would recommend any library that Jeff Heer has worked on: D3 Protovis Flare Prefuse I believe all three projects are open

JS library for displaying direct acyclic graphs (DAGs)

拥有回忆 提交于 2019-12-18 19:07:25
问题 I am trying to make a browser-based tool that lets you inspect dependency graphs as they appear in module systems of programming languages and Makefiles. I am looking for a visualization framework that does the drawing for me. The requirements are that the toolkit can label nodes (and hopefully edges) automatically space out the graph to the right size (I don't have to guess good dimensions) given that I have infinit space (scroll bars are fine) layout the graph nicely so that it doesn't look

Family tree layout with Dot/GraphViz

回眸只為那壹抹淺笑 提交于 2019-12-18 09:55:49
问题 I am trying to draw a family tree with Dot and GraphViz. This is what I currently have: # just graph set-up digraph simpsons { ratio = "auto" mincross = 2.0 # draw some nodes "Abraham" [shape=box, regular=1, color="blue"] ; "Mona" [shape=box, regular=1, color="pink"] ; "Clancy" [shape=box, regular=1, color="blue"] ; "Jackeline" [shape=box, regular=1, color="pink"] ; "Herb" [shape=box, regular=1, color="blue"] ; "Homer" [shape=box, regular=1, color="blue"] ; "Marge" [shape=box, regular=1,

Family tree layout with Dot/GraphViz

大憨熊 提交于 2019-12-18 09:55:02
问题 I am trying to draw a family tree with Dot and GraphViz. This is what I currently have: # just graph set-up digraph simpsons { ratio = "auto" mincross = 2.0 # draw some nodes "Abraham" [shape=box, regular=1, color="blue"] ; "Mona" [shape=box, regular=1, color="pink"] ; "Clancy" [shape=box, regular=1, color="blue"] ; "Jackeline" [shape=box, regular=1, color="pink"] ; "Herb" [shape=box, regular=1, color="blue"] ; "Homer" [shape=box, regular=1, color="blue"] ; "Marge" [shape=box, regular=1,

JUNG Tree Layout dynamic update

荒凉一梦 提交于 2019-12-11 01:47:33
问题 I'm using the TreeLayout in JUNG for my graph. The user is able to make changes to the graph and it should then update and show the changes. To enable a update, I create the graph again and set the layout using it: graph = new DelegateForest<String, Integer>( new DirectedOrderedSparseMultigraph<String, Integer>()); createGraph() //adds the vertices and edges to the graph layout.setGraph(graph); vv.repaint(); This does update the tree to what it should be, but the tree layout is lost. Most of

Grappa Graphviz dot-Visualization Problem and Questions

萝らか妹 提交于 2019-12-10 09:57:30
问题 i am using this dot-Code for my Test: digraph G { edge [dir=none]; p1 [shape=circle,style=filled,label="",height="0.01",width="0.01"]; q1 [shape=circle,style=filled,label="",height="0.01",width="0.01"]; q2 [shape=circle,style=filled,label="",height="0.01",width="0.01"]; q3 [shape=circle,style=filled,label="",height="0.01",width="0.01"]; {rank=same; father->p1; mother->p1}; {rank=same; q1->q2->q3}; {rank=same; son1; daughter1; daughter2}; p1->q2; q1->son1; q2->daughter1; q3->daughter2; } My

Large scale graph visualization (50K nodes, 100M weighted edges)

北城余情 提交于 2019-12-09 09:25:46
问题 I've looked at a number of packages for graph layout (Graphviz, Gephi, Cytoscape, NetworkX to name a few of the more prevalent) and none of them seem to scale to this sort of size. What techniques exist for either visualizing graphs of this size or reducing them to something more manageable? 回答1: Gephi's OpenOrd visualisation plugin can layout millions of nodes. 回答2: I've used the visualisation toolkit Processing for visualising networks of about 30K nodes. It won't have any problems

What options are available for the layout of directed or undirected graphs in .NET?

只愿长相守 提交于 2019-12-09 04:15:25
问题 By graph here I mean something resembling these images: The ideal solution would: use only managed code allow output to a bitmap image allow output to WPF elements include some kind of interactive surface for displaying the graph that supports zooming, panning and reorganisation of nodes I'm also interested in hearing about projects that could potentially be used as the starting point for this kind of work. If it requires some development to achieve what I want, then I'm prepared to tackle it