mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-09 18:39:41 +02:00
spelling: text
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
@@ -90,7 +90,7 @@
|
|||||||
erDiagram
|
erDiagram
|
||||||
CAR ||--o{ NAMED-DRIVER : allows
|
CAR ||--o{ NAMED-DRIVER : allows
|
||||||
CAR {
|
CAR {
|
||||||
test test PK "comment"
|
text text PK "comment"
|
||||||
string make
|
string make
|
||||||
string model
|
string model
|
||||||
string[] parts
|
string[] parts
|
||||||
|
@@ -645,7 +645,7 @@ const breakString: (
|
|||||||
* This calculates the text's height, taking into account the wrap breaks and both the statically
|
* This calculates the text's height, taking into account the wrap breaks and both the statically
|
||||||
* configured height, width, and the length of the text (in pixels).
|
* configured height, width, and the length of the text (in pixels).
|
||||||
*
|
*
|
||||||
* If the wrapped text text has greater height, we extend the height, so it's value won't overflow.
|
* If the wrapped text has greater height, we extend the height, so it's value won't overflow.
|
||||||
*
|
*
|
||||||
* @param text - The text to measure
|
* @param text - The text to measure
|
||||||
* @param config - The config for fontSize, fontFamily, and fontWeight all impacting the
|
* @param config - The config for fontSize, fontFamily, and fontWeight all impacting the
|
||||||
|
Reference in New Issue
Block a user