Layout: Difference between revisions

From FreeMind
Jump to navigationJump to search
(+)
 
No edit summary
Line 1: Line 1:
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==
==Implementation==


* 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]]

Revision as of 10:19, 15 October 2008

Implementation