<div id="worker-graph">
    <div class="worker" *ngFor="let p of processes; let i = index">
        <span>#{{i}}</span>
        <div class="state" [ngStyle]="{'height': (p.operations/50*100)+'%'}"></div>
        <div class="state-number">
            {{p.operations}}
        </div>
    </div>
</div>