-
Notifications
You must be signed in to change notification settings - Fork 0
/
app.component.ts
40 lines (36 loc) · 1.4 KB
/
app.component.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
import { Component } from '@angular/core';
import { FormControl, FormGroup } from "@angular/forms";
@Component({
selector: 'app-root',
templateUrl: './app.component.html',
styleUrls: ['./app.component.scss']
})
export class AppComponent {
benzene: string = '\n' +
' MJ212000 \n' +
'\n' +
' 8 8 0 0 0 0 0 0 0 0999 V2000\n' +
' -4.9218 -0.0455 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0\n' +
' -5.6363 -0.4580 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0\n' +
' -5.6363 -1.2831 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0\n' +
' -4.9218 -1.6955 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0\n' +
' -4.2073 -1.2831 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0\n' +
' -4.2073 -0.4580 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0\n' +
' -4.9218 0.7794 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0\n' +
' -5.6363 1.1919 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0\n' +
' 1 2 1 0 0 0 0\n' +
' 1 6 1 0 0 0 0\n' +
' 2 3 1 0 0 0 0\n' +
' 3 4 1 0 0 0 0\n' +
' 4 5 1 0 0 0 0\n' +
' 5 6 1 0 0 0 0\n' +
' 1 7 1 0 0 0 0\n' +
' 7 8 1 0 0 0 0\n' +
'M END\n'
formGroup: FormGroup;
constructor() {
this.formGroup = new FormGroup({
structure: new FormControl(this.benzene)
});
}
}