vis.js is a dynamic, browser-based visualization library
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1729 lines
40 KiB

  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <title>JS Bin</title>
  6. <script type="text/javascript" src="../dist/vis.js"></script>
  7. <link href="../dist/vis.css" rel="stylesheet" type="text/css"/>
  8. <style>
  9. #mynetwork {
  10. width: 1200px;
  11. height: 750px;
  12. border: 1px solid lightgray;
  13. }
  14. </style>
  15. <link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css">
  16. <link rel="stylesheet" href="http://code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css">
  17. </head>
  18. <body>
  19. <p>
  20. Create a simple network with some nodes and edges.
  21. </p>
  22. <input type="button" onclick="window.clusterPlease()" value="Cluster all nodes By AS">
  23. <div id="mynetwork"></div>
  24. <script type="text/javascript">
  25. var nodes = [{
  26. "group": "18015",
  27. "title": "",
  28. "label": "180.189.223.1",
  29. "AS": "18015",
  30. "mass": 1,
  31. "id": "180.189.223.1"
  32. }, {
  33. "group": "23655",
  34. "title": "",
  35. "label": "111.69.27.36",
  36. "AS": "23655",
  37. "mass": 1,
  38. "id": "111.69.27.36"
  39. }, {
  40. "group": "23655",
  41. "title": "",
  42. "label": "123.255.40.191",
  43. "AS": "23655",
  44. "mass": 1,
  45. "id": "123.255.40.191"
  46. }, {
  47. "group": "9560",
  48. "title": "",
  49. "label": "192.203.154.145",
  50. "AS": "9560",
  51. "mass": 1,
  52. "id": "192.203.154.145"
  53. }, {
  54. "group": "9560",
  55. "title": "",
  56. "label": "192.203.154.142",
  57. "AS": "9560",
  58. "mass": 1,
  59. "id": "192.203.154.142"
  60. }, {
  61. "group": "37979",
  62. "title": "",
  63. "label": "Private 17565-1",
  64. "AS": "37979",
  65. "mass": 1,
  66. "id": "Private 17565-1"
  67. }, {
  68. "group": "4768",
  69. "title": "",
  70. "label": "Private 10650-1",
  71. "AS": "4768",
  72. "mass": 1,
  73. "id": "Private 10650-1"
  74. }, {
  75. "group": "9431",
  76. "title": "",
  77. "label": "130.216.95.105",
  78. "AS": "9431",
  79. "mass": 1,
  80. "id": "130.216.95.105"
  81. }, {
  82. "group": "17746",
  83. "title": "",
  84. "label": "Probe 19326",
  85. "AS": "17746",
  86. "mass": 1,
  87. "id": "Probe 19326"
  88. }, {
  89. "group": "24398",
  90. "title": "",
  91. "label": "156.62.1.7",
  92. "AS": "24398",
  93. "mass": 1,
  94. "id": "156.62.1.7"
  95. }, {
  96. "group": "24398",
  97. "title": "",
  98. "label": "Private 11843-2",
  99. "AS": "24398",
  100. "mass": 1,
  101. "id": "Private 11843-2"
  102. }, {
  103. "group": "24398",
  104. "title": "",
  105. "label": "Private 11843-3",
  106. "AS": "24398",
  107. "mass": 1,
  108. "id": "Private 11843-3"
  109. }, {
  110. "group": "24398",
  111. "title": "",
  112. "label": "Probe 11843",
  113. "AS": "24398",
  114. "mass": 1,
  115. "id": "Probe 11843"
  116. }, {
  117. "group": "37979",
  118. "title": "",
  119. "label": "Probe 17565",
  120. "AS": "37979",
  121. "mass": 1,
  122. "id": "Probe 17565"
  123. }, {
  124. "group": "4768",
  125. "title": "",
  126. "label": "218.101.61.101",
  127. "AS": "4768",
  128. "mass": 1,
  129. "id": "218.101.61.101"
  130. }, {
  131. "group": "4771",
  132. "title": "",
  133. "label": "125.236.168.1",
  134. "AS": "4771",
  135. "mass": 1,
  136. "id": "125.236.168.1"
  137. }, {
  138. "group": "23655",
  139. "title": "",
  140. "label": "111.69.53.81",
  141. "AS": "23655",
  142. "mass": 1,
  143. "id": "111.69.53.81"
  144. }, {
  145. "group": "9560",
  146. "title": "",
  147. "label": "192.203.154.78",
  148. "AS": "9560",
  149. "mass": 1,
  150. "id": "192.203.154.78"
  151. }, {
  152. "group": "9503",
  153. "title": "",
  154. "label": "202.53.187.94",
  155. "AS": "9503",
  156. "mass": 1,
  157. "id": "202.53.187.94"
  158. }, {
  159. "group": "56030",
  160. "title": "",
  161. "label": "114.23.0.244",
  162. "AS": "56030",
  163. "mass": 1,
  164. "id": "114.23.0.244"
  165. }, {
  166. "group": "56216",
  167. "title": "",
  168. "label": "202.90.44.12",
  169. "AS": "56216",
  170. "mass": 1,
  171. "id": "202.90.44.12"
  172. }, {
  173. "group": "45177",
  174. "title": "",
  175. "label": "120.136.0.131",
  176. "AS": "45177",
  177. "mass": 1,
  178. "id": "120.136.0.131"
  179. }, {
  180. "group": "4771",
  181. "title": "",
  182. "label": "125.236.173.140",
  183. "AS": "4771",
  184. "mass": 1,
  185. "id": "125.236.173.140"
  186. }, {
  187. "group": "9431",
  188. "title": "",
  189. "label": "Probe 12197",
  190. "AS": "9431",
  191. "mass": 1,
  192. "id": "Probe 12197"
  193. }, {
  194. "group": "9503",
  195. "title": "",
  196. "label": "202.53.187.33",
  197. "AS": "9503",
  198. "mass": 1,
  199. "id": "202.53.187.33"
  200. }, {
  201. "group": "9431",
  202. "title": "",
  203. "label": "130.216.38.254",
  204. "AS": "9431",
  205. "mass": 1,
  206. "id": "130.216.38.254"
  207. }, {
  208. "group": "17746",
  209. "title": "",
  210. "label": "60.234.79.98",
  211. "AS": "17746",
  212. "mass": 1,
  213. "id": "60.234.79.98"
  214. }, {
  215. "group": "9560",
  216. "title": "",
  217. "label": "192.203.154.57",
  218. "AS": "9560",
  219. "mass": 1,
  220. "id": "192.203.154.57"
  221. }, {
  222. "group": "9503",
  223. "title": "",
  224. "label": "131.203.251.166",
  225. "AS": "9503",
  226. "mass": 1,
  227. "id": "131.203.251.166"
  228. }, {
  229. "group": "9503",
  230. "title": "",
  231. "label": "131.203.251.165",
  232. "AS": "9503",
  233. "mass": 1,
  234. "id": "131.203.251.165"
  235. }, {
  236. "group": "23655",
  237. "title": "",
  238. "label": "111.69.53.80",
  239. "AS": "23655",
  240. "mass": 1,
  241. "id": "111.69.53.80"
  242. }, {
  243. "group": "9439",
  244. "title": "",
  245. "label": "202.7.1.240",
  246. "AS": "9439",
  247. "mass": 1,
  248. "id": "202.7.1.240"
  249. }, {
  250. "group": "24398",
  251. "title": "",
  252. "label": "Private 11947-3",
  253. "AS": "24398",
  254. "mass": 1,
  255. "id": "Private 11947-3"
  256. }, {
  257. "group": "24398",
  258. "title": "",
  259. "label": "Private 11947-2",
  260. "AS": "24398",
  261. "mass": 1,
  262. "id": "Private 11947-2"
  263. }, {
  264. "group": "37979",
  265. "title": "",
  266. "label": "218.185.224.65",
  267. "AS": "37979",
  268. "mass": 1,
  269. "id": "218.185.224.65"
  270. }, {
  271. "group": "4771",
  272. "title": "",
  273. "label": "Probe 17594",
  274. "AS": "4771",
  275. "mass": 1,
  276. "id": "Probe 17594"
  277. }, {
  278. "group": "9503",
  279. "title": "",
  280. "label": "131.203.240.49",
  281. "AS": "9503",
  282. "mass": 1,
  283. "id": "131.203.240.49"
  284. }, {
  285. "group": "9503",
  286. "title": "",
  287. "label": "Hop 14884-7",
  288. "AS": "9503",
  289. "mass": 1,
  290. "id": "Hop 14884-7"
  291. }, {
  292. "group": "9560",
  293. "title": "",
  294. "label": "192.203.154.67",
  295. "AS": "9560",
  296. "mass": 1,
  297. "id": "192.203.154.67"
  298. }, {
  299. "group": "38022",
  300. "title": "",
  301. "label": "210.7.32.2",
  302. "AS": "38022",
  303. "mass": 1,
  304. "id": "210.7.32.2"
  305. }, {
  306. "group": "132125",
  307. "title": "",
  308. "label": "Probe 10269",
  309. "AS": "132125",
  310. "mass": 1,
  311. "id": "Probe 10269"
  312. }, {
  313. "group": "7657",
  314. "title": "",
  315. "label": "Private 10269-7",
  316. "AS": "7657",
  317. "mass": 1,
  318. "id": "Private 10269-7"
  319. }, {
  320. "group": "17746",
  321. "title": "",
  322. "label": "Private 14473-1",
  323. "AS": "17746",
  324. "mass": 1,
  325. "id": "Private 14473-1"
  326. }, {
  327. "group": "24398",
  328. "title": "",
  329. "label": "156.62.42.1",
  330. "AS": "24398",
  331. "mass": 1,
  332. "id": "156.62.42.1"
  333. }, {
  334. "group": "23655",
  335. "title": "",
  336. "label": "Private 14884-1",
  337. "AS": "23655",
  338. "mass": 1,
  339. "id": "Private 14884-1"
  340. }, {
  341. "group": "24398",
  342. "title": "",
  343. "label": "156.62.1.251",
  344. "AS": "24398",
  345. "mass": 1,
  346. "id": "156.62.1.251"
  347. }, {
  348. "group": "45177",
  349. "title": "",
  350. "label": "Probe 3088",
  351. "AS": "45177",
  352. "mass": 1,
  353. "id": "Probe 3088"
  354. }, {
  355. "group": "56030",
  356. "title": "",
  357. "label": "114.23.0.190",
  358. "AS": "56030",
  359. "mass": 1,
  360. "id": "114.23.0.190"
  361. }, {
  362. "group": "4768",
  363. "title": "",
  364. "label": "203.98.18.65",
  365. "AS": "4768",
  366. "mass": 1,
  367. "id": "203.98.18.65"
  368. }, {
  369. "group": "132125",
  370. "title": "",
  371. "label": "103.247.72.242",
  372. "AS": "132125",
  373. "mass": 1,
  374. "id": "103.247.72.242"
  375. }, {
  376. "group": "38906",
  377. "title": "",
  378. "label": "202.49.5.93",
  379. "AS": "38906",
  380. "mass": 1,
  381. "id": "202.49.5.93"
  382. }, {
  383. "group": "9431",
  384. "title": "",
  385. "label": "130.216.95.121",
  386. "AS": "9431",
  387. "mass": 1,
  388. "id": "130.216.95.121"
  389. }, {
  390. "group": "4771",
  391. "title": "",
  392. "label": "Probe 4778",
  393. "AS": "4771",
  394. "mass": 1,
  395. "id": "Probe 4778"
  396. }, {
  397. "group": "9245",
  398. "title": "",
  399. "label": "203.152.107.253",
  400. "AS": "9245",
  401. "mass": 1,
  402. "id": "203.152.107.253"
  403. }, {
  404. "group": "132003",
  405. "title": "",
  406. "label": "Probe 1050",
  407. "AS": "132003",
  408. "mass": 1,
  409. "id": "Probe 1050"
  410. }, {
  411. "group": "24398",
  412. "title": "",
  413. "label": "Probe 12036",
  414. "AS": "24398",
  415. "mass": 1,
  416. "id": "Probe 12036"
  417. }, {
  418. "group": "4768",
  419. "title": "",
  420. "label": "218.101.61.124",
  421. "AS": "4768",
  422. "mass": 1,
  423. "id": "218.101.61.124"
  424. }, {
  425. "group": "9889",
  426. "title": "",
  427. "label": "123.100.127.146",
  428. "AS": "9889",
  429. "mass": 1,
  430. "id": "123.100.127.146"
  431. }, {
  432. "group": "17746",
  433. "title": "",
  434. "label": "Private 19326-1",
  435. "AS": "17746",
  436. "mass": 1,
  437. "id": "Private 19326-1"
  438. }, {
  439. "group": "7657",
  440. "title": "",
  441. "label": "203.109.180.225",
  442. "AS": "7657",
  443. "mass": 1,
  444. "id": "203.109.180.225"
  445. }, {
  446. "group": "4770",
  447. "title": "",
  448. "label": "210.48.34.61",
  449. "AS": "4770",
  450. "mass": 1,
  451. "id": "210.48.34.61"
  452. }, {
  453. "group": "7657",
  454. "title": "",
  455. "label": "203.109.180.226",
  456. "AS": "7657",
  457. "mass": 1,
  458. "id": "203.109.180.226"
  459. }, {
  460. "group": "9439",
  461. "title": "",
  462. "label": "202.7.1.1",
  463. "AS": "9439",
  464. "mass": 1,
  465. "id": "202.7.1.1"
  466. }, {
  467. "group": "4768",
  468. "title": "",
  469. "label": "Probe 10650",
  470. "AS": "4768",
  471. "mass": 1,
  472. "id": "Probe 10650"
  473. }, {
  474. "group": "17746",
  475. "title": "",
  476. "label": "121.98.9.141",
  477. "AS": "17746",
  478. "mass": 1,
  479. "id": "121.98.9.141"
  480. }, {
  481. "group": "38022",
  482. "title": "",
  483. "label": "210.7.39.58",
  484. "AS": "38022",
  485. "mass": 1,
  486. "id": "210.7.39.58"
  487. }, {
  488. "group": "9303",
  489. "title": "",
  490. "label": "202.27.202.198",
  491. "AS": "9303",
  492. "mass": 1,
  493. "id": "202.27.202.198"
  494. }, {
  495. "group": "17746",
  496. "title": "",
  497. "label": "121.98.9.10",
  498. "AS": "17746",
  499. "mass": 1,
  500. "id": "121.98.9.10"
  501. }, {
  502. "group": "38022",
  503. "title": "",
  504. "label": "210.7.39.57",
  505. "AS": "38022",
  506. "mass": 1,
  507. "id": "210.7.39.57"
  508. }, {
  509. "group": "24398",
  510. "title": "",
  511. "label": "Private 12793-3",
  512. "AS": "24398",
  513. "mass": 1,
  514. "id": "Private 12793-3"
  515. }, {
  516. "group": "24398",
  517. "title": "",
  518. "label": "Private 12793-2",
  519. "AS": "24398",
  520. "mass": 1,
  521. "id": "Private 12793-2"
  522. }, {
  523. "group": "4771",
  524. "title": "",
  525. "label": "Hop 17594-3",
  526. "AS": "4771",
  527. "mass": 1,
  528. "id": "Hop 17594-3"
  529. }, {
  530. "group": "38022",
  531. "title": "",
  532. "label": "210.7.39.113",
  533. "AS": "38022",
  534. "mass": 1,
  535. "id": "210.7.39.113"
  536. }, {
  537. "group": "9503",
  538. "title": "",
  539. "label": "131.203.237.142",
  540. "AS": "9503",
  541. "mass": 1,
  542. "id": "131.203.237.142"
  543. }, {
  544. "group": "18015",
  545. "title": "",
  546. "label": "180.189.223.94",
  547. "AS": "18015",
  548. "mass": 1,
  549. "id": "180.189.223.94"
  550. }, {
  551. "group": "9889",
  552. "title": "",
  553. "label": "124.198.198.16",
  554. "AS": "9889",
  555. "mass": 1,
  556. "id": "124.198.198.16"
  557. }, {
  558. "group": "24398",
  559. "title": "",
  560. "label": "156.62.42.23",
  561. "AS": "24398",
  562. "mass": 1,
  563. "id": "156.62.42.23"
  564. }, {
  565. "group": "4648",
  566. "title": "",
  567. "label": "122.56.116.9",
  568. "AS": "4648",
  569. "mass": 1,
  570. "id": "122.56.116.9"
  571. }, {
  572. "group": "4768",
  573. "title": "",
  574. "label": "Hop 10650-2",
  575. "AS": "4768",
  576. "mass": 1,
  577. "id": "Hop 10650-2"
  578. }, {
  579. "group": "4768",
  580. "title": "",
  581. "label": "203.167.219.122",
  582. "AS": "4768",
  583. "mass": 1,
  584. "id": "203.167.219.122"
  585. }, {
  586. "group": "24398",
  587. "title": "",
  588. "label": "Hop 12197-9",
  589. "AS": "24398",
  590. "mass": 1,
  591. "id": "Hop 12197-9"
  592. }, {
  593. "group": "24398",
  594. "title": "",
  595. "label": "Hop 12197-8",
  596. "AS": "24398",
  597. "mass": 1,
  598. "id": "Hop 12197-8"
  599. }, {
  600. "group": "4768",
  601. "title": "",
  602. "label": "Hop 11744-2",
  603. "AS": "4768",
  604. "mass": 1,
  605. "id": "Hop 11744-2"
  606. }, {
  607. "group": "4771",
  608. "title": "",
  609. "label": "Hop 4778-3",
  610. "AS": "4771",
  611. "mass": 1,
  612. "id": "Hop 4778-3"
  613. }, {
  614. "group": "4648",
  615. "title": "",
  616. "label": "122.56.118.166",
  617. "AS": "4648",
  618. "mass": 1,
  619. "id": "122.56.118.166"
  620. }, {
  621. "group": "9503",
  622. "title": "",
  623. "label": "Hop 4778-9",
  624. "AS": "9503",
  625. "mass": 1,
  626. "id": "Hop 4778-9"
  627. }, {
  628. "group": "17746",
  629. "title": "",
  630. "label": "60.234.20.42",
  631. "AS": "17746",
  632. "mass": 1,
  633. "id": "60.234.20.42"
  634. }, {
  635. "group": "4771",
  636. "title": "",
  637. "label": "Private 17594-1",
  638. "AS": "4771",
  639. "mass": 1,
  640. "id": "Private 17594-1"
  641. }, {
  642. "group": "4771",
  643. "title": "",
  644. "label": "Hop 17594-2",
  645. "AS": "4771",
  646. "mass": 1,
  647. "id": "Hop 17594-2"
  648. }, {
  649. "group": "9503",
  650. "title": "",
  651. "label": "131.203.240.206",
  652. "AS": "9503",
  653. "mass": 1,
  654. "id": "131.203.240.206"
  655. }, {
  656. "group": "56030",
  657. "title": "",
  658. "label": "114.23.3.149",
  659. "AS": "56030",
  660. "mass": 1,
  661. "id": "114.23.3.149"
  662. }, {
  663. "group": "4648",
  664. "title": "",
  665. "label": "122.56.223.9",
  666. "AS": "4648",
  667. "mass": 1,
  668. "id": "122.56.223.9"
  669. }, {
  670. "group": "4648",
  671. "title": "",
  672. "label": "122.56.223.8",
  673. "AS": "4648",
  674. "mass": 1,
  675. "id": "122.56.223.8"
  676. }, {
  677. "group": "9790",
  678. "title": "",
  679. "label": "101.98.2.226",
  680. "AS": "9790",
  681. "mass": 1,
  682. "id": "101.98.2.226"
  683. }, {
  684. "group": "24398",
  685. "title": "",
  686. "label": "156.62.209.1",
  687. "AS": "24398",
  688. "mass": 1,
  689. "id": "156.62.209.1"
  690. }, {
  691. "group": "9790",
  692. "title": "",
  693. "label": "101.98.2.229",
  694. "AS": "9790",
  695. "mass": 1,
  696. "id": "101.98.2.229"
  697. }, {
  698. "group": "7657",
  699. "title": "",
  700. "label": "Hop 10269-6",
  701. "AS": "7657",
  702. "mass": 1,
  703. "id": "Hop 10269-6"
  704. }, {
  705. "group": "7657",
  706. "title": "",
  707. "label": "210.246.43.111",
  708. "AS": "7657",
  709. "mass": 1,
  710. "id": "210.246.43.111"
  711. }, {
  712. "group": "17746",
  713. "title": "",
  714. "label": "121.98.9.161",
  715. "AS": "17746",
  716. "mass": 1,
  717. "id": "121.98.9.161"
  718. }, {
  719. "group": "4771",
  720. "title": "",
  721. "label": "Private 74-1",
  722. "AS": "4771",
  723. "mass": 1,
  724. "id": "Private 74-1"
  725. }, {
  726. "group": "4771",
  727. "title": "",
  728. "label": "Private 74-2",
  729. "AS": "4771",
  730. "mass": 1,
  731. "id": "Private 74-2"
  732. }, {
  733. "group": "38022",
  734. "title": "",
  735. "label": "210.7.39.74",
  736. "AS": "38022",
  737. "mass": 1,
  738. "id": "210.7.39.74"
  739. }, {
  740. "group": "24398",
  741. "title": "",
  742. "label": "156.62.209.200",
  743. "AS": "24398",
  744. "mass": 1,
  745. "id": "156.62.209.200"
  746. }, {
  747. "group": "9560",
  748. "title": "",
  749. "label": "192.203.154.110",
  750. "AS": "9560",
  751. "mass": 1,
  752. "id": "192.203.154.110"
  753. }, {
  754. "group": "9439",
  755. "title": "",
  756. "label": "202.7.0.190",
  757. "AS": "9439",
  758. "mass": 1,
  759. "id": "202.7.0.190"
  760. }, {
  761. "group": "9503",
  762. "title": "",
  763. "label": "131.203.225.46",
  764. "AS": "9503",
  765. "mass": 1,
  766. "id": "131.203.225.46"
  767. }, {
  768. "group": "4768",
  769. "title": "",
  770. "label": "Private 11744-1",
  771. "AS": "4768",
  772. "mass": 1,
  773. "id": "Private 11744-1"
  774. }, {
  775. "group": "9503",
  776. "title": "",
  777. "label": "131.203.243.57",
  778. "AS": "9503",
  779. "mass": 1,
  780. "id": "131.203.243.57"
  781. }, {
  782. "group": "9503",
  783. "title": "",
  784. "label": "131.203.243.58",
  785. "AS": "9503",
  786. "mass": 1,
  787. "id": "131.203.243.58"
  788. }, {
  789. "group": "17746",
  790. "title": "",
  791. "label": "121.98.9.72",
  792. "AS": "17746",
  793. "mass": 1,
  794. "id": "121.98.9.72"
  795. }, {
  796. "group": "9433",
  797. "title": "",
  798. "label": "130.123.10.101",
  799. "AS": "9433",
  800. "mass": 1,
  801. "id": "130.123.10.101"
  802. }, {
  803. "group": "23838",
  804. "title": "",
  805. "label": "120.136.54.220",
  806. "AS": "23838",
  807. "mass": 1,
  808. "id": "120.136.54.220"
  809. }, {
  810. "group": "4771",
  811. "title": "",
  812. "label": "222.152.45.9",
  813. "AS": "4771",
  814. "mass": 1,
  815. "id": "222.152.45.9"
  816. }, {
  817. "group": "4771",
  818. "title": "",
  819. "label": "Hop 74-3",
  820. "AS": "4771",
  821. "mass": 1,
  822. "id": "Hop 74-3"
  823. }, {
  824. "group": "56030",
  825. "title": "",
  826. "label": "114.23.3.250",
  827. "AS": "56030",
  828. "mass": 1,
  829. "id": "114.23.3.250"
  830. }, {
  831. "group": "4771",
  832. "title": "",
  833. "label": "Hop 74-4",
  834. "AS": "4771",
  835. "mass": 1,
  836. "id": "Hop 74-4"
  837. }, {
  838. "group": "38022",
  839. "title": "",
  840. "label": "210.7.39.173",
  841. "AS": "38022",
  842. "mass": 1,
  843. "id": "210.7.39.173"
  844. }, {
  845. "group": "7657",
  846. "title": "",
  847. "label": "Hop 74-9",
  848. "AS": "7657",
  849. "mass": 1,
  850. "id": "Hop 74-9"
  851. }, {
  852. "group": "4770",
  853. "title": "",
  854. "label": "210.48.34.51",
  855. "AS": "4770",
  856. "mass": 1,
  857. "id": "210.48.34.51"
  858. }, {
  859. "group": "23655",
  860. "title": "",
  861. "label": "111.69.15.8",
  862. "AS": "23655",
  863. "mass": 1,
  864. "id": "111.69.15.8"
  865. }, {
  866. "group": "45177",
  867. "title": "",
  868. "label": "Private 3088-1",
  869. "AS": "45177",
  870. "mass": 1,
  871. "id": "Private 3088-1"
  872. }, {
  873. "group": "4768",
  874. "title": "",
  875. "label": "203.98.18.66",
  876. "AS": "4768",
  877. "mass": 1,
  878. "id": "203.98.18.66"
  879. }, {
  880. "group": "9503",
  881. "title": "",
  882. "label": "131.203.249.185",
  883. "AS": "9503",
  884. "mass": 1,
  885. "id": "131.203.249.185"
  886. }, {
  887. "group": "24398",
  888. "title": "",
  889. "label": "Private 3088-9",
  890. "AS": "24398",
  891. "mass": 1,
  892. "id": "Private 3088-9"
  893. }, {
  894. "group": "24398",
  895. "title": "",
  896. "label": "Private 3088-8",
  897. "AS": "24398",
  898. "mass": 1,
  899. "id": "Private 3088-8"
  900. }, {
  901. "group": "4768",
  902. "title": "",
  903. "label": "203.167.219.121",
  904. "AS": "4768",
  905. "mass": 1,
  906. "id": "203.167.219.121"
  907. }, {
  908. "group": "23655",
  909. "title": "",
  910. "label": "111.69.15.7",
  911. "AS": "23655",
  912. "mass": 1,
  913. "id": "111.69.15.7"
  914. }, {
  915. "group": "132003",
  916. "title": "",
  917. "label": "103.10.233.81",
  918. "AS": "132003",
  919. "mass": 1,
  920. "id": "103.10.233.81"
  921. }, {
  922. "group": "23655",
  923. "title": "",
  924. "label": "Probe 14884",
  925. "AS": "23655",
  926. "mass": 1,
  927. "id": "Probe 14884"
  928. }, {
  929. "group": "132003",
  930. "title": "",
  931. "label": "103.10.233.83",
  932. "AS": "132003",
  933. "mass": 1,
  934. "id": "103.10.233.83"
  935. }, {
  936. "group": "9433",
  937. "title": "",
  938. "label": "Hop 4778-12",
  939. "AS": "9433",
  940. "mass": 1,
  941. "id": "Hop 4778-12"
  942. }, {
  943. "group": "9503",
  944. "title": "",
  945. "label": "Hop 4778-10",
  946. "AS": "9503",
  947. "mass": 1,
  948. "id": "Hop 4778-10"
  949. }, {
  950. "group": "9433",
  951. "title": "",
  952. "label": "Hop 4778-11",
  953. "AS": "9433",
  954. "mass": 1,
  955. "id": "Hop 4778-11"
  956. }, {
  957. "group": "132268",
  958. "title": "",
  959. "label": "103.9.106.19",
  960. "AS": "132268",
  961. "mass": 1,
  962. "id": "103.9.106.19"
  963. }, {
  964. "group": "45164",
  965. "title": "",
  966. "label": "202.36.163.2",
  967. "AS": "45164",
  968. "mass": 1,
  969. "id": "202.36.163.2"
  970. }, {
  971. "group": "38022",
  972. "title": "",
  973. "label": "210.7.32.24",
  974. "AS": "38022",
  975. "mass": 1,
  976. "id": "210.7.32.24"
  977. }, {
  978. "group": "24398",
  979. "title": "",
  980. "label": "156.62.3.2",
  981. "AS": "24398",
  982. "mass": 1,
  983. "id": "156.62.3.2"
  984. }, {
  985. "group": "9431",
  986. "title": "",
  987. "label": "Private 12197-2",
  988. "AS": "9431",
  989. "mass": 1,
  990. "id": "Private 12197-2"
  991. }, {
  992. "group": "24398",
  993. "title": "",
  994. "label": "Probe 11947",
  995. "AS": "24398",
  996. "mass": 1,
  997. "id": "Probe 11947"
  998. }, {
  999. "group": "17746",
  1000. "title": "",
  1001. "label": "Probe 14473",
  1002. "AS": "17746",
  1003. "mass": 1,
  1004. "id": "Probe 14473"
  1005. }, {
  1006. "group": "9303",
  1007. "title": "",
  1008. "label": "202.27.219.98",
  1009. "AS": "9303",
  1010. "mass": 1,
  1011. "id": "202.27.219.98"
  1012. }, {
  1013. "group": "4768",
  1014. "title": "",
  1015. "label": "Probe 11744",
  1016. "AS": "4768",
  1017. "mass": 1,
  1018. "id": "Probe 11744"
  1019. }, {
  1020. "group": "23655",
  1021. "title": "",
  1022. "label": "202.124.114.162",
  1023. "AS": "23655",
  1024. "mass": 1,
  1025. "id": "202.124.114.162"
  1026. }, {
  1027. "group": "23655",
  1028. "title": "",
  1029. "label": "202.124.114.161",
  1030. "AS": "23655",
  1031. "mass": 1,
  1032. "id": "202.124.114.161"
  1033. }, {
  1034. "group": "9790",
  1035. "title": "",
  1036. "label": "101.98.3.41",
  1037. "AS": "9790",
  1038. "mass": 1,
  1039. "id": "101.98.3.41"
  1040. }, {
  1041. "group": "132881",
  1042. "title": "",
  1043. "label": "103.27.52.8",
  1044. "AS": "132881",
  1045. "mass": 1,
  1046. "id": "103.27.52.8"
  1047. }, {
  1048. "group": "9790",
  1049. "title": "",
  1050. "label": "101.98.3.164",
  1051. "AS": "9790",
  1052. "mass": 1,
  1053. "id": "101.98.3.164"
  1054. }, {
  1055. "group": "9790",
  1056. "title": "",
  1057. "label": "101.98.3.162",
  1058. "AS": "9790",
  1059. "mass": 1,
  1060. "id": "101.98.3.162"
  1061. }, {
  1062. "group": "17746",
  1063. "title": "",
  1064. "label": "60.234.8.4",
  1065. "AS": "17746",
  1066. "mass": 1,
  1067. "id": "60.234.8.4"
  1068. }, {
  1069. "group": "24398",
  1070. "title": "",
  1071. "label": "156.62.3.252",
  1072. "AS": "24398",
  1073. "mass": 1,
  1074. "id": "156.62.3.252"
  1075. }, {
  1076. "group": "9245",
  1077. "title": "",
  1078. "label": "203.152.107.13",
  1079. "AS": "9245",
  1080. "mass": 1,
  1081. "id": "203.152.107.13"
  1082. }, {
  1083. "group": "9433",
  1084. "title": "",
  1085. "label": "130.123.1.130",
  1086. "AS": "9433",
  1087. "mass": 1,
  1088. "id": "130.123.1.130"
  1089. }, {
  1090. "group": "4771",
  1091. "title": "",
  1092. "label": "Private 4778-1",
  1093. "AS": "4771",
  1094. "mass": 1,
  1095. "id": "Private 4778-1"
  1096. }, {
  1097. "group": "38906",
  1098. "title": "",
  1099. "label": "202.49.0.2",
  1100. "AS": "38906",
  1101. "mass": 1,
  1102. "id": "202.49.0.2"
  1103. }, {
  1104. "group": "9433",
  1105. "title": "",
  1106. "label": "130.123.3.180",
  1107. "AS": "9433",
  1108. "mass": 1,
  1109. "id": "130.123.3.180"
  1110. }, {
  1111. "group": "4771",
  1112. "title": "",
  1113. "label": "Probe 74",
  1114. "AS": "4771",
  1115. "mass": 1,
  1116. "id": "Probe 74"
  1117. }, {
  1118. "group": "7657",
  1119. "title": "",
  1120. "label": "203.109.130.98",
  1121. "AS": "7657",
  1122. "mass": 1,
  1123. "id": "203.109.130.98"
  1124. }, {
  1125. "group": "24398",
  1126. "title": "",
  1127. "label": "Probe 12793",
  1128. "AS": "24398",
  1129. "mass": 1,
  1130. "id": "Probe 12793"
  1131. }, {
  1132. "group": "17746",
  1133. "title": "",
  1134. "label": "121.99.252.1",
  1135. "AS": "17746",
  1136. "mass": 1,
  1137. "id": "121.99.252.1"
  1138. }, {
  1139. "group": "45177",
  1140. "title": "",
  1141. "label": "120.136.0.248",
  1142. "AS": "45177",
  1143. "mass": 1,
  1144. "id": "120.136.0.248"
  1145. }, {
  1146. "group": "9790",
  1147. "title": "",
  1148. "label": "101.98.3.112",
  1149. "AS": "9790",
  1150. "mass": 1,
  1151. "id": "101.98.3.112"
  1152. }, {
  1153. "group": "9560",
  1154. "title": "",
  1155. "label": "192.203.154.46",
  1156. "AS": "9560",
  1157. "mass": 1,
  1158. "id": "192.203.154.46"
  1159. }, {
  1160. "group": "24398",
  1161. "title": "",
  1162. "label": "Hop 12197-10",
  1163. "AS": "24398",
  1164. "mass": 1,
  1165. "id": "Hop 12197-10"
  1166. }];
  1167. var edges = [{
  1168. "to": "180.189.223.94",
  1169. "from": "180.189.223.1"
  1170. }, {
  1171. "to": "192.203.154.142",
  1172. "from": "180.189.223.1"
  1173. }, {
  1174. "to": "122.56.116.9",
  1175. "from": "111.69.27.36"
  1176. }, {
  1177. "to": "114.23.0.244",
  1178. "from": "111.69.27.36"
  1179. }, {
  1180. "to": "203.98.18.66",
  1181. "from": "111.69.27.36"
  1182. }, {
  1183. "to": "111.69.53.81",
  1184. "from": "123.255.40.191"
  1185. }, {
  1186. "to": "124.198.198.16",
  1187. "from": "192.203.154.145"
  1188. }, {
  1189. "to": "203.109.180.226",
  1190. "from": "192.203.154.145"
  1191. }, {
  1192. "to": "121.98.9.10",
  1193. "from": "192.203.154.142"
  1194. }, {
  1195. "to": "Probe 17565",
  1196. "from": "Private 17565-1"
  1197. }, {
  1198. "to": "218.185.224.65",
  1199. "from": "Private 17565-1"
  1200. }, {
  1201. "to": "Probe 10650",
  1202. "from": "Private 10650-1"
  1203. }, {
  1204. "to": "Hop 10650-2",
  1205. "from": "Private 10650-1"
  1206. }, {
  1207. "to": "130.216.95.121",
  1208. "from": "130.216.95.105"
  1209. }, {
  1210. "to": "210.7.39.173",
  1211. "from": "130.216.95.105"
  1212. }, {
  1213. "to": "Private 19326-1",
  1214. "from": "Probe 19326"
  1215. }, {
  1216. "to": "Private 12793-3",
  1217. "from": "156.62.1.7"
  1218. }, {
  1219. "to": "156.62.3.252",
  1220. "from": "156.62.1.7"
  1221. }, {
  1222. "to": "Private 11947-3",
  1223. "from": "156.62.1.7"
  1224. }, {
  1225. "to": "Private 11843-3",
  1226. "from": "156.62.1.7"
  1227. }, {
  1228. "to": "156.62.42.1",
  1229. "from": "Private 11843-2"
  1230. }, {
  1231. "to": "Private 11843-3",
  1232. "from": "Private 11843-2"
  1233. }, {
  1234. "to": "156.62.42.1",
  1235. "from": "Probe 11843"
  1236. }, {
  1237. "to": "203.98.18.65",
  1238. "from": "218.101.61.101"
  1239. }, {
  1240. "to": "Hop 11744-2",
  1241. "from": "218.101.61.101"
  1242. }, {
  1243. "to": "125.236.173.140",
  1244. "from": "125.236.168.1"
  1245. }, {
  1246. "to": "122.56.223.8",
  1247. "from": "125.236.168.1"
  1248. }, {
  1249. "to": "111.69.53.80",
  1250. "from": "111.69.53.81"
  1251. }, {
  1252. "to": "156.62.3.252",
  1253. "from": "192.203.154.78"
  1254. }, {
  1255. "to": "202.27.202.198",
  1256. "from": "192.203.154.78"
  1257. }, {
  1258. "to": "131.203.237.142",
  1259. "from": "202.53.187.94"
  1260. }, {
  1261. "to": "202.53.187.33",
  1262. "from": "202.53.187.94"
  1263. }, {
  1264. "to": "114.23.0.190",
  1265. "from": "114.23.0.244"
  1266. }, {
  1267. "to": "114.23.3.149",
  1268. "from": "202.90.44.12"
  1269. }, {
  1270. "to": "120.136.0.248",
  1271. "from": "120.136.0.131"
  1272. }, {
  1273. "to": "192.203.154.67",
  1274. "from": "120.136.0.131"
  1275. }, {
  1276. "to": "130.216.38.254",
  1277. "from": "Probe 12197"
  1278. }, {
  1279. "to": "122.56.118.166",
  1280. "from": "202.53.187.33"
  1281. }, {
  1282. "to": "Private 12197-2",
  1283. "from": "130.216.38.254"
  1284. }, {
  1285. "to": "111.69.53.80",
  1286. "from": "60.234.79.98"
  1287. }, {
  1288. "to": "121.98.9.161",
  1289. "from": "60.234.79.98"
  1290. }, {
  1291. "to": "192.203.154.46",
  1292. "from": "192.203.154.57"
  1293. }, {
  1294. "to": "210.7.39.113",
  1295. "from": "192.203.154.57"
  1296. }, {
  1297. "to": "131.203.251.165",
  1298. "from": "131.203.251.166"
  1299. }, {
  1300. "to": "202.49.0.2",
  1301. "from": "131.203.251.166"
  1302. }, {
  1303. "to": "131.203.249.185",
  1304. "from": "131.203.251.165"
  1305. }, {
  1306. "to": "202.124.114.161",
  1307. "from": "202.7.1.240"
  1308. }, {
  1309. "to": "210.7.32.2",
  1310. "from": "202.7.1.240"
  1311. }, {
  1312. "to": "Private 11947-2",
  1313. "from": "Private 11947-3"
  1314. }, {
  1315. "to": "156.62.209.1",
  1316. "from": "Private 11947-2"
  1317. }, {
  1318. "to": "131.203.249.185",
  1319. "from": "218.185.224.65"
  1320. }, {
  1321. "to": "Private 17594-1",
  1322. "from": "Probe 17594"
  1323. }, {
  1324. "to": "210.7.39.113",
  1325. "from": "131.203.240.49"
  1326. }, {
  1327. "to": "122.56.223.9",
  1328. "from": "131.203.240.49"
  1329. }, {
  1330. "to": "120.136.54.220",
  1331. "from": "Hop 14884-7"
  1332. }, {
  1333. "to": "131.203.225.46",
  1334. "from": "Hop 14884-7"
  1335. }, {
  1336. "to": "60.234.20.42",
  1337. "from": "192.203.154.67"
  1338. }, {
  1339. "to": "202.7.1.1",
  1340. "from": "210.7.32.2"
  1341. }, {
  1342. "to": "156.62.3.252",
  1343. "from": "210.7.32.2"
  1344. }, {
  1345. "to": "103.247.72.242",
  1346. "from": "Probe 10269"
  1347. }, {
  1348. "to": "Hop 10269-6",
  1349. "from": "Private 10269-7"
  1350. }, {
  1351. "to": "121.99.252.1",
  1352. "from": "Private 14473-1"
  1353. }, {
  1354. "to": "Probe 14473",
  1355. "from": "Private 14473-1"
  1356. }, {
  1357. "to": "Private 12793-2",
  1358. "from": "156.62.42.1"
  1359. }, {
  1360. "to": "Probe 12793",
  1361. "from": "156.62.42.1"
  1362. }, {
  1363. "to": "Probe 14884",
  1364. "from": "Private 14884-1"
  1365. }, {
  1366. "to": "111.69.15.7",
  1367. "from": "Private 14884-1"
  1368. }, {
  1369. "to": "Private 3088-8",
  1370. "from": "156.62.1.251"
  1371. }, {
  1372. "to": "156.62.3.2",
  1373. "from": "156.62.1.251"
  1374. }, {
  1375. "to": "Private 3088-1",
  1376. "from": "Probe 3088"
  1377. }, {
  1378. "to": "114.23.3.250",
  1379. "from": "114.23.0.190"
  1380. }, {
  1381. "to": "203.98.18.66",
  1382. "from": "203.98.18.65"
  1383. }, {
  1384. "to": "123.100.127.146",
  1385. "from": "103.247.72.242"
  1386. }, {
  1387. "to": "202.49.0.2",
  1388. "from": "202.49.5.93"
  1389. }, {
  1390. "to": "Private 12197-2",
  1391. "from": "130.216.95.121"
  1392. }, {
  1393. "to": "Private 4778-1",
  1394. "from": "Probe 4778"
  1395. }, {
  1396. "to": "192.203.154.110",
  1397. "from": "203.152.107.253"
  1398. }, {
  1399. "to": "203.152.107.13",
  1400. "from": "203.152.107.253"
  1401. }, {
  1402. "to": "103.10.233.81",
  1403. "from": "Probe 1050"
  1404. }, {
  1405. "to": "156.62.3.252",
  1406. "from": "Probe 12036"
  1407. }, {
  1408. "to": "203.167.219.121",
  1409. "from": "218.101.61.124"
  1410. }, {
  1411. "to": "Hop 10650-2",
  1412. "from": "218.101.61.124"
  1413. }, {
  1414. "to": "124.198.198.16",
  1415. "from": "123.100.127.146"
  1416. }, {
  1417. "to": "60.234.8.4",
  1418. "from": "Private 19326-1"
  1419. }, {
  1420. "to": "203.109.130.98",
  1421. "from": "203.109.180.225"
  1422. }, {
  1423. "to": "203.109.180.226",
  1424. "from": "203.109.180.225"
  1425. }, {
  1426. "to": "210.48.34.51",
  1427. "from": "210.48.34.61"
  1428. }, {
  1429. "to": "103.27.52.8",
  1430. "from": "210.48.34.61"
  1431. }, {
  1432. "to": "Hop 74-9",
  1433. "from": "203.109.180.226"
  1434. }, {
  1435. "to": "Hop 10269-6",
  1436. "from": "203.109.180.226"
  1437. }, {
  1438. "to": "210.48.34.51",
  1439. "from": "202.7.1.1"
  1440. }, {
  1441. "to": "121.99.252.1",
  1442. "from": "121.98.9.141"
  1443. }, {
  1444. "to": "121.98.9.10",
  1445. "from": "121.98.9.141"
  1446. }, {
  1447. "to": "130.123.1.130",
  1448. "from": "210.7.39.58"
  1449. }, {
  1450. "to": "210.7.39.57",
  1451. "from": "210.7.39.58"
  1452. }, {
  1453. "to": "202.27.219.98",
  1454. "from": "202.27.202.198"
  1455. }, {
  1456. "to": "131.203.240.206",
  1457. "from": "210.7.39.57"
  1458. }, {
  1459. "to": "Private 12793-2",
  1460. "from": "Private 12793-3"
  1461. }, {
  1462. "to": "122.56.116.9",
  1463. "from": "Hop 17594-3"
  1464. }, {
  1465. "to": "Hop 17594-2",
  1466. "from": "Hop 17594-3"
  1467. }, {
  1468. "to": "103.10.233.81",
  1469. "from": "210.7.39.113"
  1470. }, {
  1471. "to": "Hop 4778-9",
  1472. "from": "131.203.237.142"
  1473. }, {
  1474. "to": "192.203.154.110",
  1475. "from": "124.198.198.16"
  1476. }, {
  1477. "to": "Private 3088-9",
  1478. "from": "156.62.42.23"
  1479. }, {
  1480. "to": "Hop 74-4",
  1481. "from": "122.56.116.9"
  1482. }, {
  1483. "to": "203.109.130.98",
  1484. "from": "122.56.116.9"
  1485. }, {
  1486. "to": "Hop 4778-3",
  1487. "from": "122.56.116.9"
  1488. }, {
  1489. "to": "122.56.118.166",
  1490. "from": "122.56.116.9"
  1491. }, {
  1492. "to": "203.167.219.121",
  1493. "from": "203.167.219.122"
  1494. }, {
  1495. "to": "Hop 12197-8",
  1496. "from": "Hop 12197-9"
  1497. }, {
  1498. "to": "Hop 12197-10",
  1499. "from": "Hop 12197-9"
  1500. }, {
  1501. "to": "156.62.3.2",
  1502. "from": "Hop 12197-8"
  1503. }, {
  1504. "to": "Private 11744-1",
  1505. "from": "Hop 11744-2"
  1506. }, {
  1507. "to": "222.152.45.9",
  1508. "from": "Hop 4778-3"
  1509. }, {
  1510. "to": "131.203.240.206",
  1511. "from": "122.56.118.166"
  1512. }, {
  1513. "to": "Hop 4778-10",
  1514. "from": "Hop 4778-9"
  1515. }, {
  1516. "to": "156.62.3.2",
  1517. "from": "60.234.20.42"
  1518. }, {
  1519. "to": "Hop 17594-2",
  1520. "from": "Private 17594-1"
  1521. }, {
  1522. "to": "114.23.3.250",
  1523. "from": "114.23.3.149"
  1524. }, {
  1525. "to": "122.56.223.8",
  1526. "from": "122.56.223.9"
  1527. }, {
  1528. "to": "101.98.3.41",
  1529. "from": "101.98.2.226"
  1530. }, {
  1531. "to": "Probe 11947",
  1532. "from": "156.62.209.1"
  1533. }, {
  1534. "to": "101.98.3.164",
  1535. "from": "101.98.2.229"
  1536. }, {
  1537. "to": "101.98.3.112",
  1538. "from": "101.98.2.229"
  1539. }, {
  1540. "to": "Hop 74-9",
  1541. "from": "210.246.43.111"
  1542. }, {
  1543. "to": "121.98.9.72",
  1544. "from": "121.98.9.161"
  1545. }, {
  1546. "to": "Private 74-2",
  1547. "from": "Private 74-1"
  1548. }, {
  1549. "to": "Probe 74",
  1550. "from": "Private 74-1"
  1551. }, {
  1552. "to": "Hop 74-3",
  1553. "from": "Private 74-2"
  1554. }, {
  1555. "to": "156.62.3.2",
  1556. "from": "210.7.39.74"
  1557. }, {
  1558. "to": "210.7.39.173",
  1559. "from": "210.7.39.74"
  1560. }, {
  1561. "to": "Hop 12197-10",
  1562. "from": "156.62.209.200"
  1563. }, {
  1564. "to": "103.10.233.83",
  1565. "from": "202.7.0.190"
  1566. }, {
  1567. "to": "210.7.32.24",
  1568. "from": "202.7.0.190"
  1569. }, {
  1570. "to": "131.203.243.57",
  1571. "from": "131.203.225.46"
  1572. }, {
  1573. "to": "Probe 11744",
  1574. "from": "Private 11744-1"
  1575. }, {
  1576. "to": "131.203.243.58",
  1577. "from": "131.203.243.57"
  1578. }, {
  1579. "to": "111.69.15.8",
  1580. "from": "131.203.243.58"
  1581. }, {
  1582. "to": "60.234.8.4",
  1583. "from": "121.98.9.72"
  1584. }, {
  1585. "to": "Hop 4778-12",
  1586. "from": "130.123.10.101"
  1587. }, {
  1588. "to": "Private 4778-1",
  1589. "from": "222.152.45.9"
  1590. }, {
  1591. "to": "Hop 74-4",
  1592. "from": "Hop 74-3"
  1593. }, {
  1594. "to": "111.69.15.7",
  1595. "from": "111.69.15.8"
  1596. }, {
  1597. "to": "120.136.0.248",
  1598. "from": "Private 3088-1"
  1599. }, {
  1600. "to": "Private 3088-8",
  1601. "from": "Private 3088-9"
  1602. }, {
  1603. "to": "Hop 4778-11",
  1604. "from": "Hop 4778-12"
  1605. }, {
  1606. "to": "103.9.106.19",
  1607. "from": "Hop 4778-10"
  1608. }, {
  1609. "to": "130.123.3.180",
  1610. "from": "Hop 4778-11"
  1611. }, {
  1612. "to": "202.124.114.162",
  1613. "from": "202.36.163.2"
  1614. }, {
  1615. "to": "156.62.3.252",
  1616. "from": "210.7.32.24"
  1617. }, {
  1618. "to": "202.124.114.161",
  1619. "from": "202.124.114.162"
  1620. }, {
  1621. "to": "101.98.3.162",
  1622. "from": "101.98.3.41"
  1623. }, {
  1624. "to": "101.98.3.162",
  1625. "from": "101.98.3.164"
  1626. }, {
  1627. "to": "130.123.3.180",
  1628. "from": "130.123.1.130"
  1629. }, {
  1630. "to": "192.203.154.46",
  1631. "from": "101.98.3.112"
  1632. }];
  1633. var ases = ["132881", "56030", "38022", "45177", "23655", "9245", "132268", "18015", "7657", "4768", "45164", "17746", "9303", "24398", "9560", "37979", "38906", "23838", "132125", "9503", "56216", "132003", "4770", "4771", "4648", "9790", "9439", "9433", "9889", "9431"];
  1634. window.clusterPlease = function () {
  1635. for (var i = 0; i < ases.length; i++) {
  1636. clusterByAs(ases[i]);
  1637. }
  1638. }
  1639. var vis_nodes = new vis.DataSet(nodes);
  1640. var vis_edges = new vis.DataSet(edges);
  1641. var container = document.getElementById('mynetwork');
  1642. var options = {
  1643. autoResize: true,
  1644. width: '100%',
  1645. height: '100%',
  1646. layout: {
  1647. randomSeed: 8
  1648. },
  1649. nodes: {
  1650. shape: 'dot',
  1651. size: 5,
  1652. physics: true
  1653. },
  1654. edges: {
  1655. smooth: false
  1656. },
  1657. interaction: {
  1658. navigationButtons: true,
  1659. zoomView: true
  1660. },
  1661. physics: {
  1662. "stabilization": true,
  1663. "barnesHut": {
  1664. "gravitationalConstant": -17500,
  1665. "centralGravity": 1.7,
  1666. "springLength": 30,
  1667. "springConstant": 0.05,
  1668. "damping": 0.75,
  1669. "avoidOverlap": 0.1
  1670. }
  1671. }
  1672. };
  1673. var data = {
  1674. nodes: vis_nodes,
  1675. edges: vis_edges
  1676. };
  1677. var network = new vis.Network(container, data, options);
  1678. function clusterByAs(as) { // console.log("Clustering nodes in AS " + as);
  1679. clusterOptionsByData = {
  1680. joinCondition: function (childOptions) {
  1681. return childOptions.AS == as;
  1682. },
  1683. processProperties: function (clusterOptions, childNodes, childEdges) {
  1684. var totalMass = 0;
  1685. for (var i = 0; i < childNodes.length; i++) {
  1686. totalMass += childNodes[i].mass;
  1687. }
  1688. clusterOptions.mass = totalMass;
  1689. clusterOptions.value = childNodes.length;
  1690. return clusterOptions;
  1691. },
  1692. clusterNodeProperties: {
  1693. id: as,
  1694. borderWidth: 2,
  1695. shape: 'dot',
  1696. label: 'AS ' + as,
  1697. group: as
  1698. }
  1699. }
  1700. network.cluster(clusterOptionsByData);
  1701. }
  1702. // if we click on a node, we want to open it up!
  1703. network.on("selectNode", function (params) {
  1704. if (params.nodes.length == 1) {
  1705. if (network.isCluster(params.nodes[0]) == true) {
  1706. network.openCluster(params.nodes[0])
  1707. } else {
  1708. clusterByAs(data.nodes._data[params.nodes[0]].AS);
  1709. }
  1710. }
  1711. });
  1712. </script>
  1713. </body>
  1714. </html>