@popex062 wrote:
Hello, I have a very basic use case that's brought me into the Javascript world and evaluating GoJS. My background is Electrical Engineering and I have minimal Java experience.
My application is an interactive floor plan that visually shows a personal wireless network. I'd like to be able to drag several (up to 4 or 5) objects around the floor plan and have the links dynamically appear based on the distance between objects. So as you drag an object "within" range, it simply draws the link. It would be nice to have some text and some other basic controls associated with each node as well.
I've seen several examples that are related, but far too complicated. Is there an easy way to do the following key components of my use case:
1) Calculate distance between two nodes (I'm close to this)
2) Dynamically draw links based on distance mentioned above (must appear/reappear as user is dragging the object)
3) Can you have an object have "on/off" properties by clicking the object, such that the line will only appear if the object is "on" and "within range"?Thank you! -Zach
Posts: 7
Participants: 2