This week's book giveaway is in the Cloud/Virtualization forum.
We're giving away four copies of Grokking Bitcoin and have Kalle Rosenbaum on-line!
See this thread for details.
Win a copy of Grokking Bitcoin this week in the Cloud/Virtualization 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
  • Liutauras Vilda
  • Bear Bibeault
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Frits Walraven
Bartenders:
  • Carey Brown
  • salvin francis
  • Claude Moore

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?
 
Saloon Keeper
Posts: 10128
214
  • 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: 10128
214
  • 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!
 
The problems of the world fade way as you eat a piece of pie. This tiny ad has never known problems:
Create Edit Print & Convert PDF Using Free API with Java
https://coderanch.com/wiki/703735/Create-Convert-PDF-Free-Spire
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!