In hopes of spreading some holiday cheer, I’m happy to announce that the source code for my Flex TreeMap component is now available for download on Google Code. You’ll need to access the code using a Subversion client. I recommend TortoiseSVN, but many others exist.
The code is available under the terms of the GPL, version 2 (Author’s Note: It is now MIT licensed for extra usefulness!) This means that you can use my component for free, but you must release your full source code using the same license. This is a great opportunity for other open source projects looking for advanced visualization solutions. Please feel free to contact me for more information about licensing.
If you’re unfamiliar with my previous work on this component, have a look at a sample that demonstrates selection:
Once you’ve got the source code downloaded, and you’re ready to get started, be sure to look at the sample applications in the “examples” directory first. They give you a few tips and tricks for using some of the more advanced functionality the component provides. Additionally, you may access the online documentation generated by ASDoc.
To build the TreeMap SWC, you can run the Ant script “build.xml”. You may need to update the build.properties file with the location where you installed the Flex 2 SDK (it’s free to download and use if you don’t have it already). Once I’m happy with the feature set of the component, and I’ve had more time to search for bugs, I plan to make zipped released with the SWC prebuilt for you. Right now, the code is considered beta quality! I have fixed some bugs recently, and I expect to encounter more. If you happen to find a bug, I encourage you to submit it to the issue tracker, and I’ll take a look.
That’s it for now. Stay tuned for future updates. I plan to write several more examples to include in the repository to get folks started. If you find yourself having trouble using a certain feature, please let me know. Either place suggestions in the comment section below, send me an email via my contact page. Once again, happy holidays!

Hey bro, Nice,
About to get the source now but just a quick question. Have you checked out buttonMode for getting the hand icon…..to indicate a more clickable square?
It took me a while to find out about that one, and I was wondering why useHandCursor wasn’t working lol.
Cool though well done.
Oops, it looks like I disabled the mouse over effects on the button skins. I’ll get that fixed.
The standard Flex components don’t use the hand cursor very often (if ever). I’m not completely sure why, but I’m guessing it’s because the skins are designed to change appearance when the mouse is over something clickable.
This is great, nicely done
I have been keeping my eyes open for something like this since I saw the newsmap. v cool, cheers
[...] I should have something sweet displayed in the rotating cube, and I remembered Josh Tynjala’s TreeMap component. And I remembered seeing a demo of an MXNA reader that Josh had made using that TreeMap component, [...]
[...] TreeMap component from Josh Tynjala [...]
It’s a nice app !! (^-^)b
I’m really inspired !!
I’ve also made a flex treemap app with my own source codes.
Please touch and feel it !!
http://tekono.jp/modules/tinyd2/index.php?id=6
Thanks,
Josh,
The online documentation link doesn’t seem to be working anymore. Can you post the ASDOCs files in the SVN?
Thanks.
JB, sorry about that. I’ve been shuffling my files around, and I guess I forgot that the docs were linked from here. I fixed it.
[...] little later, Josh Tynjala posted a GPL’d TreeMap implementation, which seemed like the perfect way to visualize the relative sizes of my Flex library dependencies. [...]