/[fenfire]/fenfire/org/fenfire/view/lava/mindMapView2D.py
ViewVC logotype

Diff of /fenfire/org/fenfire/view/lava/mindMapView2D.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.45 by humppake, Tue Aug 26 09:40:57 2003 UTC revision 1.46 by humppake, Tue Aug 26 09:47:42 2003 UTC
# Line 92  class MindMapMainNode2D(ff.view.buoy.Mai Line 92  class MindMapMainNode2D(ff.view.buoy.Mai
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                            
# Line 122  class MindMapMainNode2D(ff.view.buoy.Mai Line 122  class MindMapMainNode2D(ff.view.buoy.Mai
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    

Legend:
Removed from v.1.45  
changed lines
  Added in v.1.46

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26