-
Notifications
You must be signed in to change notification settings - Fork 28
docs: add architecture overview (Mermaid) and link from README #391
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from 2 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,27 @@ | ||
| # Canton Architecture Overview | ||
|
|
||
| This page gives a high-level view of key components and how they interact. | ||
|
|
||
| ```mermaid | ||
| flowchart LR | ||
| subgraph Domain["Synchronization Domain"] | ||
| SQ[Sequencer]:::comp | ||
| MED[Mediator]:::comp | ||
| TM[Topology Mgmt]:::comp | ||
| end | ||
|
|
||
| PN1[Participant Node A]:::node -->|Authenticated messages| SQ | ||
| PN2[Participant Node B]:::node -->|Authenticated messages| SQ | ||
|
|
||
| SQ --> MED | ||
|
||
| MED --> SQ | ||
|
|
||
| subgraph Ext["Other Domain / External Ledger"] | ||
|
||
| X1[Participant Node / Bridge] | ||
| end | ||
|
|
||
| PN1 <--> PN2 | ||
|
||
| SQ <--> X1 | ||
|
|
||
| classDef comp fill:#eee,stroke:#999,color:#000; | ||
| classDef node fill:#f7f7f7,stroke:#777,color:#000; | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
in Canton 3.x there is no more topology manager
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot, @soren-da, for the detailed feedback and clarification! 🙏
I completely understand, keeping the high-level architecture docs in a separate repository makes perfect sense for consistency.
I’ll close this PR and explore contributing to the external documentation repo instead.
Appreciate your time and clear explanations - this was a great learning step to better understand Canton’s architecture.
If you’re open to suggestions, I’d be happy to help improve the section you linked (especially around synchronization domains and node interactions).
Would it be best to open an issue or a PR in that docs repository?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed the topology manager reference from the diagram.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just merged a PR that includes the canton docs sources in this repo too, you can find them under https://github.com/digital-asset/canton/tree/main/docs-open/src/sphinx . It's unfortunately not the complete tooling for building the docs, but smaller changes to the text, graphics, or mermaid diagrams are still possible. I'd definitely appreciate it if you would like to contribute on improving the docs and open a PR 🙏