• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Random undirected graph generation

 
Kovacs Akos
Ranch Hand
Posts: 86
1
Firefox Browser Netbeans IDE Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I would like to generate graphs randomly, like this:



I think, that ShapeRenderer in libgdx can help to solve this. I would like to generate randomly x, y coordinates, then draw circles, but I do not know how to draw lines randomly between the circles?
Can you please show me some working tutorials?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic