Closed phxnsharp closed 1 year ago
This shouldn't be the case ... https://raw.githubusercontent.com/structurizr/ui/main/examples/big-bank-plc.json
has no themes.
Add a person to the diagram. The person will show as a box instead of person unless you do this.
The Containers
diagram in that example already has a person on it.
Is this a problem with a workspace of your own, or does the examples/diagram-basic.html
file in the repo not work for you?
I do not reproduce the problem in the sample repo here. I am using this from a Hugo static site, so the race condition must be quite different. I do not at this time have a reproduction recipe I can share. If I have time I can try to create one.
In order for documents to draw correctly, you need to wait for the themes to load before loading the diagram.
https://github.com/structurizr/ui/blob/ab04e8982bb7e3d016b30dc48dd1e21890b30333/examples/diagram-basic.html#L34