aboutsummaryrefslogtreecommitdiff
path: root/frontend/src/app/_elements/graph/graph.component.html
blob: 35753d403a24c466ce7622739e95a6df856a9c1a (plain) (blame)
1
2
3
4
5
6
7
8
<div #graphWrapper class="w-100 position-relative" style="height: 14rem;">
    <!-- <ng-container *ngFor="let layer of layers; let i = index">
        <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.length >= j ? inputColumns[j] : 'nepoznato') : (i > 0 && i
            < layers.length - 1 ? model!.layers[i-1].activationFunction : (i==layers.length - 1 ? 'out' : '')) }} </div>
    </ng-container> -->
    <canvas #graphCanvas></canvas>
</div>