Create a UML static structure diagram - Microsoft Support

文章推薦指數: 80 %
投票人數:10人

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! ×



請為這篇文章評分?