Skip to content

Commit

Permalink
[issue #17]Refactoring 2024 (daily commit)
Browse files Browse the repository at this point in the history
  • Loading branch information
SyureOjisan committed Jan 29, 2024
1 parent e4c9dd3 commit 1dfdf28
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 13 deletions.
29 changes: 16 additions & 13 deletions uml/wmsu_class(refactoring_2024).md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
```mermaid
classDiagram
RootSourceCollectionList o--> ASourceCollection
RootSourceCollections o--> ASourceCollection
ASourceCollection o-->"recursively" ASourceCollection
ASourceCollection <|-- RootSourceCollection
ASourceCollection <|-- NullSourceCollection
ASourceCollection <|-- SourceCollection
Expand All @@ -18,7 +18,9 @@
SourceObject ..>"create" SetupObject
ReleaseCollectionList "1"o-->"1..*" AReleaseCollection
ASourceCollection ..>"use" AReleaseCollection
ReleaseCollections "1"o-->"1..*" AReleaseCollection
AReleaseCollection <|-- ReleaseCollection
ReleaseCollection "1"o-->"1..*" ReleaseObject
Expand All @@ -31,10 +33,11 @@
AReleaseObject <|-- ReleaseObject
AReleaseObject <|-- SubReleaseObject
Translator o--> ReleaseCollectionList
Translator o--> ReleaseCollections
Translator o--> MaterialTranslator
Translator o--> ANameTranslator
Translator o--> ContainerCollection
Translator ..>"use" AReleaseCollection
Translator ..>"create" AFinalObject
ANameTranslator <|-- BoneGroupTranslator
Expand Down Expand Up @@ -68,15 +71,15 @@
CollectionUtils "use"<.. ContainerCollection
CollectionUtils "use"<.. AFinalCollection
class RootSourceCollectionList
RootSourceCollectionList: list_of_ASourceCollection member
RootSourceCollectionList: update() RootSourceCollectionList
RootSourceCollectionList: queue()
RootSourceCollectionList: setup() list_of_AReleaseObject
class RootSourceCollections
RootSourceCollections: list_of_ASourceCollection member
RootSourceCollections: update() RootSourceCollections
RootSourceCollections: queue() list_of_ASourceCollection
RootSourceCollections: setup() list_of_AReleaseObject
class ASourceCollection
<<Abstract>> ASourceCollection
ASourceCollection: list_of_ASourceCollection children
ASourceCollection: ASourceCollection parent
ASourceCollection: "bpy.types.Collection" -real
ASourceCollection: list_of_SourceObject objects
ASourceCollection: setup() AReleaseObject
Expand Down Expand Up @@ -108,9 +111,9 @@
AReleaseCollection: update() AReleaseCollection
AReleaseCollection: find_object() AReleaseObject
class ReleaseCollectionList
ReleaseCollectionList
ReleaseCollectionList: update() ReleaseCollectionList
class ReleaseCollections
ReleaseCollections
ReleaseCollections: update() ReleaseCollections
class ReleaseObject
<<ValueObject>> ReleaseObject
Expand Down
13 changes: 13 additions & 0 deletions uml/wmsu_sequence(refactoring_2024).md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
```mermaid
sequenceDiagram
participant roots as RootSourceCollections
participant src as ASourceCollection
participant srcobj as SourceObject
roots ->>+ src: コレクションを更新
src ->>+ src: 再帰処理
loop コレクション内のオブジェクト数
src ->>+ srcobj: ソースオブジェクトを更新
srcobj ->>- src: 更新後のソースオブジェクト
end
src -->>- roots : 更新後のコレクション
```

0 comments on commit 1dfdf28

Please sign in to comment.