How to represent Javascript object creation with an UML class diagram?

前端 未结 2 1052
闹比i
闹比i 2021-02-08 20:19

I\'m having some trouble drawing an accurate UML Class diagram for my JavaScript APP. I\'ve read several UML reference resources, but still didn\'t find an answer for my situati

相关标签:
2条回答
  • 2021-02-08 20:53
    • Let's show the main program as the class A.
    • Please, keep classes starting with large letter and members with small ones. Or it is hardly readable.
    • Many things is hard to say, not knowing what you mean. this is a stub of diagram: enter image description here

    And read that, please: https://stackoverflow.com/a/21551335/715269

    0 讨论(0)
  • 2021-02-08 20:55

    I would take a look at Object Playground.

    It will create a diagram that exactly shows what is going on in your JS object hierarchy.

    0 讨论(0)
提交回复
热议问题