File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
service/src/main/java/org/lfenergy/compas/scl/auto/alignment/service Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -114,10 +114,12 @@ private LayoutParameters getLayoutParameters() {
114
114
}
115
115
116
116
private void configureLayout (SubstationGraph graph , LayoutParameters layoutParameters ) {
117
+ PositionVoltageLevelLayoutFactoryParameters parameters = new PositionVoltageLevelLayoutFactoryParameters ();
118
+ parameters .setFeederStacked (false )
119
+ .setHandleShunts (true );
117
120
new HorizontalSubstationLayoutFactory ().create (graph ,
118
- new PositionVoltageLevelLayoutFactory ()
119
- .setFeederStacked (false )
120
- .setHandleShunts (true ))
121
- .run (layoutParameters );
121
+ new PositionVoltageLevelLayoutFactory (parameters )
122
+ )
123
+ .run (layoutParameters );
122
124
}
123
125
}
You can’t perform that action at this time.
0 commit comments