aboutsummaryrefslogtreecommitdiff
path: root/frontend
diff options
context:
space:
mode:
Diffstat (limited to 'frontend')
-rw-r--r--frontend/src/app/_elements/form-model/form-model.component.html10
-rw-r--r--frontend/src/app/app.module.ts4
2 files changed, 3 insertions, 11 deletions
diff --git a/frontend/src/app/_elements/form-model/form-model.component.html b/frontend/src/app/_elements/form-model/form-model.component.html
index 22307d4d..7d669d1d 100644
--- a/frontend/src/app/_elements/form-model/form-model.component.html
+++ b/frontend/src/app/_elements/form-model/form-model.component.html
@@ -114,15 +114,7 @@
</div><!--kraj unosa parametara-->
<hr>
<div class="m-5">
- <app-graph [model]="newModel" [inputCols]="newModel.inputColNum"></app-graph>
- <!--<div class="row" style="position: center;">
- <div class="col-3"></div>
- <label class="col-2" style="color: white;">Broj skrivenih slojeva:</label>
- <div class="col-1">
- <input type="number" min="1" class="form-control" name="hiddenLayers" [(ngModel)]="newModel.hiddenLayers" (change)="newModel.hiddenLayerActivationFunctions = [].constructor(newModel.hiddenLayers).fill(newModel.hiddenLayerActivationFunctions[0])" (ngModelChange)="updateGraph()">
- </div>
- </div>
- </div>-->
+ <app-graph [model]="newModel" [inputCols]="newModel.inputColNum"></app-graph>
<div class="row" id="rowhn">
<div class="col-3"></div>
<div class="col-2">Broj Skrivenih Slojeva</div>
diff --git a/frontend/src/app/app.module.ts b/frontend/src/app/app.module.ts
index a7850552..faa8bb8e 100644
--- a/frontend/src/app/app.module.ts
+++ b/frontend/src/app/app.module.ts
@@ -45,7 +45,7 @@ import { ColumnTableComponent } from './_elements/column-table/column-table.comp
import { FolderComponent } from './_elements/folder/folder.component';
import { TestComponent } from './_pages/test/test.component';
import { DoughnutChartComponent } from './_elements/_charts/doughnut-chart/doughnut-chart.component';
-import { HiddenLayerComponent } from './_elements/hidden-layer/hidden-layer.component';
+
export function initializeApp(appConfig: Configuration) {
return () => appConfig.load();
}
@@ -79,7 +79,7 @@ export function initializeApp(appConfig: Configuration) {
FolderComponent,
TestComponent,
DoughnutChartComponent,
- HiddenLayerComponent
+
],
imports: [
BrowserModule,