Skip to content

Commit

Permalink
Merge pull request #2464 from lf-lang/fix-lfd
Browse files Browse the repository at this point in the history
Revert "Set annotated layout options for modes."
  • Loading branch information
erlingrj authored Jan 28, 2025
2 parents aa667fb + 20d2479 commit 5dae9c4
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,6 @@ public class ModeDiagrams extends AbstractSynthesisExtensions {
@Inject @Extension private LinguaFrancaStyleExtensions _linguaFrancaStyleExtensions;
@Inject @Extension private UtilityExtensions _utilityExtensions;
@Inject @Extension private LayoutPostProcessing _layoutPostProcessing;
@Inject @Extension private LinguaFrancaSynthesis synthesis;

@Extension private KRenderingFactory _kRenderingFactory = KRenderingFactory.eINSTANCE;

Expand Down Expand Up @@ -341,7 +340,6 @@ public void handleModes(List<KNode> nodes, ReactorInstance reactor) {
modeContainer.getProperty(LayeredOptions.SPACING_NODE_NODE_BETWEEN_LAYERS)
+ (getBooleanValue(SHOW_TRANSITION_LABELS) ? 6.0 : 10.0));
}
synthesis.setAnnotatedLayoutOptions(reactor.reactorDefinition, modeContainer);

var modeContainerPorts = new HashMap<KPort, KPort>();
for (var mode : reactor.modes) {
Expand Down

0 comments on commit 5dae9c4

Please # to comment.