Monday, November 2, 2015

Group And Stack Your Diagram Elements With Sirius 3.1


Want to group diagram elements into vertical or horizontal stacks? Since Sirius 3.1, it is possible.

With Sirius 3.0, it was already possible to create compartments, but we had introduced it as an "experimental" feature since some behaviors were not supported yet. Now compartments are fully operational and a new tutorial is available.

Consider this diagram that represents persons and their parental relationships.


On this diagram, if you focus on Elias, you can directly see his parents (Paul and Isa) and his children (Bryan, Clara, Dave and Fiona). And, as you understand the semantic of the father and mother relationships, you can easily guess who is his sister (Léa), and who are his grandchildren (John, Mary, Sophia, Emma, Fred and Alain).

These relationships (siblings and grandchildren) could also be graphically represented with a derived link. 



But if you use edges to represent all the differents kinds of relationships, what you may finally get is a real spaghetti nightmare! 



To avoid overhelming the users with too many edges, Sirius 3 allows you to create containers with stacked compartments where you can group sub-nodes. You can also use compartments to better distinguish different kinds of sub-elements, like the UML notation where a Class displays attributes and operations in dedicated compartments.

Each compartment can be "fixed" (it is created only once within the container) or "dynamic" (its number within the container depends on the model).

To easily visualize all the different kinds of Elias' relations, rather than using edges, we can use a container with fixed compartments for both parents, siblings and children, and a dynamic compartment for the grandchildren that groups grandchildren by their parents.


This new diagram doesn't replace the first diagram with edges. It is just complementary, providing a more synthetical representation.

To get this new diagram, Sirius 3 has introduced two new options for children representation: "Horizontal Stack" and "Vertical Stack". These options define how sub-containers will be organized. 


Note that the Sirius editor disables these options if the container contains sub-nodes (only sub-containers can be used for a stack).

Note also that Sirius manages only one level of compartments. However, it is still possible to create several levels, but this remains an experimental feature.

To read more about these compartments, I have written a Compartments Tutorial that explains, step-by-step, how to create the example that illustrates this post.

Friday, September 11, 2015

SiriusCon Paris 2015: Be Part of the Program!



After a successful Sirius roadshow that led us to Toulouse, Paris, Munich and Montreal we have decided to go one step beyond with a bigger event: a one-day conference dedicated to Sirius!

SiriusCon will take place in Paris, the 3rd of December 2015.

You can already register on http://www.siriuscon.org/

Our objective is to offer an opportunity for Sirius fans to share best practices, insights, case studies, and innovations.

It will be a free event for both beginners and advanced Sirius users. The conference will be organized with two tracks mixing 30' presentations from both Sirius committers, case-studies from Sirius adopters and experimental developments from researchers.

What we can say right now is that there will be three special sessions in the program:

  • a presentation of recent new and noteworthy features of Sirius (3.0 released in June and 3.1 coming in November) and an overview of what's cooking for Sirius 4.0 (June 2016).
  • a tutorial to create, step-by-step, a modeling tool by yourself with the help of Sirius experts
  • a clinic where you can come with your own modeling tool and discuss with Sirius committers     about your problems.


You can still be part of the program: just submit an abstract of your talk to siriuscon@obeo.fr.

Call for Papers deadline is the 16th of October.