I use MermaidJS for flow chart and Sequence diagram. They have C4 in beta. I tried and it is hard adjust the layout and many features are not supported for C4 yet.
Visual Studio has good support for MermaidJS. https://mermaid.js.org/intro/
Visual Studio has good support for MermaidJS. https://mermaid.js.org/intro/