aboutsummaryrefslogtreecommitdiff
path: root/frontend/src/app/_elements/graph/graph.component.html
diff options
context:
space:
mode:
authorOgnjen Cirkovic <ciraboxkg@gmail.com>2022-05-04 20:29:40 +0200
committerOgnjen Cirkovic <ciraboxkg@gmail.com>2022-05-04 20:29:40 +0200
commit2c852c832bf310feeb6045380a533bb4f832ccfd (patch)
tree6fa81c0c45a4e0e2550e10371050c07b32a74dd0 /frontend/src/app/_elements/graph/graph.component.html
parent45c519d53fee1124c2882c7b353cd930fd311f9e (diff)
parent3ac7a37690765d6c116463dc8a6ef08b18afea50 (diff)
Mergovana grana sa granom redesign. Sredjeni konflikti.
Diffstat (limited to 'frontend/src/app/_elements/graph/graph.component.html')
-rw-r--r--frontend/src/app/_elements/graph/graph.component.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontend/src/app/_elements/graph/graph.component.html b/frontend/src/app/_elements/graph/graph.component.html
index 19e5c14a..3c01bc5e 100644
--- a/frontend/src/app/_elements/graph/graph.component.html
+++ b/frontend/src/app/_elements/graph/graph.component.html
@@ -1,6 +1,6 @@
<div #graphWrapper class="w-100 position-relative" style="height: 14rem;">
<ng-container *ngFor="let layer of layers; let i = index">
- <div class="node-text" *ngFor="let node of layer; let j = index" [style.left.%]="node.x * 99.4" [style.top.%]="node.y * 100">
+ <div [ngClass]="{'inputs': i==0}" class="node-text" *ngFor="let node of layer; let j = index" [style.left.%]="node.x * 99.4" [style.top.%]="node.y * 100">
{{ i == 0 ? (inputColumns ? inputColumns[j] : 'nepoznato') : (i > 0 && i
< layers.length - 1 ? model!.layers[i-1].activationFunction : (i==layers.length - 1 ? 'out' : '')) }} </div>
</ng-container>