mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-11-18 11:44:07 +01:00
spelling: text
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
@@ -41,7 +41,7 @@
|
|||||||
|
|
||||||
CAR:::someclass
|
CAR:::someclass
|
||||||
PERSON:::anotherclass,someclass
|
PERSON:::anotherclass,someclass
|
||||||
|
|
||||||
classDef someclass fill:#f96
|
classDef someclass fill:#f96
|
||||||
classDef anotherclass color:blue
|
classDef anotherclass color:blue
|
||||||
</pre>
|
</pre>
|
||||||
@@ -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
|
||||||
@@ -108,7 +108,7 @@
|
|||||||
string carRegistrationNumber PK, FK
|
string carRegistrationNumber PK, FK
|
||||||
string driverLicence PK, FK
|
string driverLicence PK, FK
|
||||||
}
|
}
|
||||||
MANUFACTURER only one to zero or more CAR : makes
|
MANUFACTURER only one to zero or more CAR : makes
|
||||||
</pre>
|
</pre>
|
||||||
</div>
|
</div>
|
||||||
<div class="test">
|
<div class="test">
|
||||||
@@ -129,7 +129,7 @@
|
|||||||
string email
|
string email
|
||||||
}
|
}
|
||||||
p ||--o| a : has
|
p ||--o| a : has
|
||||||
|
|
||||||
</pre>
|
</pre>
|
||||||
</div>
|
</div>
|
||||||
<div class="test">
|
<div class="test">
|
||||||
|
|||||||
@@ -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