Ticket #166 (reopened Request_A_New_Feature)

Opened 1 year ago

Last modified 3 months ago

Create a one way data converter from prefuse beta tree to prefuse alpha tree

Reported by: huangb@IU.EDU Assigned to: zhang45@IU.edu
Priority: normal Milestone: 2.0
Component: DataConverter Version: 0.8.x
Severity: minor Keywords:
Cc:

Description (Last modified by huangb@IU.EDU)

This solution will make the new directory hierarchy reader (generating prefuse beta tree) work seamlessly with balloon graph visualization which is migrated from ivl and use prefuse alpha tree as the input data format.

Change History

11/26/07 11:06:01 changed by huangb@IU.EDU

  • type changed from defect to Reqest_A_New_Feature.

11/26/07 11:08:25 changed by huangb@IU.EDU

  • description changed.

11/29/07 21:35:49 changed by zhang45@IU.EDU

This design is for the converter of Prefuse Beta Tree to Prefuse Alpha Tree. Steps: 1. Travers every node in Beta Tree 2. Create an empty alpha tree 3. Copy node from Beta Tree to Alpha Tree

3.1 Set root node 3.2 Set Child node

Major class:

PrefuseTreeBetaAlphaAlgorithm? PrefuseTreeBetaAlphaAlgorithmFactory? PrefuseTreeBetaAlphaConverter?

Major methods in PrefuseTreeBetaAlphaConverter?

public edu.berkeley.guir.prefuse.graph.Tree getPrefuseBetaTree(Tree BetaTree?)

to read a beta tree and set the root node of alpha tree

private void merge(Tuple prefuseTuple, Entity prefuseEntity)

to copy each node from beta to alpha

private void buildTreeAlpha(TreeNode? nodeAlpha, Node nodeBeta)

traverse all child nodes in beta tree and build alpha tree

08/13/08 11:34:01 changed by mwlinnem@IU.EDU

  • priority changed from highest to normal.
  • status changed from new to closed.
  • resolution set to fixed.
  • severity changed from critical to minor.

What's the status on this? I can't get Balloon graph to ever become a usable choice in NWB, so maybe nothing can convert to it.

08/13/08 11:34:27 changed by mwlinnem@IU.EDU

  • status changed from closed to reopened.
  • resolution deleted.

08/14/08 15:38:14 changed by mwlinnem@IU.EDU

  • milestone set to 2.0.