56 |
self.multiplexer = ff.swamp.MultiplexerNodeFunction(normal, accursed) |
self.multiplexer = ff.swamp.MultiplexerNodeFunction(normal, accursed) |
57 |
|
|
58 |
self.floatingView = MindMapView2D(fen, context) |
self.floatingView = MindMapView2D(fen, context) |
59 |
self.floatingView.filletLength = 50 |
self.floatingView.multiplexer = self.multiplexer |
60 |
self.floatingView.filletWidth = 20 |
self.floatingView.filletLength = 40 |
61 |
|
self.floatingView.filletWidth = 25 |
62 |
self.floatingView.initRotation = 0 |
self.floatingView.initRotation = 0 |
63 |
self.floatingView.depth = 1 |
self.floatingView.depth = 1 |
64 |
self.floatingView.geometry.init(50, 20, 0, 1) |
self.floatingView.geometry.init(40, 25, 0, 1) |
65 |
|
|
66 |
def renderMain(self, vs, into): |
def renderMain(self, vs, into): |
67 |
ff.view.buoy.MainNode2D.renderMain(self, vs, into) |
ff.view.buoy.MainNode2D.renderMain(self, vs, into) |
74 |
set.add(accursed) |
set.add(accursed) |
75 |
self.multiplexer.setMultiplexerNodes(set); |
self.multiplexer.setMultiplexerNodes(set); |
76 |
|
|
77 |
# then draw unused mind data into floating buffer. |
floating = self.floatingBuffer(vs, into, self.context.components) |
|
buffer = [] |
|
|
iter = self.fen.graph.findN_X11_Iter(RDF.type, MINDSTRUCT.Data) |
|
|
while (iter.hasNext()): |
|
|
obj = iter.next() |
|
|
if self.structLink.isLinked(obj): continue |
|
|
if obj == self.getPlane(): continue |
|
|
buffer.append(obj) |
|
|
|
|
|
buffer.extend(self.context.components) |
|
|
floating = self.floatingBuffer(vs, into, buffer) |
|
78 |
i = floating.keySet().iterator() |
i = floating.keySet().iterator() |
79 |
|
|
80 |
while i.hasNext(): |
while i.hasNext(): |
147 |
self.thick = 1 |
self.thick = 1 |
148 |
self.drawEdge = 0 |
self.drawEdge = 0 |
149 |
self.drawInside = 1 |
self.drawInside = 1 |
150 |
|
self.drawInsideColor = java.awt.Color.blue |
151 |
self.depthColor = 1 |
self.depthColor = 1 |
152 |
self.lines = 0 |
self.lines = 0 |
153 |
self.ellipses = 1 |
self.ellipses = 1 |
209 |
if dbg: p('Fillet coordinates:', c) |
if dbg: p('Fillet coordinates:', c) |
210 |
def pc(conns, cs): |
def pc(conns, cs): |
211 |
if self.context.main.getPlane() == node: |
if self.context.main.getPlane() == node: |
212 |
vs.put(vob.putil.misc.getDListNocoords("""Color 1. 0. 0.""")) |
vs.put(vob.putil.misc.getDListNocoords("Color 1 0 0")) |
213 |
vs.put(conns, cs+c) |
vs.put(conns, cs+c) |
214 |
|
|
215 |
# draw fillets |
# draw fillets |
226 |
p = self.multiplexer.f(self.fen.graph, node) |
p = self.multiplexer.f(self.fen.graph, node) |
227 |
cs = vs.orthoBoxCS(cs, node, 0, 0, 0, 0, 0, 0, 0) |
cs = vs.orthoBoxCS(cs, node, 0, 0, 0, 0, 0, 0, 0) |
228 |
p.place(vs, cs) |
p.place(vs, cs) |
|
|
|
229 |
|
|
230 |
def putNodeContent(self, vs, node, into): |
def putNodeContent(self, vs, node, into): |
231 |
# scaling after depth |
# scaling after depth |