Hello i have a very wierd situation.... here is what i would like to do..
Ok lets assume that i have 3 buttons and these 3 buttons are positioned within the same frame. Lets say these buttons can be dragged and dropped anywhere within the frame(ie they can be positioned anyhow).
Now lets say i want to connect button1 and button2 by drawing a line from button1 to button2. The line indicates that button1 and button2 are connected but button3 is not connected to neither button1 nor button2 because there is no line drawn from button3 to the other 2 buttons.
Hence the program should be able to connect components by drawing line between them.
The program should also allow to compoents not only to be connect but also interact. eg When button1 and button2 are connected , if we click button1 button2 will get a green border around it, but button3 will NOT get a green border around it becasue it is not connected to button1 and button2. ALso when 2 buttons are connected by a line then should both be hilighted by a yellow border or some color( i guess the color doesn't matter).
So can someone please help me with this.. i know its a bit wierd.. sorry if i cause you any stress.. thanks
Thanks for reading