Current Node is | Forward ==> (from parent to children) | Backward <== (from child to parents) | |
Circle Layout | center node | IF MaxLevel>0 do nothing ELSE clear; to center + expand 1 level sub nodes | IF MaxLevel>0 clear; to center + expand 1 level parent nodes ELSE do nothing |
outer node | IF MaxLevel>0 IF CurLevel==MaxLevel expand 1 level sub nodes ELSE collapse all brother node(include sub nodes)+expand 1 level sub nodes ELSE clear; to center + expand 1 level sub nodes | IF MaxLevel>0 clear; to center + expand 1 level parent nodes ELSE IF CurLevel==MinLevel expand 1 level parent nodes ELSE collapse all brother node(include parent nodes)+expand 1 level parent nodes |