ing
This commit is contained in:
parent
17c51a6001
commit
a6277fba90
@ -17,8 +17,8 @@
|
|||||||
<div *ngIf="!showIntro" class="vis-container">
|
<div *ngIf="!showIntro" class="vis-container">
|
||||||
<svg #discoveryTarget width="100%" height="100%">
|
<svg #discoveryTarget width="100%" height="100%">
|
||||||
<defs>
|
<defs>
|
||||||
<pattern id="icon_db_mria" width="1" height="1" patternUnits="objectBoundingBox">
|
<pattern id="icon_db_maria" width="1" height="1" patternUnits="objectBoundingBox">
|
||||||
<image x="0" y="0" width="66" height="56" xlink:href="../../assets/image/icon/icon_db_mria.svg"></image>
|
<image x="0" y="0" width="66" height="56" xlink:href="../../assets/image/icon/icon_db_maria.svg"></image>
|
||||||
</pattern>
|
</pattern>
|
||||||
</defs>
|
</defs>
|
||||||
<g>
|
<g>
|
||||||
@ -27,7 +27,7 @@
|
|||||||
</g>
|
</g>
|
||||||
<g *ngFor="let node of nodes">
|
<g *ngFor="let node of nodes">
|
||||||
<g class="node-container" [attr.transform]="'translate(' + node.x + ',' + node.y + ')'" (click)="onTargetClick(node)">
|
<g class="node-container" [attr.transform]="'translate(' + node.x + ',' + node.y + ')'" (click)="onTargetClick(node)">
|
||||||
<circle class="node" cx="0" cy="0" r="33" fill="url(#icon_db_mria)"></circle>
|
<circle class="node" cx="0" cy="0" r="33" fill="url(#icon_db_maria)"></circle>
|
||||||
<text class="textClass" y="2.5em" text-anchor="middle">{{node.id}}</text>
|
<text class="textClass" y="2.5em" text-anchor="middle">{{node.id}}</text>
|
||||||
</g>
|
</g>
|
||||||
</g>
|
</g>
|
||||||
|
@ -139,7 +139,7 @@ export class HomePageComponent implements OnInit, OnDestroy {
|
|||||||
|
|
||||||
this.simulationRestart();
|
this.simulationRestart();
|
||||||
|
|
||||||
this.probeService.send('DiscoveryService.DiscoverHost', requesterID, this.zone, this.discoverHost);
|
// this.probeService.send('DiscoveryService.DiscoverHost', requesterID, this.zone, this.discoverHost);
|
||||||
|
|
||||||
// this.probeService.send(
|
// this.probeService.send(
|
||||||
// 'DiscoveryService.DiscoverHost',
|
// 'DiscoveryService.DiscoverHost',
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<div>
|
<div>
|
||||||
<img src="{{node.image}}" width="100" height="100" />
|
<img src="../../assets/image/icon/icon_db_maria.svg" width="100" height="100" />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<ng-container [ngSwitch]="node.group">
|
<ng-container [ngSwitch]="node.group">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user