...
|
...
|
@@ -21,18 +21,25 @@ function drawData(resp) { |
|
|
var appNodeY = 50;
|
|
|
var appNodeW = 30;
|
|
|
var appNodeH = 26;
|
|
|
var appNode = newNode(scene,appNodeX,appNodeY,appNodeW,appNodeH,'APP');
|
|
|
var appNode = newNode(scene,appNodeX+200,appNodeY,appNodeW,appNodeH,'APP');
|
|
|
|
|
|
|
|
|
//定义container for qq
|
|
|
var container_qq = new JTopo.Container();
|
|
|
container_qq.setBound(appNodeX+100, appNodeY+200, 300, 280);
|
|
|
scene.add(container_qq);
|
|
|
container_qq.add(newNode(scene,appNodeX+120,appNodeY+180,1,1));
|
|
|
container_qq.add(newNode(scene,appNodeX+120,appNodeY+430,1,1));
|
|
|
container_qq.add(newNode(scene,appNodeX+590,appNodeY+180,1,1));
|
|
|
|
|
|
var askServer = newNode(scene,appNodeX+560,appNodeY+200,appNodeW,appNodeH,'问询服务器');
|
|
|
container_qq.add(newNode(scene,appNodeX-50,appNodeY+180,1,1));
|
|
|
container_qq.add(newNode(scene,appNodeX-50,appNodeY+470,1,1));
|
|
|
container_qq.add(newNode(scene,appNodeX+300,appNodeY+180,1,1));
|
|
|
|
|
|
var container_az2 = new JTopo.Container();
|
|
|
container_az2.setBound(appNodeX+100, appNodeY+200, 300, 280);
|
|
|
scene.add(container_az2);
|
|
|
container_az2.add(newNode(scene,appNodeX+380,appNodeY+180,1,1));
|
|
|
container_az2.add(newNode(scene,appNodeX+380,appNodeY+450,1,1));
|
|
|
container_az2.add(newNode(scene,appNodeX+550,appNodeY+180,1,1));
|
|
|
|
|
|
var askServer = newNode(scene,appNodeX-10,appNodeY+200,appNodeW,appNodeH,'问询服务器');
|
|
|
container_qq.add(askServer);
|
|
|
var link = newFoldLink(scene,appNode, askServer, '问询');
|
|
|
link.arrowsRadius = 10;
|
...
|
...
|
@@ -42,28 +49,29 @@ function drawData(resp) { |
|
|
|
|
|
|
|
|
|
|
|
var qqElb = newNode(scene,appNodeX+160,appNodeY+200,appNodeW,appNodeH,'qqElb');
|
|
|
var qqElb = newNode(scene,appNodeX+80,appNodeY+200,appNodeW,appNodeH,'qqElb');
|
|
|
container_qq.add(qqElb);
|
|
|
var qqNginx = newNode(scene,appNodeX+165,appNodeY+300,appNodeW,appNodeH,'qqNginx');
|
|
|
var qqNginx = newNode(scene,appNodeX+85,appNodeY+300,appNodeW,appNodeH,'qqNginx');
|
|
|
container_qq.add(qqNginx);
|
|
|
var link = newLink(scene,qqElb, qqNginx);
|
|
|
link.arrowsRadius = 10;
|
|
|
|
|
|
|
|
|
var qqGateway1 = newNode(scene,appNodeX+180,appNodeY+400,appNodeW,appNodeH,'qqGateway');
|
|
|
var grayGateway = newNode(scene,appNodeX+300,appNodeY+420,appNodeW,appNodeH,'grayGateway');
|
|
|
var qqGateway1 = newNode(scene,appNodeX+110,appNodeY+420,appNodeW,appNodeH,'qqGateway');
|
|
|
var grayGateway = newNode(scene,appNodeX+250,appNodeY+440,appNodeW,appNodeH,'grayGateway');
|
|
|
container_qq.add(qqGateway1);
|
|
|
container_qq.add(grayGateway);
|
|
|
|
|
|
var az2Elb = newNode(scene,appNodeX+400,appNodeY+200,appNodeW,appNodeH,'az2Elb');
|
|
|
container_qq.add(az2Elb);
|
|
|
var az2Nginx = newNode(scene,appNodeX+405,appNodeY+300,appNodeW,appNodeH,'az2Nginx');
|
|
|
container_qq.add(az2Nginx);
|
|
|
|
|
|
var az2Elb = newNode(scene,appNodeX+420,appNodeY+200,appNodeW,appNodeH,'az2Elb');
|
|
|
container_az2.add(az2Elb);
|
|
|
var az2Nginx = newNode(scene,appNodeX+425,appNodeY+300,appNodeW,appNodeH,'az2Nginx');
|
|
|
container_az2.add(az2Nginx);
|
|
|
var link = newLink(scene,az2Elb, az2Nginx);
|
|
|
link.arrowsRadius = 10;
|
|
|
|
|
|
var az2Gateway1 = newNode(scene,appNodeX+450,appNodeY+400,appNodeW,appNodeH,'az2Gateway');
|
|
|
container_qq.add(az2Gateway1);
|
|
|
var az2Gateway1 = newNode(scene,appNodeX+450,appNodeY+420,appNodeW,appNodeH,'az2Gateway');
|
|
|
container_az2.add(az2Gateway1);
|
|
|
|
|
|
|
|
|
|
...
|
...
|
|