61 |
int midx = sc.size.width/2, midy = sc.size.height/2; |
int midx = sc.size.width/2, midy = sc.size.height/2; |
62 |
int cs = sc.orthoBoxCS(into, c.focus, 0, midx-sizex/2, midy-sizey/2, |
int cs = sc.orthoBoxCS(into, c.focus, 0, midx-sizex/2, midy-sizey/2, |
63 |
1, 1, sizex, sizey); |
1, 1, sizex, sizey); |
64 |
nodeView.render(sc, cs, c.focus); |
nodeView.render(sc, cs, c.focus, 0); |
65 |
|
|
66 |
int before = c.getRotationIndex(1); |
int before = c.getRotationIndex(1); |
67 |
|
|
71 |
for(Iterator j=c.getConnections(1).iterator(); j.hasNext();) { |
for(Iterator j=c.getConnections(1).iterator(); j.hasNext();) { |
72 |
RDFNode node = (RDFNode)j.next(); |
RDFNode node = (RDFNode)j.next(); |
73 |
int cs2 = sc.orthoBoxCS(into, node, 0, x, y, 1, 1, sizex, sizey); |
int cs2 = sc.orthoBoxCS(into, node, 0, x, y, 1, 1, sizex, sizey); |
74 |
nodeView.render(sc, cs2, node); |
nodeView.render(sc, cs2, node, 1); |
75 |
sc.map.put(conn, cs, cs2); |
sc.map.put(conn, cs, cs2); |
76 |
y += sizey + gapy; |
y += sizey + gapy; |
77 |
} |
} |
83 |
for(Iterator j=c.getConnections(-1).iterator(); j.hasNext();) { |
for(Iterator j=c.getConnections(-1).iterator(); j.hasNext();) { |
84 |
RDFNode node = (RDFNode)j.next(); |
RDFNode node = (RDFNode)j.next(); |
85 |
int cs2 = sc.orthoBoxCS(into, node, 0, x, y, 1, 1, sizex, sizey); |
int cs2 = sc.orthoBoxCS(into, node, 0, x, y, 1, 1, sizex, sizey); |
86 |
nodeView.render(sc, cs2, node); |
nodeView.render(sc, cs2, node, -1); |
87 |
sc.map.put(conn, cs2, cs); |
sc.map.put(conn, cs2, cs); |
88 |
y += sizey + gapy; |
y += sizey + gapy; |
89 |
} |
} |