Create a UML static structure diagram - Microsoft Support
文章推薦指數: 80 %
Use a static structure diagram to show a static view of a system's classes, their attributes and methods, and the relationships among objects. Skiptomaincontent Officesupport Products Microsoft365 Office Outlook MicrosoftTeams OneDrive OneNote Windows MicrosoftEdge more... Devices Surface PCaccessories Mobile Xbox HoloLens Hardwarewarranties What'snew InstallOffice Account&billing Account MicrosoftStore&billing Templates Moresupport Communityforums Microsoft365Admins SmallBusinessAdmins Developer Education Reportasupportscam VisioPremium2010Visio2010VisioStandard2010Visio2007More...Less Useastaticstructurediagramtoshowastaticviewofasystem'sclasses,theirattributesandmethods,andtherelationshipsamongobjects.Itgivesanoverviewofanapplication. Toaddattributes,operations,andotherpropertiestoclassshapes,double-clickashapetoopentheUMLClassPropertiesdialogbox. Double-clickanassociationtoaddadornments,suchasmultiplicityandnavigability. Inadditiontothenameandtypeshownhere,attributescanalsoincludevisibility,aninitialvalue,andspecifywhetherthescopeisclassorinstance. Definetheparametersofanoperationfullyinadiagramwhenyouwanttocommunicatedetailedprogrammingspecifications. Important: TheUMLstaticstructurediagramisnotavailableinVisio2013andnewerversions.Forinformation,seeUMLdiagramsinVisio. Startastaticstructurediagram SelectFile>New. UnderTemplateCategories,clickSoftwareandDatabase,andthenclickUMLModelDiagram. Inthetreeview,right-clickthepackageinwhichyouwanttoincludethestaticstructurediagram,pointtoNew,andclickStaticStructureDiagram. Ablankpageappears,andtheUMLStaticStructurestencilbecomesthetop-moststencil.Theworkspacedisplays'StaticStructure'asawatermark.Aniconrepresentingthediagramisaddedtothetreeview. Note: Ifthetreeviewisn'tvisible,pointtoViewontheUMLmenu,andthenclickModelExplorer. Dragclassorobjectshapesontothedrawingpagetorepresenttheclassesorobjectsyouwanttoincludeinyourclassstaticstructurediagramorconceptualmodel. WorkwithclassesandobjectsinUMLstaticstructurediagrams Double-clickeachshapetoopenitsUMLPropertiesdialogbox,whereyoucanaddattributes,operations,andotherproperties. Right-clickeachclassorobjectshape,andthenclickShapeDisplayOptionstoselectwhichpropertiestodisplayontheshapeandwhichcompartmentsoftheshapetosuppress(suchasattributes,operations,andtemplateparameters). IndicaterelationshipsbetweentheclassesandobjectsusingAssociation,Link,Dependency,Generalization,orCompositionshapes. WorkwithassociationsinUMLstaticstructurediagrams WorkwithdependenciesinUMLstaticstructurediagrams WorkwithgeneralizationsinUMLstaticstructurediagrams WorkwithlinksinUMLstaticstructurediagrams Double-clickeachrelationshipshape(Association,Link,Dependency,Generalization,orComposition)toopenitsUMLPropertiesdialogbox,whereyoucanaddassociationendadornmentsandotherproperties. CreatearealizesrelationshipbetweentwoelementsinaUMLstaticstructurediagram Inastaticstructurediagram,right-clickanyclassshape(Class,ParameterizedClass,UtilityorMetaClass),clickShapeDisplayOptions,andthen,underGeneralOptions,selectRealizationLink. Gluethecontrolhandlefortherealizationlinkonaclassshapetoaconnectionpointontheinterface,class,orotherelement. Needmorehelp? Expandyourskills EXPLORETRAINING> Getnewfeaturesfirst JOINMICROSOFTINSIDERS> Wasthisinformationhelpful? Yes No Thankyou!Anymorefeedback?(Themoreyoutellusthemorewecanhelp.) Canyouhelpusimprove?(Themoreyoutellusthemorewecanhelp.) Whataffectedyourexperience? Resolvedmyissue Clearinstructions Easytofollow Nojargon Pictureshelped Other Didn'tmatchmyscreen Incorrectinstructions Tootechnical Notenoughinformation Notenoughpictures Other Anyadditionalfeedback?(Optional) Submitfeedback Thankyouforyourfeedback! ×
延伸文章資訊
- 1Create a UML static structure diagram - Microsoft Support
Use a static structure diagram to show a static view of a system's classes, their attributes and ...
- 2UML - Class Diagram - Tutorialspoint
Class diagram is a static diagram. It represents the static view of an application. Class diagram...
- 3How to show usage of static methods UML Class Diagram
To show a static method you underline the name of the static method - have a look here for more d...
- 49.12. static Data And Functions
Denoting static features in a UML class diagram. The UML denotes static features by underlining t...
- 5UML類圖靜態方法依賴(UML class diagram static method ...
問題描述UML類圖靜態方法依賴(UML class diagram static method dependecy) 我有3 個類:A 類和B 類。它們有變量。C 類沒有變量,只有A 類和B 類...