Win a copy of Reactive Streams in Java: Concurrency with RxJava, Reactor, and Akka Streams this week in the Reactive Progamming 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
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Ganesh Patekar

GraphStream: Length of an edge in a Graph

 
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: 10650
227
  • 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: 10650
227
  • 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!
 
Acetylsalicylic acid is aspirin. This could be handy too:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!