diff --git a/src/app/app.module.ts b/src/app/app.module.ts index 2c3ba29..decd447 100644 --- a/src/app/app.module.ts +++ b/src/app/app.module.ts @@ -3,10 +3,12 @@ import { NgModule } from '@angular/core'; import { AppRoutingModule } from './app-routing.module'; import { AppComponent } from './app.component'; +import { DiagramComponent } from './diagram/diagram.component'; @NgModule({ declarations: [ - AppComponent + AppComponent, + DiagramComponent ], imports: [ BrowserModule, diff --git a/src/app/diagram/diagram.component.html b/src/app/diagram/diagram.component.html new file mode 100644 index 0000000..347b4d1 --- /dev/null +++ b/src/app/diagram/diagram.component.html @@ -0,0 +1 @@ +

diagram works!

diff --git a/src/app/diagram/diagram.component.scss b/src/app/diagram/diagram.component.scss new file mode 100644 index 0000000..e69de29 diff --git a/src/app/diagram/diagram.component.spec.ts b/src/app/diagram/diagram.component.spec.ts new file mode 100644 index 0000000..af942ee --- /dev/null +++ b/src/app/diagram/diagram.component.spec.ts @@ -0,0 +1,25 @@ +import { async, ComponentFixture, TestBed } from '@angular/core/testing'; + +import { DiagramComponent } from './diagram.component'; + +describe('DiagramComponent', () => { + let component: DiagramComponent; + let fixture: ComponentFixture; + + beforeEach(async(() => { + TestBed.configureTestingModule({ + declarations: [ DiagramComponent ] + }) + .compileComponents(); + })); + + beforeEach(() => { + fixture = TestBed.createComponent(DiagramComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/src/app/diagram/diagram.component.ts b/src/app/diagram/diagram.component.ts new file mode 100644 index 0000000..06cfa60 --- /dev/null +++ b/src/app/diagram/diagram.component.ts @@ -0,0 +1,15 @@ +import { Component, OnInit } from '@angular/core'; + +@Component({ + selector: 'app-diagram', + templateUrl: './diagram.component.html', + styleUrls: ['./diagram.component.scss'] +}) +export class DiagramComponent implements OnInit { + + constructor() { } + + ngOnInit() { + } + +}