We sometimes use Monodraw [1] for that in our team and it really made a difference. It's always great to get a top-down perspective on the topology / architecture at the beginning of a complex program.
[1] https://monodraw.helftone.com
Example copied from a program that fetches data from somewhere and prepares it and mounts it as a fuse file system:
/*
┌─────────────────────────────────────┐
│ ┌─────────────┐│
│ │ ││
│ ┌──memory───◀───┼───┬──────┐ ││
│ │main thread│ │ │parser│ ││
│ └───────────┴───┼───▶──────┘ ││
│ │ ▲ │ │ ▲ ││
│ │ │ │ │ │ ││
│ │ │ │ │ │ ││
│ ▼─│ │ │ │ ││
│ ;20s: │ │ │ ││
│ : ; │ │ │ ││
│ ╲ ▲ │ ▼─│ ││
│ │'│ └────;120s────┘│
│┌─────────┼─┼────────┐ ┌──▶: ;───┐ │
││ ┌────▼─┴────┐ │ │ ╲ ╱ │ │
││ │fast memory│ │ │ ' │ │
││ │main thread│ │ │ Λ │ │
││ └─┬───────▲─┘ │ │ ╱ ╲ │ │
││ │ │ │ │ ╱ ╲ │ │
││ ┌─▼─fuse──┴─┐ │ └── ◀─┘ │
││ │controller │ │ beacon │
││ └─┬───────▲─┘ │ ╲ ╱ │
││ │ │ │ V │
│└──────┼───────┼─────┘ │
│┌──────▼───────┴─────┐ │
││ fuse <> kernel │ │
│└────────────────────┘ │
└─────────────────────────────────────┘
*/
(screenshot of comment without the HN formatting issues: https://i.imgur.com/YOaysWn.png)