Horizontal centering for multi-line text
- Langage dominant
- JavaScript
- Étoiles
- 8.7k
- Forks
- 1.2k
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
Hello, is it possible to adjust the horizontal centering for text spread over several lines? By default, such text is left aligned and therefore the spacing between the text and the frame is asymmetrical (unlike frames containing a single line of text), as in the capture below:

By hand I changed the text-anchor property from start to middle and adjusted the start position in x to half the width of the frame to illustrate the rendering which I imagine is more visually pleasing:

Is this actually possible with flowchart.js because I don't see any use of it in the examples?
Many thanks to the developers of this project that I find very useful.
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Évaluation
Cette issue n'a pas encore été évaluée.