Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Klighd upgraded to v3.0.1 #2263

Merged
merged 5 commits into from
Apr 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cli/lfd/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ plugins {

dependencies {
implementation project(':cli:base')
implementation("de.cau.cs.kieler.klighd:de.cau.cs.kieler.klighd.standalone:$klighdVersion") {
implementation("de.cau.cs.kieler.klighd:de.cau.cs.kieler.klighd.setup:$klighdVersion") {
exclude group: 'de.cau.cs.kieler.swt.mock'
}
implementation("de.cau.cs.kieler.klighd:de.cau.cs.kieler.klighd.piccolo:${klighdVersion}") {
Expand Down
2 changes: 1 addition & 1 deletion cli/lfd/src/main/java/org/lflang/cli/Lfd.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import de.cau.cs.kieler.klighd.Klighd;
import de.cau.cs.kieler.klighd.LightDiagramServices;
import de.cau.cs.kieler.klighd.standalone.KlighdStandaloneSetup;
import de.cau.cs.kieler.klighd.setup.KlighdStandaloneSetup;
import java.nio.file.Path;
import org.eclipse.core.runtime.IStatus;
import org.eclipse.emf.ecore.resource.Resource;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import com.google.inject.Provider;
import de.cau.cs.kieler.klighd.Klighd;
import de.cau.cs.kieler.klighd.LightDiagramServices;
import de.cau.cs.kieler.klighd.standalone.KlighdStandaloneSetup;
import de.cau.cs.kieler.klighd.setup.KlighdStandaloneSetup;
import java.net.URI;
import java.nio.file.Path;
import java.nio.file.Paths;
Expand Down
2 changes: 1 addition & 1 deletion core/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ dependencies {
exclude group: 'org.eclipse.platform', module: 'org.eclipse.swt'
exclude group: 'de.cau.cs.kieler.swt.mock'
}
implementation ("de.cau.cs.kieler.klighd:de.cau.cs.kieler.klighd.standalone:$klighdVersion") {
implementation ("de.cau.cs.kieler.klighd:de.cau.cs.kieler.klighd.setup:$klighdVersion") {
exclude group: 'org.eclipse.platform', module: 'org.eclipse.swt.*'
exclude group: 'org.eclipse.platform', module: 'org.eclipse.swt'
exclude group: 'de.cau.cs.kieler.swt.mock'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ public void configureReactor(KNode node) {
DiagramSyntheses.setLayoutOption(
node,
LayeredOptions.CONSIDER_MODEL_ORDER_COMPONENTS,
ComponentOrderingStrategy.FORCE_MODEL_ORDER);
ComponentOrderingStrategy.MODEL_ORDER);
DiagramSyntheses.setLayoutOption(
node, LayeredOptions.COMPACTION_CONNECTED_COMPONENTS, true);

Expand Down Expand Up @@ -213,7 +213,7 @@ public void configureReactor(KNode node) {
DiagramSyntheses.setLayoutOption(
node,
LayeredOptions.CONSIDER_MODEL_ORDER_COMPONENTS,
ComponentOrderingStrategy.FORCE_MODEL_ORDER);
ComponentOrderingStrategy.MODEL_ORDER);
DiagramSyntheses.setLayoutOption(
node, LayeredOptions.COMPACTION_CONNECTED_COMPONENTS, true);

Expand Down Expand Up @@ -246,7 +246,7 @@ public void configureReactor(KNode node) {
DiagramSyntheses.setLayoutOption(
node,
LayeredOptions.CONSIDER_MODEL_ORDER_COMPONENTS,
ComponentOrderingStrategy.FORCE_MODEL_ORDER);
ComponentOrderingStrategy.MODEL_ORDER);
DiagramSyntheses.setLayoutOption(
node, LayeredOptions.COMPACTION_CONNECTED_COMPONENTS, true);
// During crossing minimization 10 node order violations are regarded as important as 1 edge
Expand Down Expand Up @@ -274,7 +274,7 @@ public void configureReactor(KNode node) {
DiagramSyntheses.setLayoutOption(
node,
LayeredOptions.CONSIDER_MODEL_ORDER_COMPONENTS,
ComponentOrderingStrategy.FORCE_MODEL_ORDER);
ComponentOrderingStrategy.MODEL_ORDER);
DiagramSyntheses.setLayoutOption(
node, LayeredOptions.COMPACTION_CONNECTED_COMPONENTS, true);
// Disable all kinds of crossing minimization entirely. Just take what is in the model and
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ openTest4jVersion=1.2.0
picocliVersion=4.7.0
resourcesVersion=3.19.0
xtextVersion=2.34.0
klighdVersion=2.3.0.v20230606
klighdVersion=3.0.1.v20240410
freehepVersion=2.4
swtVersion=3.124.0
spotbugsToolVersion=4.7.3
Expand Down
7 changes: 0 additions & 7 deletions lsp/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,6 @@ dependencies {
exclude group: 'org.eclipse.platform', module: 'org.eclipse.swt.*'
exclude group: 'org.eclipse.platform', module: 'org.eclipse.swt'
}

// This dependency ensures correct animations and bookkeeping during updates
// See https://github.com/lf-lang/vscode-lingua-franca/issues/103#issuecomment-1731023470
implementation ("de.cau.cs.kieler.klighd:de.cau.cs.kieler.klighd.incremental:$klighdVersion") {
exclude group: 'org.eclipse.platform', module: 'org.eclipse.swt.*'
exclude group: 'org.eclipse.platform', module: 'org.eclipse.swt'
}
}

application {
Expand Down
Loading