This commit is contained in:
crusader 2018-09-11 01:30:30 +09:00
parent 17c51a6001
commit a6277fba90
3 changed files with 5 additions and 5 deletions

View File

@ -17,8 +17,8 @@
<div *ngIf="!showIntro" class="vis-container">
<svg #discoveryTarget width="100%" height="100%">
<defs>
<pattern id="icon_db_mria" 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>
<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_maria.svg"></image>
</pattern>
</defs>
<g>
@ -27,7 +27,7 @@
</g>
<g *ngFor="let node of nodes">
<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>
</g>
</g>

View File

@ -139,7 +139,7 @@ export class HomePageComponent implements OnInit, OnDestroy {
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(
// 'DiscoveryService.DiscoverHost',

View File

@ -1,5 +1,5 @@
<div>
<img src="{{node.image}}" width="100" height="100" />
<img src="../../assets/image/icon/icon_db_maria.svg" width="100" height="100" />
</div>
<ng-container [ngSwitch]="node.group">