92 |
if self.structLink.isLinked(node): |
if self.structLink.isLinked(node): |
93 |
self.floatingView.net = floating.get(node) |
self.floatingView.net = floating.get(node) |
94 |
self.floatingView.drawMindMap(vs) |
self.floatingView.drawMindMap(vs) |
95 |
j = self.floatingView.net.iterator(node) |
# j = self.floatingView.net.iterator(node) |
96 |
self.context.floatingHash.put(node, node) |
self.context.floatingHash.put(node, node) |
97 |
while (j.hasNext()): self.context.floatingHash.put(j.next(), node) |
# while (j.hasNext()): self.context.floatingHash.put(j.next(), node) |
98 |
else: |
else: |
99 |
self.place(vs, node, floating.get(node)) |
self.place(vs, node, floating.get(node)) |
100 |
|
|
122 |
wi, h = vs.size.width, vs.size.height |
wi, h = vs.size.width, vs.size.height |
123 |
a, b = wi/2.3, h/2.3 |
a, b = wi/2.3, h/2.3 |
124 |
x0,y0 = wi/2.0, h/2.0 |
x0,y0 = wi/2.0, h/2.0 |
125 |
bx, by = 1,1 |
bx, by = 1, 1 |
126 |
|
|
127 |
e = Math.sqrt(1 - b**2/a**2) |
e = Math.sqrt(1 - b**2/a**2) |
128 |
|
|