crossbreezenl / crossmodel Goto Github PK
View Code? Open in Web Editor NEWAn open-source logical data modeler to support the model driven data engineering approach.
License: GNU Affero General Public License v3.0
An open-source logical data modeler to support the model driven data engineering approach.
License: GNU Affero General Public License v3.0
Dragging an entity file into a diagram sometimes doesn't add the entity but opens the file
Steps to reproduce
Experienced behaviour
Sometimes the entity is added as a node to the diagram, and other times the file of the entity is opened.
Expected behaviour
The entity should consistantly be added as a node to the diagram
in packages/src/views the error 'Type 'VNode[]' is not assignable to type 'ReactFragment'' is thrown. This does not happen in the ecore example (https://github.com/eclipse-emfcloud/ecore-glsp).
It works in the browser but the error is shown while compiling the application. Might be something wrong with the dependencies or configuration files.
Now when you run "yarn browser:start" and "yarn watch" simultaneously the server gets rebuilt and the changes you made to the code automatically applied.
Would be nice if this feature was extended, so the browser also get refreshed after each rebuild.
Sometimes I get the following error:
2023-11-15T10:23:15.321Z root ERROR Error: Cannot update an unmounted root.
at ReactDOMHydrationRoot.render.ReactDOMRoot.render (http://localhost:3000/bundle.js:145610:11)
at FormEditorWidget.onUpdateRequest (http://localhost:3000/bundle.js:62984:23)
at __webpack_modules__.../../node_modules/@phosphor/widgets/lib/widget.js.Widget.processMessage (http://localhost:3000/bundle.js:161321:22)
at invokeHandler (http://localhost:3000/bundle.js:16566:21)
at sendMessage (http://localhost:3000/bundle.js:16302:13)
at runMessageLoop (http://localhost:3000/bundle.js:16616:17)
Steps to reproduce
After step 6 the exception will be in the console.
If you don't do step 4, the exception doesn't occur. So it looks like the form-editor-widget is not unregistering itself from the model-server.
The model server sends an object to the form-client. Is has the following data structure:
{
$type: "Entity",
name: "Klant1",
description: "yyweyeytest",
attributes: {
"0": {
$type: "Attribute",
name: "test1",
value: "test2",
},
"1": {
$type: "Attribute",
name: "test2",
value: "test1233",
},
"2": {
$type: "Attribute",
name: "test3",
value: "test",
},
"3": {
$type: "Attribute",
name: "test4",
value: "test1",
},
"4": {
$type: "Attribute",
name: "test5",
value: "test12124124124",
},
},
}
the attributes are not in an array. instead of simply mapping the values, we have to write a for loop.
i want to achieve a requirement(that need to transform industrial Programming Language LD(Ladder Diagram) to other specific lauguage like C++ or PLC ST (Structured Text)language) when graph(Ladder Diagram) changed,corresponding text file(for my requirement is C++ or PLC ST) is changed rather than changing the text file lead to change the graph,can this project achieve similar requirement?
There are 2 issues with the tool pallette:
This is probably broken for a while already, or has never worked. In PR #28 I see the entity option is also not there.
When you open a form-view and refresh the browser, the form-view will be empty.
That is because this line in the form-editor-widget.tsx never finishes.
await this.formEditorService.open(uri);
The formEditorService(form-server) or the model server has not been initalized.
When moving any file of an open diagram perspective crashes the diagram
Steps to reproduce:
Experienced behaviour
The diagram notes 'Deleted' in the title and errors are shown the diagram can't be loaded.
Expected behaviour
The open diagram tab would be informed of the move somehow and keep the existing file open.
When writing a YAML file by hand, and you type the property name of a collection and then press 'Enter', to get to the next line the identation is not automatically done. You have to indent it yourself to get the right auto-completion.
Since within the grammer it is known that we just typed the name of a collection/array the LSP/editor should be aware that indentation needs to happen.
After indentation for a collection we always need to start with a '- ' the describe the item in the collection, which can also be automated.
When adding a new attribute using the entity form/property view the new attribute is created, but doesn't have an Id, so there is an error that the Id is missing.
Steps to reproduce
Expected behaviour
The Id should be in the form for now, maybe automatically populated based on the name?
Entity form/property view re-rendered on a change when text editor is open on same object
Steps to reproduce:
Issue experienced
Once you are done typing the form will automatically sync to the text perspective, after which the form is re-rendered.
The re-rendring of the form perspective shouldn't happen when the change comes from the form (cause when you keep typing in the form editor you will see changes disappear because of the re-rendering). Also the re-rendering causes the perspective to reset, so if you are on the 'Attributes' tab it jumps back to 'General'.
Expected behaviour
When a change originates from the form, the form itself should not be re-rendered.
When you open the graphical view of two different models, the application freezes most of the time.
Module not found: Error: Can't resolve 'utf-8-validate' in 'C:\Werkmappen\repos\crossmodel\node_modules@eclipse-glsp\server\node_modules\ws\lib'
Can't resolve 'bufferutil' in 'C:\Werkmappen\repos\crossmodel\node_modules@eclipse-glsp\server\node_modules\ws\lib'
These errors appear when you build crossmodel-lang
There is a new version of theia and glsp? The current application has to be updated to these versions.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.