Standalone Python functions in UML?

Philippe Martin pmartin at snakecard.com
Tue Apr 4 09:39:42 EDT 2006


Roman Susi wrote:

> Hi!
> 
> Out of curiosity, how do I draw functions outside classes with UML? How
> module could be drawn in this case?
> 
I'm not up to par on the latest UML specs (or not too old) - but I don't
believe UML handles that: it is called a class diagram after all.

> More theoretical question is if I create classes on the fly, how UML can
> reflect that?

You mean objects I think: by using a 0..n in you agregation ?

> 
> (I know that Python code itself is best at communication design ideas,
> but there are some people which prefer to talk UML.)
> 
> (Have not found anything relevant with google)
> 
> Thanks!
> 
> Regards,
> Roman Suzi

Regards,

Philippe




More information about the Python-list mailing list