This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Hands On Software Engineering with Python and have Brian Allbey on-line!
See this thread for details.
Win a copy of Hands On Software Engineering with Python this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Bear Bibeault
  • Knute Snortum
  • Liutauras Vilda
Sheriffs:
  • Tim Cooke
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Tim Moores
  • Frits Walraven
  • Ron McLeod
  • Ganesh Patekar
  • salvin francis
Bartenders:
  • Tim Holloway
  • Carey Brown
  • Stephan van Hulst

GraphStream: Length of an edge in a Graph  RSS feed

 
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?
 
Bartender
Posts: 9555
189
  • 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
Bartender
Posts: 9555
189
  • 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!
 
Your buns are mine! But you can have this tiny ad:
Programmatically Create PDF Using Free Spire.PDF with Java
https://coderanch.com/wiki/703735/Programmatically-Create-PDF-Free-Spire
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!