By Mélanie Bats on Friday, 15 April 2022
Category: Blog

That comes in spring: Sirius Web 2022.3.0!

We planted the seed of the new Eclipse Sirius Web and OCP’s 2022.3.0 release a few weeks ago and now the first buds appear! You are at the right place to discover the new Sirius capabilities (and poor you… the new fresh soundtrack coming along!).

Components diagrams

I can see clearly now the rain is gone
I can see all the obstacles in my way
Gone are the dark clouds that had me blind

—Jimmy Cliff, Bright sunshiny day

With Sirius Web, we aim to provide a smooth user experience, to smoothly edit, move, reconnect and layout diagrams. During this iteration, the team focused its efforts on removing all the obstacles to create and support component-like diagrams with ports.

This release improves lots of small things to make it possible to create such diagrams:

Notice that some more improvements will come in the next release mostly around bendpoints’ support to better manage edges’ layout.

Tables!

Put all your weight on me
And i'll be the stone that you need me to be

—Jaymes Young, Stone

The laying of the first foundation stone is done. We introduced a new kind of representation to represent tables. For instance, this kind of table can be defined programmatically in order to display the childs of a model element.

By default, this table component comes with:

Some additional features will soon be ready and we are cooking something really cool for the next release about tables! Stay tuned!

That comes in spring ❤️

What is this thing
That comes in spring
That gives us all the itch?
Oh, it’s love, it’s love, it’s love love love love love...

—Charlie Chaplin, Spring song

Spring is the season of love, love is around! And you know that love is not only great demonstrations but above all, lots of small attentions… hence we gave our love to many little things in Sirius Web during this iteration:

 

We improved as well the compatibility layer which allows to reuse Sirius Desktop specification files aka odesign. We:

 

Finally, we added the ability to export diagrams as SVG images.

Reduce, Reuse, Recycle!

Reduce, Reuse, Recycle.
It's very easy to do.

—The Kiboomers, Reduce Reuse Recycle song

Sirius Web comes with a default application but above all it relies on many reusable components. As I explained in my previous post, Sirius Web depends on the Sirius Components. For a clearer status about what is part of these reusable components and what is part of the default sample application, we renamed the namespaces of the projects from sirius-web-xxx to sirius-components-xxx. The projects sirius-web-api and sirius-web-core-api have been merged into sirius-components-core since there was no difference in scope between both projects and neither of them was strictly limited to an API. Since we have validated that most of our projects can be reused outside of a Spring environment (i.e. an environment where Spring Frameworks is in charge of the ApplicationContext), we have removed the -spring- part from most of our project names.

Other enhancements developed by the team during this iteration were around the workbench. We went one step further for the one who wants to reuse the Sirius Web workbench to build their own application. The integration of the details view in the workbench is not limited to semantic objects anymore. Now, any object can be used as the input of the details view and we provide the identifier of all the objects in the selection. This may include graphical elements such as nodes, edges, representations or anything selected in the explorer for example.

Moreover, the workbench no longer hard-codes the views which are visible in the left and right side-panels. Instead, each application must explicitly configure its workbench using the new WorkbenchViewContribution element. The team uses the Architecture Decision Records to document all the decisions made during the project life by the team. For example, for this one you can see ADR-046 for more details.

Next

To conclude, what’s on the table for the next release?

As usual, a detailed release notes for 2022.3.0 is available on our online documentation: http://docs.obeostudio.com.

Again, all these changes are made available thanks to our precious’ customers sponsoring the Sirius Web open source project! Do not hesitate to join the party and become a Sirius Web supporter, it is as easy as sending me an email, or contact the team.

See you soon for the next Sirius Web and OCP release!

Original link