Book a Demo

Author Topic: Diagram compartment for Packages  (Read 8210 times)

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Diagram compartment for Packages
« on: October 20, 2015, 07:23:24 pm »
We've decided to move the VAST bulk of our objects into a specific branch for them and the diagrams remain in other branches.  One thing we've noticed is that there's no way to indicate the diagrams within a package within the package rendering.

Could an additional option be made available on the Feature and Compartment Visibility [Ctrl+SHift+Y] dialog - specifically for packages that says [ ] Show Diagram?

Perhaps, a new Diagrams compartment would be useful?


Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

Uffe

  • EA Practitioner
  • ***
  • Posts: 1859
  • Karma: +133/-14
  • Flutes: 1; Clarinets: 1; Saxes: 5 and counting
    • View Profile
Re: Diagram compartment for Packages
« Reply #1 on: October 20, 2015, 07:39:06 pm »
+1
My theories are always correct, just apply them to the right reality.

Glassboy

  • EA Practitioner
  • ***
  • Posts: 1367
  • Karma: +112/-75
    • View Profile
Re: Diagram compartment for Packages
« Reply #2 on: October 21, 2015, 02:26:49 pm »
Could you use a "Package as List" ModelView and change what it's displaying?

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Diagram compartment for Packages
« Reply #3 on: October 21, 2015, 02:37:23 pm »
Quote
Could you use a "Package as List" ModelView and change what it's displaying?
Hi Glassboy,

As a VERY temporary work-around it can be done.  You need to "twiddle" the Custom SQL, but it's doable.  However, you don't get to see the other compartments - which was the reason for my request.  In other words, in this rendering,  it's not a coherent object on the diagram.

But thanks for the pointer!

Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

skiwi

  • EA Expert
  • ****
  • Posts: 2081
  • Karma: +46/-82
    • View Profile
Re: Diagram compartment for Packages
« Reply #4 on: December 11, 2015, 07:57:09 am »
+1

and also represent package as a box, rather than a  tabbed entity
Orthogonality rules
Position and Team disestablished, thanks austerity.
Now itinerant.

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Diagram compartment for Packages
« Reply #5 on: December 14, 2015, 10:50:29 am »
Quote
+1

and also represent package as a box, rather than a  tabbed entity
Do you mean provide "Rectangle Notation" for a package?

Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

skiwi

  • EA Expert
  • ****
  • Posts: 2081
  • Karma: +46/-82
    • View Profile
Re: Diagram compartment for Packages
« Reply #6 on: December 14, 2015, 11:12:11 am »
Quote
Do you mean provide "Rectangle Notation" for a package?
That's what I wanted to say  [smiley=dankk2.gif]
Orthogonality rules
Position and Team disestablished, thanks austerity.
Now itinerant.

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Diagram compartment for Packages
« Reply #7 on: December 14, 2015, 07:00:31 pm »
Quote
Quote
Do you mean provide "Rectangle Notation" for a package?
That's what I wanted to say  [smiley=dankk2.gif]
+1

Yes, the standard method for getting the [ ] Use Rectangle Notation for a vertex (via shapescript) doesn't work for packages...

Even if you "jam" the DB with the appropriate ObjectStyle value, it won't render as Rectangle Notation.

Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

Glassboy

  • EA Practitioner
  • ***
  • Posts: 1367
  • Karma: +112/-75
    • View Profile
Re: Diagram compartment for Packages
« Reply #8 on: December 15, 2015, 07:06:22 am »
Quote

Yes, the standard method for getting the [ ] Use Rectangle Notation for a vertex (via shapescript) doesn't work for packages...


Paolo what do you mean by the term vertex?  Your context seems to be for a shape not the corner of a shape which confuses me.

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Diagram compartment for Packages
« Reply #9 on: December 15, 2015, 10:52:46 am »
Quote
Quote

Yes, the standard method for getting the [ ] Use Rectangle Notation for a vertex (via shapescript) doesn't work for packages...


Paolo what do you mean by the term vertex?  Your context seems to be for a shape not the corner of a shape which confuses me.
Unfortunate that there are dual applications of the term vertex in this context.  I meant the shapes that are vertices of the graph that is the diagram, not the shapes that are the arcs of the same graph.

It's really hard to get a clear vocabulary since all the terms overlap so much.

Both shapes that are vertices of the graph that is the diagram, and the shapes that are the arcs of the same graph are UML Elements (although Sparx separates them prematurely - in my view).

Since the shapes (of both kinds) are also graphs, it's a bit recursive.  I use way-points for the shape vertices.

Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!