• Post Reply Bookmark Topic Watch Topic
  • New Topic

GraphStream: Length of an edge in a Graph  RSS feed

 
Raj Aditya
Greenhorn
Posts: 21
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am new to java GraphStream library.I am creating a graph with 30 nodes and size of every node is different. The problem here is that when the node sizes are big, the edge between the 2 nodes is not visible  though it is present. So is there anyway to set minimum distance between 2 nodes?
 
Stephan van Hulst
Saloon Keeper
Posts: 7993
143
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you tried asking your question on their boards? There are probably more people with expertise in their library there than here.
 
Raj Aditya
Greenhorn
Posts: 21
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes but there was no reply, though I fixed the problem. The solution is to use layout.weight() to add repulsion between the nodes
 
Stephan van Hulst
Saloon Keeper
Posts: 7993
143
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm glad you fixed it, thank you for getting back to us with your solution, have a cow!
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!