update UML
This commit is contained in:
parent
662031c632
commit
9874fb8843
1 changed files with 23 additions and 49 deletions
|
@ -1,5 +1,5 @@
|
||||||
@startuml
|
@startuml
|
||||||
class Section {
|
class Level {
|
||||||
name: str
|
name: str
|
||||||
altitude: Decimal
|
altitude: Decimal
|
||||||
}
|
}
|
||||||
|
@ -10,69 +10,52 @@ class Source {
|
||||||
left: Decimal
|
left: Decimal
|
||||||
top: Decimal
|
top: Decimal
|
||||||
right: Decimal
|
right: Decimal
|
||||||
image: file
|
|
||||||
}
|
}
|
||||||
|
|
||||||
abstract class GeometryMixin {
|
abstract class GeometryMixin {
|
||||||
geometry:
|
geometry:
|
||||||
}
|
}
|
||||||
|
|
||||||
abstract class SectionGeometryMixin {
|
abstract class LevelGeometryMixin {
|
||||||
}
|
}
|
||||||
GeometryMixin <|-- SectionGeometryMixin
|
GeometryMixin <|-- LevelGeometryMixin
|
||||||
Section "1" *-- "*" SectionGeometryMixin: section
|
Level "1" *-- "*" LevelGeometryMixin: section
|
||||||
|
|
||||||
class Building {
|
class Building {
|
||||||
geometry: polygon
|
geometry: polygon
|
||||||
}
|
}
|
||||||
SectionGeometryMixin <|-- Building
|
LevelGeometryMixin <|-- Building
|
||||||
|
|
||||||
class Category << (E,#FF7700) >> {
|
|
||||||
<i>empty string</i>
|
|
||||||
stairs
|
|
||||||
escalator
|
|
||||||
elevator
|
|
||||||
}
|
|
||||||
|
|
||||||
class Level << (E,#FF7700) >> {
|
|
||||||
<i>empty string</i>
|
|
||||||
upper
|
|
||||||
lower
|
|
||||||
}
|
|
||||||
|
|
||||||
class Space {
|
class Space {
|
||||||
geometry: polygon
|
geometry: polygon
|
||||||
public: bool
|
public: bool
|
||||||
}
|
}
|
||||||
SectionGeometryMixin <|-- Space
|
LevelGeometryMixin <|-- Space
|
||||||
Category "1" <-- Space: category
|
|
||||||
Level "1" <-- Space: level
|
|
||||||
|
|
||||||
class Door {
|
class Door {
|
||||||
geometry: polygon
|
geometry: polygon
|
||||||
}
|
}
|
||||||
SectionGeometryMixin <|-- Door
|
LevelGeometryMixin <|-- Door
|
||||||
Level "1" <-- Door: level
|
|
||||||
|
|
||||||
class Hole {
|
|
||||||
geometry: polygon
|
|
||||||
}
|
|
||||||
SectionGeometryMixin <|-- Hole
|
|
||||||
|
|
||||||
abstract class SpaceGeometryMixin {
|
abstract class SpaceGeometryMixin {
|
||||||
}
|
}
|
||||||
GeometryMixin <|-- SpaceGeometryMixin
|
GeometryMixin <|-- SpaceGeometryMixin
|
||||||
Space "1" *-- "*" SpaceGeometryMixin: space
|
Space "1" *-- "*" SpaceGeometryMixin: space
|
||||||
|
|
||||||
|
class Hole {
|
||||||
|
geometry: polygon
|
||||||
|
}
|
||||||
|
SpaceGeometryMixin <|-- Hole
|
||||||
|
|
||||||
class Area {
|
class Area {
|
||||||
geometry: polygon
|
geometry: polygon
|
||||||
}
|
}
|
||||||
SpaceGeometryMixin <|-- Area
|
SpaceGeometryMixin <|-- Area
|
||||||
|
|
||||||
class Point {
|
class POI {
|
||||||
geometry: point
|
geometry: point
|
||||||
}
|
}
|
||||||
SpaceGeometryMixin <|-- Point
|
SpaceGeometryMixin <|-- POI
|
||||||
|
|
||||||
class Stair {
|
class Stair {
|
||||||
geometry: linestring
|
geometry: linestring
|
||||||
|
@ -101,17 +84,22 @@ abstract class SpecificLocation {
|
||||||
|
|
||||||
}
|
}
|
||||||
SpecificLocation --|> Location
|
SpecificLocation --|> Location
|
||||||
Section --|> SpecificLocation
|
Level --|> SpecificLocation
|
||||||
Space --|> SpecificLocation
|
Space --|> SpecificLocation
|
||||||
Area --|> SpecificLocation
|
Area --|> SpecificLocation
|
||||||
Point --|> SpecificLocation
|
POI --|> SpecificLocation
|
||||||
|
|
||||||
|
class LocationGroupCategory {
|
||||||
|
name: str
|
||||||
|
titles: dict
|
||||||
|
}
|
||||||
|
|
||||||
class LocationGroup {
|
class LocationGroup {
|
||||||
compiled_room: bool
|
|
||||||
compiled_area: bool
|
|
||||||
}
|
}
|
||||||
LocationGroup --|> Location
|
LocationGroup --|> Location
|
||||||
SpecificLocation "*" --o "*" LocationGroup: groups
|
SpecificLocation "*" --o "*" LocationGroup: groups
|
||||||
|
LocationGroup "*" --o "1" LocationGroupCategory: category
|
||||||
|
|
||||||
class LocationSlug {
|
class LocationSlug {
|
||||||
slug: str
|
slug: str
|
||||||
|
@ -119,20 +107,6 @@ class LocationSlug {
|
||||||
|
|
||||||
Location "1" -- "1" LocationSlug
|
Location "1" -- "1" LocationSlug
|
||||||
|
|
||||||
class GraphNode {
|
|
||||||
x: int
|
|
||||||
y: int
|
|
||||||
transfer: bool
|
|
||||||
desc: json
|
|
||||||
}
|
|
||||||
Space "1" *-- "*" GraphNode: space
|
|
||||||
|
|
||||||
class GraphLine {
|
|
||||||
category: str
|
|
||||||
}
|
|
||||||
GraphNode "1" *-- "*" GraphLine: start
|
|
||||||
GraphNode "1" *-- "*" GraphLine: end
|
|
||||||
|
|
||||||
hide methods
|
hide methods
|
||||||
|
|
||||||
@enduml
|
@enduml
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue