I am using mat stepper which is bind with mat expansion panel, both are generated in ngFor loop according to the size of array. but the problem is that the stepper does not shows the connecting lines the it only acts as a bullet-ed list.
<div *ngFor="let currentUserInteraction of currentUserInteractions">
<mat-vertical-stepper #stepper>
<mat-step [stepControl]="currentUserInteraction">
<ng-template matStepLabel>{{currentUserInteraction.name}}</ng-
template>
<mat-expansion-panel>
<mat-expansion-panel-header>
</mat-expansion-panel-header>
</mat-expansion-panel>
</mat-step>
</mat-vertical-stepper>
</div>
and also , how to display label on both sides of vertical stepper.