Win a copy of Kotlin in Action this week in the Kotlin forum!
    Bookmark Topic Watch Topic
  • New Topic

Connecting trees with arrows  RSS feed

 
Luis De Bello
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hi guys,

I need to develop some component similar to the nebula tree mapper



I have some similar functionality but when the user scroll any of the trees I want to draw some line which is part visible and some part hidden but in order to do that I should calculate the X coordinate to start drawing the line and it should change when the mapping goes up and down, similar to this image but only showing part of the line



Thanks in advance for you help.

Regards,
Luis
 
Jeanne Boyarsky
author & internet detective
Sheriff
Posts: 37230
519
Eclipse IDE Java VI Editor
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!