From 5be6ec678e021f9cdd3ac981ad49ba128d7fdc5d Mon Sep 17 00:00:00 2001 From: Alexander Pann Date: Mon, 9 Dec 2024 09:01:51 +0100 Subject: [PATCH] editor.diagram: add support for custom IDs for edges --- CHANGELOG.md | 6 ++ .../generator/template/main@generator.mps | 39 ++++++++++- .../languageModels/editor.mps | 19 ++++++ .../languageModels/structure.mps | 6 ++ .../languageModels/typesystem.mps | 23 +++++++ .../languageModels/editor.mps | 17 ++++- .../mps/editor/diagram/runtime/model.mps | 67 +++++++++++++++---- .../de.itemis.mps.extensions.changelog.mps | 41 ++++++++++++ 8 files changed, 202 insertions(+), 16 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e7f965c46..d9e1782c5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,12 @@ All notable changes to this project are documented in this file. The format is *loosely* based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) .The project does *not* follow Semantic Versioning and the changes are documented in reverse chronological order, grouped by calendar month. +## December 2024 + +### Added + +- *de.itemis.mps.editor.diagram*: Edges now support custom IDs. + ## October 2024 ### Added diff --git a/code/diagram/languages/de.itemis.mps.editor.diagram/generator/template/main@generator.mps b/code/diagram/languages/de.itemis.mps.editor.diagram/generator/template/main@generator.mps index a47c26200..008f31716 100644 --- a/code/diagram/languages/de.itemis.mps.editor.diagram/generator/template/main@generator.mps +++ b/code/diagram/languages/de.itemis.mps.editor.diagram/generator/template/main@generator.mps @@ -8947,7 +8947,7 @@ - + @@ -10225,6 +10225,43 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/code/diagram/languages/de.itemis.mps.editor.diagram/languageModels/editor.mps b/code/diagram/languages/de.itemis.mps.editor.diagram/languageModels/editor.mps index 621afbd93..99d67652d 100644 --- a/code/diagram/languages/de.itemis.mps.editor.diagram/languageModels/editor.mps +++ b/code/diagram/languages/de.itemis.mps.editor.diagram/languageModels/editor.mps @@ -4662,6 +4662,25 @@ + + + + + + + + + + + + + + + + + + + diff --git a/code/diagram/languages/de.itemis.mps.editor.diagram/languageModels/structure.mps b/code/diagram/languages/de.itemis.mps.editor.diagram/languageModels/structure.mps index bc0b689ce..42b765c77 100644 --- a/code/diagram/languages/de.itemis.mps.editor.diagram/languageModels/structure.mps +++ b/code/diagram/languages/de.itemis.mps.editor.diagram/languageModels/structure.mps @@ -464,6 +464,12 @@ + + + + + + diff --git a/code/diagram/languages/de.itemis.mps.editor.diagram/languageModels/typesystem.mps b/code/diagram/languages/de.itemis.mps.editor.diagram/languageModels/typesystem.mps index 8cae358d9..2af926bbd 100644 --- a/code/diagram/languages/de.itemis.mps.editor.diagram/languageModels/typesystem.mps +++ b/code/diagram/languages/de.itemis.mps.editor.diagram/languageModels/typesystem.mps @@ -539,6 +539,29 @@ + + + + + + + + + + + + + + + + + + + + + + + diff --git a/code/diagram/languages/test.de.itemis.mps.editor.diagram.lang/languageModels/editor.mps b/code/diagram/languages/test.de.itemis.mps.editor.diagram.lang/languageModels/editor.mps index 21e8f2b6d..184ea39ed 100644 --- a/code/diagram/languages/test.de.itemis.mps.editor.diagram.lang/languageModels/editor.mps +++ b/code/diagram/languages/test.de.itemis.mps.editor.diagram.lang/languageModels/editor.mps @@ -137,6 +137,9 @@ + + + @@ -406,7 +409,9 @@ - + + + @@ -859,6 +864,16 @@ + + + + + + + + + + diff --git a/code/diagram/solutions/de.itemis.mps.editor.diagram.runtime/models/de/itemis/mps/editor/diagram/runtime/model.mps b/code/diagram/solutions/de.itemis.mps.editor.diagram.runtime/models/de/itemis/mps/editor/diagram/runtime/model.mps index 7d1a05ec2..823d35fd9 100644 --- a/code/diagram/solutions/de.itemis.mps.editor.diagram.runtime/models/de/itemis/mps/editor/diagram/runtime/model.mps +++ b/code/diagram/solutions/de.itemis.mps.editor.diagram.runtime/models/de/itemis/mps/editor/diagram/runtime/model.mps @@ -23883,30 +23883,68 @@ - + + + + + + + + + + + + + + + + + + - - - - - + + + + + + + + + + + + + + + + - - - - + + + + - - + + - + + - + + + + + + + + + + @@ -23933,6 +23971,7 @@ + diff --git a/code/solutions/de.itemis.mps.extensions.changelog/models/de.itemis.mps.extensions.changelog.mps b/code/solutions/de.itemis.mps.extensions.changelog/models/de.itemis.mps.extensions.changelog.mps index 33665fd75..893da92e7 100644 --- a/code/solutions/de.itemis.mps.extensions.changelog/models/de.itemis.mps.extensions.changelog.mps +++ b/code/solutions/de.itemis.mps.extensions.changelog/models/de.itemis.mps.extensions.changelog.mps @@ -230,6 +230,47 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +