Layout

From FreeMind

(Difference between revisions)
Jump to: navigation, search
(revert to last full version)
(restore)
 
Line 4: Line 4:
* Class: [http://freemind.cvs.sourceforge.net/viewvc/freemind/freemind/freemind/view/mindmapview/MindMapLayout.java?view=log MindMapLayout]
* Class: [http://freemind.cvs.sourceforge.net/viewvc/freemind/freemind/freemind/view/mindmapview/MindMapLayout.java?view=log MindMapLayout]
 +
* After refactoring:
 +
** Interface: [http://freemind.cvs.sourceforge.net/viewvc/freemind/freemind/freemind/view/mindmapview/NodeViewLayout.java?view=log NodeViewLayout]
 +
** Class: [http://freemind.cvs.sourceforge.net/viewvc/freemind/freemind/freemind/view/mindmapview/LeftNodeViewLayout.java?view=log LeftNodeViewLayout.java]
 +
** Class: [http://freemind.cvs.sourceforge.net/viewvc/freemind/freemind/freemind/view/mindmapview/RightNodeViewLayout.java?view=log RightNodeViewLayout.java]
[[Category:Development]]
[[Category:Development]]

Latest revision as of 12:48, 22 November 2010

FreeMind's nodes are layed out using one algorithm, placing the children nodes at the right (or at the left) of the parent node, and centering vertically the parent node against the block consisting of its child nodes. This layout is modified if the nodes gain their individual shifts.

Implementation

Personal tools