-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #88 from LionWeb-io/niko/fine-tune-m1-json-export
fine-tuned inclusion of target node ids if target node is not part of AMps2LionWebConverter
- Loading branch information
Showing
10 changed files
with
1,927 additions
and
265 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
762 changes: 752 additions & 10 deletions
762
solutions/io.lionweb.mps.json.test/models/io.lionweb.mps.json.test.json2lionweb@tests.mps
Large diffs are not rendered by default.
Oops, something went wrong.
File renamed without changes.
118 changes: 118 additions & 0 deletions
118
solutions/io.lionweb.mps.json.test/resources/bobs-library-closure.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,118 @@ | ||
{ | ||
"serializationFormatVersion": "2023.1", | ||
"languages": [ | ||
{ | ||
"key": "NTM3ZjljYjAtMGYyNS0zYzc2LThiODYtMzA4ZjQ1MDEwMTAw", | ||
"version": "0" | ||
} | ||
], | ||
"nodes": [ | ||
{ | ||
"id": "{id-lib}", | ||
"classifier": { | ||
"language": "NTM3ZjljYjAtMGYyNS0zYzc2LThiODYtMzA4ZjQ1MDEwMTAw", | ||
"version": "0", | ||
"key": "NTM3ZjljYjAtMGYyNS0zYzc2LThiODYtMzA4ZjQ1MDEwMTAwLzg2OTkxNDExNTA2MzkyMDA3NzE" | ||
}, | ||
"properties": [ | ||
{ | ||
"property": { | ||
"language": "NTM3ZjljYjAtMGYyNS0zYzc2LThiODYtMzA4ZjQ1MDEwMTAw", | ||
"version": "0", | ||
"key": "NTM3ZjljYjAtMGYyNS0zYzc2LThiODYtMzA4ZjQ1MDEwMTAwLzg2OTkxNDExNTA2MzkyMDA3NzEvMTY2MzE2NjUzNTM4OTU1NjUwNw" | ||
}, | ||
"value": "Bob\u0027s Library" | ||
} | ||
], | ||
"containments": [ | ||
{ | ||
"containment": { | ||
"language": "NTM3ZjljYjAtMGYyNS0zYzc2LThiODYtMzA4ZjQ1MDEwMTAw", | ||
"version": "0", | ||
"key": "NTM3ZjljYjAtMGYyNS0zYzc2LThiODYtMzA4ZjQ1MDEwMTAwLzg2OTkxNDExNTA2MzkyMDA3NzEvLTYzOTI0NjgyNTk0NDA3MjQ1MzE" | ||
}, | ||
"children": [ | ||
"{id-explorer-book}" | ||
] | ||
} | ||
], | ||
"references": [], | ||
"annotations": [], | ||
"parent": null | ||
}, | ||
{ | ||
"id": "{id-explorer-book}", | ||
"classifier": { | ||
"language": "NTM3ZjljYjAtMGYyNS0zYzc2LThiODYtMzA4ZjQ1MDEwMTAw", | ||
"version": "0", | ||
"key": "NTM3ZjljYjAtMGYyNS0zYzc2LThiODYtMzA4ZjQ1MDEwMTAwLy0yNTg2Mzk4OTU5MDM1MjUwMjYx" | ||
}, | ||
"properties": [ | ||
{ | ||
"property": { | ||
"language": "NTM3ZjljYjAtMGYyNS0zYzc2LThiODYtMzA4ZjQ1MDEwMTAw", | ||
"version": "0", | ||
"key": "NTM3ZjljYjAtMGYyNS0zYzc2LThiODYtMzA4ZjQ1MDEwMTAwLy0yNTg2Mzk4OTU5MDM1MjUwMjYxLy00Mzg2MTUwNjczNDI5OTQ5NTUy" | ||
}, | ||
"value": "123" | ||
}, | ||
{ | ||
"property": { | ||
"language": "NTM3ZjljYjAtMGYyNS0zYzc2LThiODYtMzA4ZjQ1MDEwMTAw", | ||
"version": "0", | ||
"key": "NTM3ZjljYjAtMGYyNS0zYzc2LThiODYtMzA4ZjQ1MDEwMTAwLy0yNTg2Mzk4OTU5MDM1MjUwMjYxLy02NDc2MDE3NTAyOTM2MDY4MTk5" | ||
}, | ||
"value": "Explorer Book" | ||
} | ||
], | ||
"containments": [], | ||
"references": [ | ||
{ | ||
"reference": { | ||
"language": "NTM3ZjljYjAtMGYyNS0zYzc2LThiODYtMzA4ZjQ1MDEwMTAw", | ||
"version": "0", | ||
"key": "NTM3ZjljYjAtMGYyNS0zYzc2LThiODYtMzA4ZjQ1MDEwMTAwLy0yNTg2Mzk4OTU5MDM1MjUwMjYxLzI3MDkyODE3OTA0MDA0MDk2OTQ" | ||
}, | ||
"targets": [ | ||
{ | ||
"resolveInfo": null, | ||
"reference": "{id-jack-london}" | ||
} | ||
] | ||
} | ||
], | ||
"annotations": [], | ||
"parent": "{id-lib}" | ||
}, | ||
{ | ||
"id": "{id-jack-london}", | ||
"classifier": { | ||
"language": "NTM3ZjljYjAtMGYyNS0zYzc2LThiODYtMzA4ZjQ1MDEwMTAw", | ||
"version": "0", | ||
"key": "NTM3ZjljYjAtMGYyNS0zYzc2LThiODYtMzA4ZjQ1MDEwMTAwLzU1ODIwOTMzOTQ1NTE3NDM0MTc" | ||
}, | ||
"properties": [ | ||
{ | ||
"property": { | ||
"language": "NTM3ZjljYjAtMGYyNS0zYzc2LThiODYtMzA4ZjQ1MDEwMTAw", | ||
"version": "0", | ||
"key": "NTM3ZjljYjAtMGYyNS0zYzc2LThiODYtMzA4ZjQ1MDEwMTAwLy02MzA4OTk2OTY0NjI5MTg1MTYzLzY0Njg3ODM4NDUzODY0MzUxNjY" | ||
}, | ||
"value": "Jack London" | ||
}, | ||
{ | ||
"property": { | ||
"language": "NTM3ZjljYjAtMGYyNS0zYzc2LThiODYtMzA4ZjQ1MDEwMTAw", | ||
"version": "0", | ||
"key": "NTM3ZjljYjAtMGYyNS0zYzc2LThiODYtMzA4ZjQ1MDEwMTAwLzU1ODIwOTMzOTQ1NTE3NDM0MTcvLTQ0MDQ1Mzk3MTU3MTg0MzkyNjM" | ||
}, | ||
"value": "Alaska" | ||
} | ||
], | ||
"containments": [], | ||
"references": [], | ||
"annotations": [], | ||
"parent": "{id-container}" | ||
} | ||
] | ||
} |
118 changes: 118 additions & 0 deletions
118
solutions/io.lionweb.mps.json.test/resources/bobs-library-descendants-author.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,118 @@ | ||
{ | ||
"serializationFormatVersion": "2023.1", | ||
"languages": [ | ||
{ | ||
"key": "NTM3ZjljYjAtMGYyNS0zYzc2LThiODYtMzA4ZjQ1MDEwMTAw", | ||
"version": "0" | ||
} | ||
], | ||
"nodes": [ | ||
{ | ||
"id": "{id-lib}", | ||
"classifier": { | ||
"language": "NTM3ZjljYjAtMGYyNS0zYzc2LThiODYtMzA4ZjQ1MDEwMTAw", | ||
"version": "0", | ||
"key": "NTM3ZjljYjAtMGYyNS0zYzc2LThiODYtMzA4ZjQ1MDEwMTAwLzg2OTkxNDExNTA2MzkyMDA3NzE" | ||
}, | ||
"properties": [ | ||
{ | ||
"property": { | ||
"language": "NTM3ZjljYjAtMGYyNS0zYzc2LThiODYtMzA4ZjQ1MDEwMTAw", | ||
"version": "0", | ||
"key": "NTM3ZjljYjAtMGYyNS0zYzc2LThiODYtMzA4ZjQ1MDEwMTAwLzg2OTkxNDExNTA2MzkyMDA3NzEvMTY2MzE2NjUzNTM4OTU1NjUwNw" | ||
}, | ||
"value": "Bob\u0027s Library" | ||
} | ||
], | ||
"containments": [ | ||
{ | ||
"containment": { | ||
"language": "NTM3ZjljYjAtMGYyNS0zYzc2LThiODYtMzA4ZjQ1MDEwMTAw", | ||
"version": "0", | ||
"key": "NTM3ZjljYjAtMGYyNS0zYzc2LThiODYtMzA4ZjQ1MDEwMTAwLzg2OTkxNDExNTA2MzkyMDA3NzEvLTYzOTI0NjgyNTk0NDA3MjQ1MzE" | ||
}, | ||
"children": [ | ||
"{id-explorer-book}" | ||
] | ||
} | ||
], | ||
"references": [], | ||
"annotations": [], | ||
"parent": null | ||
}, | ||
{ | ||
"id": "{id-explorer-book}", | ||
"classifier": { | ||
"language": "NTM3ZjljYjAtMGYyNS0zYzc2LThiODYtMzA4ZjQ1MDEwMTAw", | ||
"version": "0", | ||
"key": "NTM3ZjljYjAtMGYyNS0zYzc2LThiODYtMzA4ZjQ1MDEwMTAwLy0yNTg2Mzk4OTU5MDM1MjUwMjYx" | ||
}, | ||
"properties": [ | ||
{ | ||
"property": { | ||
"language": "NTM3ZjljYjAtMGYyNS0zYzc2LThiODYtMzA4ZjQ1MDEwMTAw", | ||
"version": "0", | ||
"key": "NTM3ZjljYjAtMGYyNS0zYzc2LThiODYtMzA4ZjQ1MDEwMTAwLy0yNTg2Mzk4OTU5MDM1MjUwMjYxLy00Mzg2MTUwNjczNDI5OTQ5NTUy" | ||
}, | ||
"value": "123" | ||
}, | ||
{ | ||
"property": { | ||
"language": "NTM3ZjljYjAtMGYyNS0zYzc2LThiODYtMzA4ZjQ1MDEwMTAw", | ||
"version": "0", | ||
"key": "NTM3ZjljYjAtMGYyNS0zYzc2LThiODYtMzA4ZjQ1MDEwMTAwLy0yNTg2Mzk4OTU5MDM1MjUwMjYxLy02NDc2MDE3NTAyOTM2MDY4MTk5" | ||
}, | ||
"value": "Explorer Book" | ||
} | ||
], | ||
"containments": [], | ||
"references": [ | ||
{ | ||
"reference": { | ||
"language": "NTM3ZjljYjAtMGYyNS0zYzc2LThiODYtMzA4ZjQ1MDEwMTAw", | ||
"version": "0", | ||
"key": "NTM3ZjljYjAtMGYyNS0zYzc2LThiODYtMzA4ZjQ1MDEwMTAwLy0yNTg2Mzk4OTU5MDM1MjUwMjYxLzI3MDkyODE3OTA0MDA0MDk2OTQ" | ||
}, | ||
"targets": [ | ||
{ | ||
"resolveInfo": null, | ||
"reference": "{id-jack-london}" | ||
} | ||
] | ||
} | ||
], | ||
"annotations": [], | ||
"parent": "{id-lib}" | ||
}, | ||
{ | ||
"id": "{id-jack-london}", | ||
"classifier": { | ||
"language": "NTM3ZjljYjAtMGYyNS0zYzc2LThiODYtMzA4ZjQ1MDEwMTAw", | ||
"version": "0", | ||
"key": "NTM3ZjljYjAtMGYyNS0zYzc2LThiODYtMzA4ZjQ1MDEwMTAwLzU1ODIwOTMzOTQ1NTE3NDM0MTc" | ||
}, | ||
"properties": [ | ||
{ | ||
"property": { | ||
"language": "NTM3ZjljYjAtMGYyNS0zYzc2LThiODYtMzA4ZjQ1MDEwMTAw", | ||
"version": "0", | ||
"key": "NTM3ZjljYjAtMGYyNS0zYzc2LThiODYtMzA4ZjQ1MDEwMTAwLy02MzA4OTk2OTY0NjI5MTg1MTYzLzY0Njg3ODM4NDUzODY0MzUxNjY" | ||
}, | ||
"value": "Jack London" | ||
}, | ||
{ | ||
"property": { | ||
"language": "NTM3ZjljYjAtMGYyNS0zYzc2LThiODYtMzA4ZjQ1MDEwMTAw", | ||
"version": "0", | ||
"key": "NTM3ZjljYjAtMGYyNS0zYzc2LThiODYtMzA4ZjQ1MDEwMTAwLzU1ODIwOTMzOTQ1NTE3NDM0MTcvLTQ0MDQ1Mzk3MTU3MTg0MzkyNjM" | ||
}, | ||
"value": "Alaska" | ||
} | ||
], | ||
"containments": [], | ||
"references": [], | ||
"annotations": [], | ||
"parent": "{id-container}" | ||
} | ||
] | ||
} |
88 changes: 88 additions & 0 deletions
88
solutions/io.lionweb.mps.json.test/resources/bobs-library-descendants.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,88 @@ | ||
{ | ||
"serializationFormatVersion": "2023.1", | ||
"languages": [ | ||
{ | ||
"key": "NTM3ZjljYjAtMGYyNS0zYzc2LThiODYtMzA4ZjQ1MDEwMTAw", | ||
"version": "0" | ||
} | ||
], | ||
"nodes": [ | ||
{ | ||
"id": "{id-lib}", | ||
"classifier": { | ||
"language": "NTM3ZjljYjAtMGYyNS0zYzc2LThiODYtMzA4ZjQ1MDEwMTAw", | ||
"version": "0", | ||
"key": "NTM3ZjljYjAtMGYyNS0zYzc2LThiODYtMzA4ZjQ1MDEwMTAwLzg2OTkxNDExNTA2MzkyMDA3NzE" | ||
}, | ||
"properties": [ | ||
{ | ||
"property": { | ||
"language": "NTM3ZjljYjAtMGYyNS0zYzc2LThiODYtMzA4ZjQ1MDEwMTAw", | ||
"version": "0", | ||
"key": "NTM3ZjljYjAtMGYyNS0zYzc2LThiODYtMzA4ZjQ1MDEwMTAwLzg2OTkxNDExNTA2MzkyMDA3NzEvMTY2MzE2NjUzNTM4OTU1NjUwNw" | ||
}, | ||
"value": "Bob\u0027s Library" | ||
} | ||
], | ||
"containments": [ | ||
{ | ||
"containment": { | ||
"language": "NTM3ZjljYjAtMGYyNS0zYzc2LThiODYtMzA4ZjQ1MDEwMTAw", | ||
"version": "0", | ||
"key": "NTM3ZjljYjAtMGYyNS0zYzc2LThiODYtMzA4ZjQ1MDEwMTAwLzg2OTkxNDExNTA2MzkyMDA3NzEvLTYzOTI0NjgyNTk0NDA3MjQ1MzE" | ||
}, | ||
"children": [ | ||
"{id-explorer-book}" | ||
] | ||
} | ||
], | ||
"references": [], | ||
"annotations": [], | ||
"parent": null | ||
}, | ||
{ | ||
"id": "{id-explorer-book}", | ||
"classifier": { | ||
"language": "NTM3ZjljYjAtMGYyNS0zYzc2LThiODYtMzA4ZjQ1MDEwMTAw", | ||
"version": "0", | ||
"key": "NTM3ZjljYjAtMGYyNS0zYzc2LThiODYtMzA4ZjQ1MDEwMTAwLy0yNTg2Mzk4OTU5MDM1MjUwMjYx" | ||
}, | ||
"properties": [ | ||
{ | ||
"property": { | ||
"language": "NTM3ZjljYjAtMGYyNS0zYzc2LThiODYtMzA4ZjQ1MDEwMTAw", | ||
"version": "0", | ||
"key": "NTM3ZjljYjAtMGYyNS0zYzc2LThiODYtMzA4ZjQ1MDEwMTAwLy0yNTg2Mzk4OTU5MDM1MjUwMjYxLy00Mzg2MTUwNjczNDI5OTQ5NTUy" | ||
}, | ||
"value": "123" | ||
}, | ||
{ | ||
"property": { | ||
"language": "NTM3ZjljYjAtMGYyNS0zYzc2LThiODYtMzA4ZjQ1MDEwMTAw", | ||
"version": "0", | ||
"key": "NTM3ZjljYjAtMGYyNS0zYzc2LThiODYtMzA4ZjQ1MDEwMTAwLy0yNTg2Mzk4OTU5MDM1MjUwMjYxLy02NDc2MDE3NTAyOTM2MDY4MTk5" | ||
}, | ||
"value": "Explorer Book" | ||
} | ||
], | ||
"containments": [], | ||
"references": [ | ||
{ | ||
"reference": { | ||
"language": "NTM3ZjljYjAtMGYyNS0zYzc2LThiODYtMzA4ZjQ1MDEwMTAw", | ||
"version": "0", | ||
"key": "NTM3ZjljYjAtMGYyNS0zYzc2LThiODYtMzA4ZjQ1MDEwMTAwLy0yNTg2Mzk4OTU5MDM1MjUwMjYxLzI3MDkyODE3OTA0MDA0MDk2OTQ" | ||
}, | ||
"targets": [ | ||
{ | ||
"resolveInfo": null, | ||
"reference": "{id-jack-london}" | ||
} | ||
] | ||
} | ||
], | ||
"annotations": [], | ||
"parent": "{id-lib}" | ||
} | ||
] | ||
} |
Oops, something went wrong.