From 9497df0ad9b4907233bfb1501b1f498faf2d53bc Mon Sep 17 00:00:00 2001 From: insanity Date: Sun, 9 Sep 2018 19:22:21 +0900 Subject: [PATCH] test --- src/app/pages/home/home-page.component.ts | 31 ----------------------- 1 file changed, 31 deletions(-) diff --git a/src/app/pages/home/home-page.component.ts b/src/app/pages/home/home-page.component.ts index 1b3bee5..7ca579b 100644 --- a/src/app/pages/home/home-page.component.ts +++ b/src/app/pages/home/home-page.component.ts @@ -70,38 +70,7 @@ export class HomePageComponent implements OnInit, OnDestroy { image: "../../assets/Windows_logo.png", }, ]); - var testMap = new Map(); - testMap.set('KEY1', 'VALUE1'); - testMap.set('KEY2', 'VALUE2'); - var tempHost: Host = { - meta: testMap, - name: 'insanity' - }; - this.nodeSet.update([ - { - id: "", label: 'host', group: 'host', host: tempHost, shape: "image", - image: "http://icons.iconarchive.com/icons/oxygen-icons.org/oxygen/128/Devices-computer-icon.png", - }, - ]); - - var tempService: Service = { - key: 'HTTP', - port: { - portNumber: 111, - metaPortType: { - name: 'TCP' - } - } - } - this.nodeSet.update([ - { - id: 'http1', label: 'http', group: 'service', - shape: "image", - image: "../../assets/Windows_logo.png", - service: tempService, - }, - ]); this.edgeSet = new vis.DataSet([]);