-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #105 from eclipse-tractusx/chore/update-mermaid-files
chore: update mermaid files
- Loading branch information
Showing
4 changed files
with
119 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,99 @@ | ||
classDiagram | ||
%%CompanyUser | ||
class CompanyUser { | ||
name: String+ | ||
email: String+ | ||
company: String+ | ||
} | ||
%%Country | ||
class Country { | ||
country: String+ | ||
iso2: String | ||
iso3: String | ||
continent: String | ||
} | ||
%%DataSource | ||
class DataSource { | ||
dataSourceName: String+ | ||
type: Type+ | ||
yearPublished: Integer+ | ||
fileName: String | ||
createDate: Instant | ||
} | ||
%%Range | ||
class Range { | ||
range: RangeType+ | ||
value: Integer+ | ||
description: String | ||
} | ||
%%File | ||
class File { | ||
fileName: String+ | ||
content: Blob | ||
createDate: Instant | ||
createdBy: String | ||
version: Float | ||
} | ||
|
||
%%Region | ||
class Region { | ||
name: String+ | ||
type: Type | ||
description: String | ||
} | ||
%% Report | ||
class Report { | ||
reportName: String | ||
companyUserName: String | ||
company: String | ||
type: Type | ||
createDate: Instant | ||
createdBy: String | ||
} | ||
%% DataSourceValue | ||
class DataSourceValue { | ||
country: String+ | ||
iso2: String | ||
iso3: String | ||
continent: String | ||
score: Float | ||
} | ||
%% RangeType | ||
class RangeType { | ||
enum | ||
MAX() | ||
Between() | ||
Min() | ||
} | ||
%% Type | ||
class Type { | ||
enum | ||
Global() | ||
Company() | ||
Custom() | ||
} | ||
%% RegionValue | ||
class RegionValue { | ||
country String | ||
iso2 String | ||
iso3 String | ||
continent String | ||
} | ||
%% ReportValues | ||
class ReportValues { | ||
name String | ||
value String | ||
} | ||
|
||
%% Relations | ||
CompanyUser --o DataSource | ||
CompanyUser --o Range | ||
CompanyUser "1" --o "1..*" File | ||
CompanyUser --o Region | ||
DataSource --o DataSourceValue | ||
DataSource ..o "1..*" Type | ||
Range ..> RangeType | ||
Region ..> Type | ||
Region --o "1..*" RegionValue | ||
Report ..> Type | ||
Report --o "1..*" ReportValues |
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
graph TD | ||
%% Scenario 1: Data Provision | ||
subgraph S1["Scenario 1: Data Provision"] | ||
OtherEDCSystems[("Other EDC Systems")]:::otherStyle -->|consumes data from| EDCProviderCR[("Country Risk EDC Provider")]:::providerStyle | ||
EDCProviderCR -->|requests data from| CRApp[("Country Risk Application")]:::appStyle | ||
end | ||
|
||
%% Scenario 2: Data Consumption | ||
subgraph S2["Scenario 2: Data Consumption"] | ||
CRApp2[("Country Risk Application")]:::appStyle -->|consumes data from| EDCC[("Country Risk EDC Consumer")]:::consumerStyle | ||
EDCC -->|requests data from| EDCGateProvider[("EDC Gate Provider")]:::gateStyle | ||
EDCGateProvider -->|requests data from| BPDM[("BPDM Application")]:::bpdmStyle | ||
end | ||
|
||
classDef appStyle fill:#ffcccc,stroke:#333,stroke-width:4px; | ||
classDef providerStyle fill:#ccffcc,stroke:#333,stroke-width:4px; | ||
classDef consumerStyle fill:#ccccff,stroke:#333,stroke-width:4px; | ||
classDef otherStyle fill:#fff0b3,stroke:#333,stroke-width:4px; | ||
classDef gateStyle fill:#f0b3ff,stroke:#333,stroke-width:4px; | ||
classDef bpdmStyle fill:#ffffb3,stroke:#333,stroke-width:4px; |