blob: 6c4a6bdf924c1fd27e02b9d892986db8feebe1da [file] [log] [blame]
Sean Condon0c577f62018-11-18 22:40:05 +00001<!--
2~ Copyright 2018-present Open Networking Foundation
3~
4~ Licensed under the Apache License, Version 2.0 (the "License");
5~ you may not use this file except in compliance with the License.
6~ You may obtain a copy of the License at
7~
8~ http://www.apache.org/licenses/LICENSE-2.0
9~
10~ Unless required by applicable law or agreed to in writing, software
11~ distributed under the License is distributed on an "AS IS" BASIS,
12~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13~ See the License for the specific language governing permissions and
14~ limitations under the License.
15-->
16<svg:line xmlns:svg="http://www.w3.org/2000/svg"
17 [attr.x1]="(link && link.source) ? link.source.x : 0"
18 [attr.y1]="(link && link.source) ? link.source.y : 0"
19 [attr.x2]="(link && link.target) ? link.target.x : 0"
20 [attr.y2]="(link && link.target) ? link.target.y : 0"
21 [ngStyle]="{'stroke':'black'}"
22>
23 <!--<svg:line *ngFor="let link of regionData.links"-->
24 <!--x1="0" y1="0" x2="0" y2="0"-->
25 <!--stroke="#939598" stroke-width="1"-->
26 <!--[ngClass]="['link', 'direct']"-->
27 <!--[ngStyle]="{'stroke-width': 1+'px'}" [attr.click()]="selectLink(link)" />-->
28</svg:line>