Re: Extending a Region to create a JUNG Layout

2014-06-02 Thread Danno Ferrin
Except the license.txt page points to the OSI page that is... BSD 2 Clause. Here's the zoom pane as BSD 2 clause... https://github.com/shemnon/FollowTheBitcoin/commit/effd601965875fec8891f8202afea1f84f1daf54 If you really want me to add the non-endorsement clause I can, but it is kind of

Re: Extending a Region to create a JUNG Layout

2014-06-01 Thread Sven Reimers
Upps.. Controller compatible... -Sven Am 01.06.2014 10:34 schrieb Sven Reimers sven.reim...@gmail.com: Controller compatible? -Sven Am 01.06.2014 03:17 schrieb Danno Ferrin danno.fer...@shemnon.com: The new matrix classes exposed in JavaFX 8 help a lot. I'll re-license it BSD. 2 clause,

Re: Extending a Region to create a JUNG Layout

2014-06-01 Thread Sven Reimers
Controller compatible? -Sven Am 01.06.2014 03:17 schrieb Danno Ferrin danno.fer...@shemnon.com: The new matrix classes exposed in JavaFX 8 help a lot. I'll re-license it BSD. 2 clause, 3 clause, new? Can you point me to a preferred header? On Fri, May 30, 2014 at 6:11 PM, Jeffrey

Re: Extending a Region to create a JUNG Layout

2014-06-01 Thread Jeffrey Guenther
BSD - 3 Clause - http://jung.sourceforge.net/license.txt On Sat, May 31, 2014 at 6:17 PM, Danno Ferrin danno.fer...@shemnon.com wrote: The new matrix classes exposed in JavaFX 8 help a lot. I'll re-license it BSD. 2 clause, 3 clause, new? Can you point me to a preferred header? On Fri,

Re: Extending a Region to create a JUNG Layout

2014-05-31 Thread Danno Ferrin
The new matrix classes exposed in JavaFX 8 help a lot. I'll re-license it BSD. 2 clause, 3 clause, new? Can you point me to a preferred header? On Fri, May 30, 2014 at 6:11 PM, Jeffrey Guenther guenther.jeff...@gmail.com wrote: Danno, thanks! It works super well and has so little code!

Extending a Region to create a JUNG Layout

2014-05-30 Thread Jeffrey Guenther
Hi, I'm in the midst of exploring how I might port JUNG( http://jung.sourceforge.net/index.html) to JavaFX. JUNG is a graph/layout tool my lab uses for some of their data visualizations. With the release of JavaFX 2, we've started building our prototypes in JavaFX. Rather than use the

Re: Extending a Region to create a JUNG Layout

2014-05-30 Thread Sven Reimers
Hi Jeffrey, I did some prototyping with Jung JavaFX and Java 8, the results are here https://bitbucket.org/sreimers/jung8 It uses gradle to build and contains an additional library for jungfx. Enjoy -Sven On Fri, May 30, 2014 at 8:44 AM, Jeffrey Guenther guenther.jeff...@gmail.com wrote:

RE: Extending a Region to create a JUNG Layout

2014-05-30 Thread John Smith
Much of the internal JavaFX implementation is performed subclassing Region (or Control which is just a Region subclass itself) and overriding layoutChildren, but I'm not aware of any official documentation on the subject other than the sparse stuff in the Javadoc - so no real tutorials. Maybe

Re: Extending a Region to create a JUNG Layout

2014-05-30 Thread Richard Bair
It would be nice if Oracle or somebody else produced some documentation on this. You could create a feature request in Jira (https://javafx-jira.kenai.com) for such documentation or email the documentation team (javasedocs...@oracle.com), or write a blog or a openjfx wiki article

Re: Extending a Region to create a JUNG Layout

2014-05-30 Thread Jeffrey Guenther
On May 30, 2014, at 10:55 AM, John Smith john_sm...@symantec.com wrote: Much of the internal JavaFX implementation is performed subclassing Region (or Control which is just a Region subclass itself) and overriding layoutChildren, but I'm not aware of any official documentation on the

Re: Extending a Region to create a JUNG Layout

2014-05-30 Thread Jeffrey Guenther
Thank you for the feedback! Can someone point me to a detailed explanation of how to extend Region to create my own layout? In particular, how can I get a region to relayout it's children when it's being resized? Some quick pointers. First, layout is done asynchronously to the changes

Re: Extending a Region to create a JUNG Layout

2014-05-30 Thread Danno Ferrin
You may find this class valuable, it is a pane that listens to zoom and mouse scroll events in a group, essential for large graphs: https://github.com/shemnon/FollowTheBitcoin/blob/master/src/main/groovy/com/shemnon/btc/view/ZoomPane.java I haven't had time to harden it and componentize it into

Re: Extending a Region to create a JUNG Layout

2014-05-30 Thread Jeffrey Guenther
Danno, thanks! It works super well and has so little code! If I use the class in my JUNG work, I need a BSD license. The rest of that codebase is BSD already. I’ll contact you off list if I go that direction. Right now, I’m trying to get my head wrapped around what it would take to modernize