test
This commit is contained in:
parent
65a4980c3f
commit
9497df0ad9
|
@ -70,38 +70,7 @@ export class HomePageComponent implements OnInit, OnDestroy {
|
|||
image: "../../assets/Windows_logo.png",
|
||||
},
|
||||
]);
|
||||
var testMap = new Map<string, string>();
|
||||
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([]);
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user