Layout: Difference between revisions
From FreeMind
Jump to navigationJump to search
No edit summary |
Dan Polansky (talk | contribs) (restore) |
||
(2 intermediate revisions by 2 users not shown) | |||
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== | |||
* 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] | ||
Line 8: | Line 10: | ||
[[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
- Class: MindMapLayout
- After refactoring:
- Interface: NodeViewLayout
- Class: LeftNodeViewLayout.java
- Class: RightNodeViewLayout.java