Questions tagged [graphstream]

GraphStream is a Java library for the modeling and analysis of dynamic graphs. You can generate, import, export, measure, layout and visualize them.

The goal of the library is to provide a way to represent graphs and work on it. To this end, GraphStream proposes several graph classes that allow to model directed and undirected graphs, 1-graphs or p-graphs (a.k.a. multigraphs, that are graphs that can have several edges between two nodes).

GraphStream allows to store any kind of data attribute on the graph elements: numbers, strings, or any object.

Moreover, in addition, GraphStream provides a way to handle the graph evolution in time. This means handling the way nodes and edges are added and removed, and the way data attributes may appear, disappear and evolve.

Additional links:

113 questions
2
votes
2 answers

GraphStream 2.0 - Mouse pointer offset when dragging nodes

I am new to GraphStream and have built a minimal application with a GraphStream 2.0 graph embedded into a Swing application. In my application, the mouse pointer is apparently offset by about half the panel size (both vertically and horizontically)…
chwon
  • 71
  • 4
2
votes
1 answer

graphstream using "always-on" autolayout

I was playing around with graphstream with a small compiler I'm writing to create an Abstract-Syntax-Tree visualization, like this: // ASTNode is the root to to the AST tree. Given that node, this just displays // the AST on-screen. …
Jaco Van Niekerk
  • 4,180
  • 2
  • 21
  • 48
2
votes
1 answer

Graphstream: Set a minimum distance between Nodes

I'm using graphstream to do some simple graph visualization. I've found most of the documentation helpful and easy to read, but I was unable to find a way to make sure nodes don't get too close together. The nodes in my graph have numbers as…
Sam
  • 63
  • 7
2
votes
1 answer

GraphStream styling without hideous strings/absolute file paths?

In the GraphStream documentation, it is stated that we can style a graph by the following ways: This attribute must be stored on a graph and takes as value either the style sheet itself as a string of characters or the URL of a file, local,…
umop apisdn
  • 653
  • 9
  • 20
2
votes
0 answers

How to add a node at cursor position to GraphStream graph on click?

I am developing a Java Swing application to display a graph using GraphStream. When clicking on the graph component (a ViewPanel) a node should appear where the click has happened. This basically works but adding nodes close to the edges of the…
jneuendorf
  • 402
  • 6
  • 18
2
votes
0 answers

GraphStream: a more thorough tutorial introduction?

Background I am new to both GraphStream and Java. However, I do have experience with other OOP-languages like C++. I personally find the tutorials for GraphStream quite sparse, for example the Layout API doesn't mention which layout algorithms are…
SumNeuron
  • 4,850
  • 5
  • 39
  • 107
2
votes
2 answers

Increase Graphstream Edge width

Is there any way to increase a Graphstream's Edge width? What I've tried: edge.addAttribute("ui.style", "stroke-width: 30px; fill-color: red;");
Quaxton Hale
  • 2,460
  • 5
  • 40
  • 71
2
votes
1 answer

Don't close Swing main app when closing GraphStream

I have a GraphStream graph (called with graph.display()) that I call from a Swing app. When I click the button to create the graph, the Swing app stays opened and the graph displays (opens up in a different window); however; the Swing app exits when…
user1843790
  • 87
  • 1
  • 4
2
votes
1 answer

How to stream titan graph using gephi?

I want to stream titan graph by using gephi. I follow the instruction from here http://www.tinkerpop.com/docs/3.0.0.M7/#gephi-plugin I'm using Gephi 0.9.1, open new project and start master server in gephi. Then i start gremlin console with gephi…
MichaelP
  • 2,761
  • 5
  • 31
  • 36
2
votes
0 answers

How can I get the HierarchicalLayout graph to render properly?

I am using the Graphstream library to create a visual representation of a Tree structure. Current view of graph But the nodes are all clumped together. What can I do to make the graph look like -> Image for Manually arranged nodes. Is there a way to…
nirajftw
  • 51
  • 5
2
votes
0 answers

Visualize Large graph with Neo4j and GraphStream

I would like to know if it is possible to operate on a very large graph dataset (300,000 nodes and 1.5 million edges) in neo4j using graphstream and vizualize it at the same time in browser as the graphstream operates on it ( I wish to run some…
adsun
  • 773
  • 9
  • 30
2
votes
0 answers

Large Graph Visualization in browser

I'm trying to visualize in browser a dynamic graph that is of size 300,000 nodes and 1.5 million edges using GraphStream library and websockets. I tried D3.js and Sigma.js as of now. I'm leaving it to JS library to handle positioning of nodes and…
adsun
  • 773
  • 9
  • 30
2
votes
1 answer

GraphStream drawing grouped nodes in graph

I already created graph with different color each graph based on some attribute in its node. This is my current graph Is it possible to place node that has same color closely? How could I implement that?
Sonic Master
  • 1,238
  • 2
  • 22
  • 36
2
votes
1 answer

Importing GraphStream library in NetBeans 8.0

I am just getting started with GraphStream and using NetBeans as an IDE in my laptop (Yosemite 10.10). I already downloaded and included .jar library file into my project: My problem is I still can’t import graphstream in my class. This is what I…
Sonic Master
  • 1,238
  • 2
  • 22
  • 36
2
votes
2 answers

how to use static layout in graphstream

I would like to generate static graph use GraphStream. Is there any suggestion solutions? I read input data from DGS file (generated from other model). Because the number of nodes is not fix every time and I don't want to manually specify each…
Bing
  • 25
  • 5