Differences

This shows you the differences between the selected revision and the current version of the page.

apps:dependency_graph 2008/07/29 16:32 apps:dependency_graph 2008/07/30 12:32 current
Line 1: Line 1:
====== Flare Dependency Graph ====== ====== Flare Dependency Graph ======
-<swf file="apps/dependency_graph" width="50 2" height="290"></swf>+<swf file="apps/dependency_graph" width="600" height="600"></swf>
This visualization shows the dependencies among classes within the Flare library. Classes are paced along a circle with the radius length signifying the depth of the class in the package structure. A link indicates that a class imports another. Links are routed along the package structure tree, forming "bundles" between packages. This visualization shows the dependencies among classes within the Flare library. Classes are paced along a circle with the radius length signifying the depth of the class in the package structure. A link indicates that a class imports another. Links are routed along the package structure tree, forming "bundles" between packages.
Line 7: Line 7:
When the mouse hovers over a class, the incident links will highlight. Red links show all the classes imported by the selected class. Green links show all classes that import the selected class. When the mouse hovers over a class, the incident links will highlight. Red links show all the classes imported by the selected class. Green links show all classes that import the selected class.
-Clicking on a class limits the view to the closure of its dependencies. The closure is computed by crawling through the graph to recursively find all dependencies. The resulting picture shows all the classes that will be included in your SWF file if you import the selected class.+Clicking on a class shows the chain of dependencies for that class. This is computed by recursively crawling through the graph to find all dependencies. The resulting picture shows all the classes that must also be present to use the selected class.
-The labels can be small and hard to read in a constrained web page. Take a look at the full size version for a more legible graph.+Clicking a second time similarly shows all classes that in some form depend on the selected class. This gives a picture of the influence of a class across the toolkit. 
 + 
 +As the labels can be small and hard to read in a constrained web page, take a look at the full size version for a more legible graph.
<swflink file="apps/dependency_graph">Launch full size version.</swflink> <swflink file="apps/dependency_graph">Launch full size version.</swflink>
[[http://flare.prefuse.org/src/flare.apps/src/flare/apps/DependencyGraph.as|View the source code.]] [[http://flare.prefuse.org/src/flare.apps/src/flare/apps/DependencyGraph.as|View the source code.]]