You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by jo...@apache.org on 2020/04/07 13:40:03 UTC
[isis] branch ISIS-2324-Merge-kroviz updated: ISIS-2324
Documentation
This is an automated email from the ASF dual-hosted git repository.
joergrade pushed a commit to branch ISIS-2324-Merge-kroviz
in repository https://gitbox.apache.org/repos/asf/isis.git
The following commit(s) were added to refs/heads/ISIS-2324-Merge-kroviz by this push:
new a02c13e ISIS-2324 Documentation
a02c13e is described below
commit a02c13e8f01d77c044c43db3ee2d86a1419c0d4b
Author: Jörg Rade <jo...@kuehne-nagel.com>
AuthorDate: Tue Apr 7 15:39:33 2020 +0200
ISIS-2324 Documentation
---
incubator/clients/kroviz/docs/dev-mindmap.adoc | 4 +
incubator/clients/kroviz/docs/seq-aggregator.adoc | 13 +-
incubator/clients/kroviz/docs/seq-aggregator.png | Bin 286494 -> 309074 bytes
incubator/clients/kroviz/docs/uml-aggregator.png | Bin 0 -> 161326 bytes
incubator/clients/kroviz/docs/uml-layout.adoc | 145 +++-------------------
incubator/clients/kroviz/docs/uml-layout.png | Bin 234951 -> 26132 bytes
incubator/clients/kroviz/docs/uml-renderer.adoc | 61 +++++++++
incubator/clients/kroviz/docs/uml-renderer.png | Bin 0 -> 163215 bytes
8 files changed, 94 insertions(+), 129 deletions(-)
diff --git a/incubator/clients/kroviz/docs/dev-mindmap.adoc b/incubator/clients/kroviz/docs/dev-mindmap.adoc
index a21fee4..e389a1c 100644
--- a/incubator/clients/kroviz/docs/dev-mindmap.adoc
+++ b/incubator/clients/kroviz/docs/dev-mindmap.adoc
@@ -24,6 +24,10 @@
++++ npm
++++ git
++++ gradle
+++++ ssh
+++++ curl
+++++ yarn
+++++ mvn
++_ build
+++ Node.js
+++ gradle
diff --git a/incubator/clients/kroviz/docs/seq-aggregator.adoc b/incubator/clients/kroviz/docs/seq-aggregator.adoc
index a9b6ea0..645e6a9 100644
--- a/incubator/clients/kroviz/docs/seq-aggregator.adoc
+++ b/incubator/clients/kroviz/docs/seq-aggregator.adoc
@@ -4,21 +4,26 @@
@startuml
actor User
-participant "<<>>\nUI Manager" as UI
+participant "<<Singleton>>\nUI Manager" as UI
+participant "<<description>>\nLink" as LNK #LightBlue
participant "(Xml)HttpRequest" as XHR
participant "<<ChainOfResponsibility>>\nResponseHandler" as RH
participant "<<description>>\n<<EventStore>>\nLogEntry" as LE #LightBlue
-participant "<<description>>\nTransferObject" as TO #LightBlue
participant "<<moment-interval>>\nListAggregator" as AGGT #Pink
-participant "<<description>>\nLink" as LNK #LightBlue
participant "<<thing>>\n<<DisplayModel>>\nListDM" as DM #LightGreen
+participant "<<description>>\nTransferObject" as TO #LightBlue
User -> UI : listAll()
-UI -> XHR : listAll()
+UI -> LNK : invoke()
+LNK -> XHR : Invoke()
XHR -> RH : handle()
+activate RH
+RH -> RH : successor.handle()
+RH -> TO : parse()
RH -> AGGT : update(logEntry)
activate AGGT
RH -> LE : setAggegator()
+deactivate RH
AGGT -> AGGT : handleList()
activate AGGT
diff --git a/incubator/clients/kroviz/docs/seq-aggregator.png b/incubator/clients/kroviz/docs/seq-aggregator.png
index 9d70b3e..b37caf5 100644
Binary files a/incubator/clients/kroviz/docs/seq-aggregator.png and b/incubator/clients/kroviz/docs/seq-aggregator.png differ
diff --git a/incubator/clients/kroviz/docs/uml-aggregator.png b/incubator/clients/kroviz/docs/uml-aggregator.png
new file mode 100644
index 0000000..bc1ee32
Binary files /dev/null and b/incubator/clients/kroviz/docs/uml-aggregator.png differ
diff --git a/incubator/clients/kroviz/docs/uml-layout.adoc b/incubator/clients/kroviz/docs/uml-layout.adoc
index c1feba1..d46a261 100644
--- a/incubator/clients/kroviz/docs/uml-layout.adoc
+++ b/incubator/clients/kroviz/docs/uml-layout.adoc
@@ -1,130 +1,25 @@
-.Layout Transfer Objects
-[uml,file="uml-layout.png"]
+.Layout Composition
+[plantuml,file="uml-layout.png"]
--
-abstract class AbstractLayout {
- cssClass
- fromObject()
- build()
-}
+@startuml
+
+object root
+object row
+object col
+object fieldSet
+object action
+object tabGroup
+object tab
+
+root *- row
+row *- col
together {
- class DomainObjectLayout
- class ColLayout
- class Layout
- class MemberLayout
- class RowLayout
- class TabLayout
+ col *- fieldSet
+ col *-down- action
+ col *-down- tabGroup
}
-AbstractLayout <|-- DomainObjectLayout
-AbstractLayout <|-- ColLayout
-AbstractLayout <|-- FieldSetLayout
-AbstractLayout <|-- Layout
-AbstractLayout <|-- MemberLayout
-AbstractLayout <|-- RowLayout
-AbstractLayout <|-- TabLayout
+tabGroup *-down- tab
+tab *- row
-abstract class MemberLayout {
- metadataError
- link
- hidden
- promptStyle
-}
-
-class Layout {
- row
-}
-
-class RowLayout {
- cols
- metadataError
-}
-
-class ColLayout {
- metadataError
- size
- span
- unreferencedActions
- unreferencedCollections
- tabGroup
- fieldSet
-}
-
-class DomainObjectLayout {
- plural
- metadataError
- link
- bookmarking
-}
-ColLayout -> DomainObjectLayout : domainObject
-
-class FieldSetLayout {
- name
- action
- property
- metadataError
- unreferencedActions
- unreferencedCollections
-}
-
-class TabLayout {
- name
- row
-}
-
-class PropertyLayout {
- action
- labelPosition
- multiline
- renderAsDayBefore
- typicalLength
- unchanging
-}
-
-class ActionLayout {
- bookmarking
- position
-}
-
-MemberLayout <|-- ActionLayout
-MemberLayout <|-- PropertyLayout
-
-Layout -> RowLayout
-TabLayout -> RowLayout
-RowLayout -> ColLayout
-ColLayout -> FieldSetLayout
-ColLayout -> TabLayout
-
-FieldSetLayout -> ActionLayout
-FieldSetLayout -> PropertyLayout
-
-interface Named {
- named
- namedEscaped
- describedAs
-}
-MemberLayout -up-|> Named
-DomainObjectLayout -up-|> Named
-
-interface Identifyable {
- id
-}
-MemberLayout -up-|> Identifyable
-FieldSetLayout -up-|> Identifyable
-ColLayout -up-|> Identifyable
-RowLayout -up-|> Identifyable
-
-
-interface Styleable {
- cssClassFa
- cssClassFaPosition
-}
-Styleable <|-- ActionLayout
-Styleable <|-- DomainObjectLayout
-
-interface Errorprone {
- metadataError
-}
-Errorprone <|-- ColLayout
-Errorprone <|-- FieldSetLayout
-Errorprone <|-- MemberLayout
-Errorprone <|-- RowLayout
+@enduml
--
diff --git a/incubator/clients/kroviz/docs/uml-layout.png b/incubator/clients/kroviz/docs/uml-layout.png
index f27cf7f..f5bc658 100644
Binary files a/incubator/clients/kroviz/docs/uml-layout.png and b/incubator/clients/kroviz/docs/uml-layout.png differ
diff --git a/incubator/clients/kroviz/docs/uml-renderer.adoc b/incubator/clients/kroviz/docs/uml-renderer.adoc
new file mode 100644
index 0000000..2351ae2
--- /dev/null
+++ b/incubator/clients/kroviz/docs/uml-renderer.adoc
@@ -0,0 +1,61 @@
+.Renderer Diagram
+[plantuml,file="uml-renderer.png"]
+--
+@startuml
+
+abstract class Renderer {
+ iconName:String
+ title:String
+ view:RoView
+ protocol:Protocol
+}
+Renderer -right-> Protocol
+
+abstract class Protocol {
+ includes(propertyName:String)
+}
+
+Renderer <|-down- ObjectRdr
+Renderer <|-down- ListRdr
+ListRdr <|-down- GeoLocationRdr
+ListRdr <|-down- EventRdr
+
+abstract class RoView {
+}
+
+RoView <|-down- ObjectVw
+RoView <|-down- ListVw
+ListVw <|-down- GeoLocationVw
+ListVw <|-down- TimeLineView
+
+Renderer -left-> RoView
+
+class Exposer {
+ delegate:TransferObject
+}
+
+abstract class TransferObject #LightGreen {
+ properties:List<Property>
+}
+Exposer -left-> TransferObject
+class Property #LightBlue {
+ name: String
+ type: Class
+}
+TransferObject *-left- Property : has
+Exposer -down-> Protocol : delegate.conformsTo()
+
+class TimeLinePtc #LightBlue {
+start:DateTime
+end:DateTime
+duration:Double
+}
+class GeoLocationPtc #LightBlue {
+latitude:Double
+longitude:Double
+}
+Protocol <|-down- GeoLocationPtc
+Protocol <|-down- TimeLinePtc
+
+@enduml
+--
diff --git a/incubator/clients/kroviz/docs/uml-renderer.png b/incubator/clients/kroviz/docs/uml-renderer.png
new file mode 100644
index 0000000..e6dee7c
Binary files /dev/null and b/incubator/clients/kroviz/docs/uml-renderer.png differ