rommuloifrn / nereid

📐 Diagram editor based on MermaidJS
1 stars 0 forks source link

Syntax error warning, size prolems #4

Open rommuloifrn opened 3 weeks ago

rommuloifrn commented 3 weeks ago

Whenever i render the diagram with my transpiled text, i get not only a warning but a limitation in size.

image

That only happens when i render it programmaticaly. When by the integration (AfterNextRender... see this with a text i leave there to test (currently it does not pulls the saved diagram at app start)) i have no such limitation in diagram window size.

image

For the warning, i think i may be doing something wrong with the transpilation.

For the size limitation, i think it could be relationed to the other problem and i should study better the MermaidJS configuration and the overall integration with Angular.

rommuloifrn commented 1 week ago

I already knew that i could just hide the warning and redefine the container size after every update, and now i decided that i will do it.

But, first, im gonna document the actual process up diagram update and its effects on the components and DiagramService. Right now i think this is a mess, but maybe making a sequence diagram could clarify things and help futher development.