When I create diagram as code using the new mermaid functionality in Lucidchart, and then import it into a Google Doc using the official Lucidchart integration, the text on the diagram is not displayed in Google docs.
This was also reported here, but that question is marked as answered, without a solution to the text problem.
Example diagram:
stateDiagram-v2
[*] --> state1: The first state
state1 --> state2: The second state
state2 --> [*]: The end state
note right of state2
This is a note
on the right side
end note