Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Sirius » Messy diagram layout when creating programmatically representations
Messy diagram layout when creating programmatically representations [message #1857169] Fri, 20 January 2023 21:04
Christoforos Zolotas is currently offline Christoforos ZolotasFriend
Messages: 10
Registered: March 2015
Junior Member
Hello,

I have to create the diagrams of my meta-model instances programmatically, which I figured out how to do so browsing the forum, but the result is a diagram where all nodes are stacked one over the other (see attachment).

This happens no matter if I create the representations programmatically using

DialectManager.INSTANCE.createRepresentation(diagramTitle, rootObject, representationDescriptor, session, monitor);


or setting the "Initialisation" option in the viewpoint specification to true.

Any hints on:

1) Why is this happening and how to fix it (either programmatically or within the viewpoint specification) or
2) How could I programmatically call the "arrange all" action, given a DRepresentation?

Chris

[Updated on: Fri, 20 January 2023 21:06]

Report message to a moderator

Previous Topic:Create diagram programmatically
Next Topic:Moving from Sirius Desktop to Sirius Web
Goto Forum:
  


Current Time: Sat Apr 27 03:20:33 GMT 2024

Powered by FUDForum. Page generated in 0.02442 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top