Forums

Full Version: changing the visibility of edges
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Good morning all,

hope life joyful out there.

This simple demo plays around with changing the visibility of edges periodically. It covers both cases of animated and inanimated changes. The case of animated visibility change is achieved through modifying the alpha field value of the edges, the second case is achieved through simply switching the value of the boolean visible field of the edges.

Cheers

martin


requires flare version 2008.07.29 or higher
Hi Martin,

As I said in the flare help forum, I am still having a problem with this.

I apologize for the ugly code but this might be the quickest way to see the problem in all its glory. Unzip the attached zip file, edit src/local.build.properties, and type "ant run". The class that does all the work is GraphMLFileDemo in the unnamed top-level package (I haven't even changed the name of your demo class yet).

If that is too much of a hassle or doesn't work for some reason, let me know and I will try and give you a cleaner, minimal case. Again, apologies for the ugly code, I am learning as I go.

Dan
PS. for some reason the zip is too big to be attached (probably because it includes all the flare code and generated documentation) so I put it here:
http://dandante.com/storage/play.zip

http://dandante.com/storage/play.zip
PS, to get it to (try and) make the edges invisible, click
Knockout/Selected Nodes.
Dan
Hi Dan,

thanks a lot for sharing the source code. I assume - according to your post in the source forge forum - this problem is solved, right? If not, please let us know.

cheers

martin

(the attachment size for zip files was limited to 1 MB, so I changed that to 2 MB Rolleyes - sorry for that)
Reference URL's