Template:Team:Bonn:Network
From 2013.igem.org
(Difference between revisions)
Line 46: | Line 46: | ||
mainnode:node, | mainnode:node, | ||
type:"parent", | type:"parent", | ||
- | cheight: | + | cheight:9, |
- | cwidth: | + | cwidth:9, |
cradius:0 | cradius:0 | ||
Line 61: | Line 61: | ||
mainnode:node, | mainnode:node, | ||
type:"child", | type:"child", | ||
- | cheight: | + | cheight:9, |
- | cwidth: | + | cwidth:, |
cradius:0 | cradius:0 | ||
}); | }); | ||
Line 693: | Line 693: | ||
height = general.height/2; | height = general.height/2; | ||
width = general.width/4; | width = general.width/4; | ||
+ | cheight = 5; | ||
+ | cwidth = 5; | ||
} else { | } else { | ||
+ | cheight = 9; | ||
+ | cwidth = 9; | ||
if(content.childs.length < 5) { | if(content.childs.length < 5) { | ||
height = general.height/4 *content.childs.length; | height = general.height/4 *content.childs.length; | ||
Line 838: | Line 842: | ||
mainnode:i, | mainnode:i, | ||
type:"child", | type:"child", | ||
- | cheight: | + | cheight:9, |
- | cwidth: | + | cwidth:9, |
top:node[i].top+general.cheight/2, | top:node[i].top+general.cheight/2, | ||
left:node[i].left+general.cwidth/2, | left:node[i].left+general.cwidth/2, | ||
Line 865: | Line 869: | ||
end:310, | end:310, | ||
mainnode:i, | mainnode:i, | ||
- | cheight: | + | cheight:9, |
- | cwidth: | + | cwidth:9, |
type:"parent", | type:"parent", | ||
top:node[i].top+general.cheight/2, | top:node[i].top+general.cheight/2, |
Revision as of 06:54, 2 October 2013