UML Static Structure Diagrams
From: Chris Anderson (cmanders_at_nospamplease.swiftdsl.com.au)
Date: 10/01/04
- Next message: Radek Cerny: "Re: UML Static Structure Diagrams"
- Previous message: Ben Lucas: "Re: Create code from model"
- Next in thread: Radek Cerny: "Re: UML Static Structure Diagrams"
- Reply: Radek Cerny: "Re: UML Static Structure Diagrams"
- Reply: Carlos Perez: "Re: UML Static Structure Diagrams"
- Messages sorted by: [ date ] [ thread ]
Date: Sat, 2 Oct 2004 00:07:17 +1000
Hi all
I'm struggling to create a decent static structure diagram in Visio for
Enterprise Architects 2003. There are a few things that I want to do but
don't seem to be able to, so I was hoping somebody might be willing to lend
me their expertise. I have a reasonably complex project in C# which I have
reverse engineered into Visio. There are multiple levels of namespaces,
each organised into folders in my project (which would then become packages
in UML). This all comes through to Visio without any trouble - it's just
when I start to create a diagram that the problems start.
1. The first thing I want to be able to do is to create a package diagram -
very high level. Because I essentially have packages within packages, I'd
like to be able to draw a large package, with those packages underneath it
in the hierarchy drawn within that package. However, the package shapes can
only have their width changed - not their height, thus making this
impossible. Can this be done?
2. I want to be able to draw classes within their associated package (as a
form of grouping them). It seems as though Visio expects you to create a
new page for each package, but some of my packages are small (and related),
so I think they should appear on the same page. Can this be done?
3. I have all my attributes and operations being displayed. I know you can
suppress these, but then you lose the box partitioned into 3 sections and
just get the top section with the heading. I want to do a high level class
diagram first, but still show the box with the 3 sections - is this
possible?
4. The next level of diagrams I want is a mid level diagram, showing only
public attributes and operations, not the private ones. So I want to
suppress the private attributes/operations only. Is this possible?
5. This one is not so much of an issue - more of a query. Should
properties really appear as operations? Logically to me I would have
thought they would be attributes. I know they can be seen as operations,
but if I were to classify them as being either attributes or operations, I'd
go for attributes instead. Why then are they operations in Visio?
I'm not totally familiar with UML, so I might be trying to do things that
you just aren't supposed to do - I don't know. There doesn't seem to be
much in the way of documentation of static structure diagrams beyond a basic
project with one namespace. I even got a book purely on the topic, but it
didn't have any complex projects like mine so didn't help either. Hopefully
someone might be able to point me in the right direction. Thanks in advance
for any helpful hints and tricks you might be able to provide.
Regards
Chris Anderson
- Next message: Radek Cerny: "Re: UML Static Structure Diagrams"
- Previous message: Ben Lucas: "Re: Create code from model"
- Next in thread: Radek Cerny: "Re: UML Static Structure Diagrams"
- Reply: Radek Cerny: "Re: UML Static Structure Diagrams"
- Reply: Carlos Perez: "Re: UML Static Structure Diagrams"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|