Skip to content

Commit

Permalink
add diagram component
Browse files Browse the repository at this point in the history
  • Loading branch information
itsmostafa committed Feb 12, 2025
1 parent b058d1d commit 0fe81b5
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 0 deletions.
1 change: 1 addition & 0 deletions web/src/app/components/diagram/diagram.component.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<p>diagram works!</p>
Empty file.
23 changes: 23 additions & 0 deletions web/src/app/components/diagram/diagram.component.spec.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
import { ComponentFixture, TestBed } from '@angular/core/testing';

import { DiagramComponent } from './diagram.component';

describe('DiagramComponent', () => {
let component: DiagramComponent;
let fixture: ComponentFixture<DiagramComponent>;

beforeEach(async () => {
await TestBed.configureTestingModule({
imports: [DiagramComponent]
})
.compileComponents();

fixture = TestBed.createComponent(DiagramComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});

it('should create', () => {
expect(component).toBeTruthy();
});
});
11 changes: 11 additions & 0 deletions web/src/app/components/diagram/diagram.component.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import { Component } from '@angular/core';

@Component({
selector: 'app-diagram',
imports: [],
templateUrl: './diagram.component.html',
styleUrl: './diagram.component.scss'
})
export class DiagramComponent {

}

0 comments on commit 0fe81b5

Please sign in to comment.