![]() ![]() The language is somewhat C-like but is limited to quite a small subset of control structures and it offers a number of build-in graphic drawing methods. Shape Scripts in Enterprise Architect are a way to assign individual shapes to stereotyped elements and connectors. The names of actual companies and products mentioned herein may be the trademarks of their respective owners. Having said this, all information presented here is subject to change without notice. However, I’d be glad to receive any kind of feedback to correct future updates of this book which you will receive for free in turn. Copyright and DisclaimerĪlso all of the information in this book has been tested by me in many circumstances I can not hold any liability for use of the here presented information 2. Quite some MDGs being delivered with Enterprise Architect use this technique. These can be used to show different shapes and/or text in the element. Any stereotypes defined therein come along with a number of stereotype properties (aka. The only ways out are to either use less or no Shape Scripts or to reduce the number of elements that appear on a single diagram.Īnyhow, a common use of Shape Script is in combination with MDG Technology files. Depending on the number of elements and the comlexity of the Shape Scripts the rendering time for a diagram might increase significantly. So for every shape that needs to be drawn EA will look into the script and do some magic. However, if you are forced to write your own shapes I hope this book will help you to get it done quickly.Īnd one warning on top: Shape Scripts are interpreted while EA renders a diagram. Dadaism like that on the cover page is possible but in most cases non-sense. If possible do not use it at all (sic!), since standard UML is understood by more people than individual characteristics possibly produced by Shape Script. I marked those strange places with YAEAB (Yet Another EA Bug).Īlthough Shape Script allows for quite complex graphic caprioles you are strongly encouraged to stick to the simplest possible minimum. I do not dare to ask whether Sparx has a testing team at all. While assembling this book I took a tour through a lot of corners which seemingly had not been visited by other adventurers. It offers a step by step introduction, a lot of examples and quite some tricks you need to know when using Shape Scripts. This book is intended as tutorial and reference for the Shape Script language. As the name suggest you will find a scripting language which allows you to define the shape of elements and even connectors. In that case Enterprise Architect 1 offers a nice feature which is called Shape Script. That is something resembling a technical device rather than a rectangle or a stickman. Sometimes – or even often – you need different shapes than those from standard UML. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |