Différences entre les versions de « Utilisateur:Tenbergen/mermaid ER Diagram underscore in entity name breaks graph »
De Semantic MediaWiki - Sandbox
m (Fixed description) Balise : Éditeur de wikicode 2017 |
m (issue report link) |
||
Ligne 1 : | Ligne 1 : | ||
+ | This is an example for issue report https://github.com/SemanticMediaWiki/Mermaid/issues/79 . | ||
+ | |||
+ | |||
The following sample code is taken straight from https://mermaid-js.github.io/mermaid/#/entityRelationshipDiagram . It should show a car and person example, but nothing is listed when entity name "CAR" is changed to "C_AR", which is allowed syntax as per mermaidjs.github.io/, and which works in [https://mermaid.live/edit#eyJjb2RlIjoiZXJEaWFncmFtXG4gICAgQ19BUiB8fC0tb3sgTkFNRUQtRFJJVkVSIDogYWxsb3dzXG4gICAgQ19BUiB7XG4gICAgICAgIHN0cmluZyByZWdpc3RyYXRpb25OdW1iZXJcbiAgICAgICAgc3RyaW5nIG1ha2VcbiAgICAgICAgc3RyaW5nIG1vZGVsXG4gICAgfVxuICAgIFBFUlNPTiB8fC0tb3sgTkFNRUQtRFJJVkVSIDogaXNcbiAgICBQRVJTT04ge1xuICAgICAgICBzdHJpbmcgZmlyc3ROYW1lXG4gICAgICAgIHN0cmluZyBsYXN0TmFtZVxuICAgICAgICBpbnQgYWdlXG4gICAgfSIsIm1lcm1haWQiOiJ7XG4gIFwidGhlbWVcIjogXCJkYXJrXCJcbn0iLCJ1cGRhdGVFZGl0b3IiOmZhbHNlLCJhdXRvU3luYyI6dHJ1ZSwidXBkYXRlRGlhZ3JhbSI6ZmFsc2V9 the live editor]. | The following sample code is taken straight from https://mermaid-js.github.io/mermaid/#/entityRelationshipDiagram . It should show a car and person example, but nothing is listed when entity name "CAR" is changed to "C_AR", which is allowed syntax as per mermaidjs.github.io/, and which works in [https://mermaid.live/edit#eyJjb2RlIjoiZXJEaWFncmFtXG4gICAgQ19BUiB8fC0tb3sgTkFNRUQtRFJJVkVSIDogYWxsb3dzXG4gICAgQ19BUiB7XG4gICAgICAgIHN0cmluZyByZWdpc3RyYXRpb25OdW1iZXJcbiAgICAgICAgc3RyaW5nIG1ha2VcbiAgICAgICAgc3RyaW5nIG1vZGVsXG4gICAgfVxuICAgIFBFUlNPTiB8fC0tb3sgTkFNRUQtRFJJVkVSIDogaXNcbiAgICBQRVJTT04ge1xuICAgICAgICBzdHJpbmcgZmlyc3ROYW1lXG4gICAgICAgIHN0cmluZyBsYXN0TmFtZVxuICAgICAgICBpbnQgYWdlXG4gICAgfSIsIm1lcm1haWQiOiJ7XG4gIFwidGhlbWVcIjogXCJkYXJrXCJcbn0iLCJ1cGRhdGVFZGl0b3IiOmZhbHNlLCJhdXRvU3luYyI6dHJ1ZSwidXBkYXRlRGlhZ3JhbSI6ZmFsc2V9 the live editor]. | ||
Dernière version du 16 novembre 2021 à 23:31
This is an example for issue report https://github.com/SemanticMediaWiki/Mermaid/issues/79 .
The following sample code is taken straight from https://mermaid-js.github.io/mermaid/#/entityRelationshipDiagram . It should show a car and person example, but nothing is listed when entity name "CAR" is changed to "C_AR", which is allowed syntax as per mermaidjs.github.io/, and which works in the live editor.