Layout: Difference between revisions

From FreeMind
Jump to navigationJump to search
m (Reverted edit of Yvyfyjeh, changed back to last version by Danielpolansky)
(revert to last full version)
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 12:47, 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