mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-08-15 06:19:24 +02:00
spelling: and
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
@@ -713,7 +713,7 @@ export const render = async (
|
||||
// check if point is inside the boundary rect
|
||||
if (!outsideNode(bounds, point) && !isInside) {
|
||||
// First point inside the rect found
|
||||
// Calc the intersection coord between the point anf the last point outside the rect
|
||||
// Calc the intersection coord between the point and the last point outside the rect
|
||||
let inter;
|
||||
|
||||
if (isDiamond) {
|
||||
|
@@ -324,7 +324,7 @@ const cutPathAtIntersect = (_points, boundaryNode) => {
|
||||
// check if point is inside the boundary rect
|
||||
if (!outsideNode(boundaryNode, point) && !isInside) {
|
||||
// First point inside the rect found
|
||||
// Calc the intersection coord between the point anf the last point outside the rect
|
||||
// Calc the intersection coord between the point and the last point outside the rect
|
||||
const inter = intersection(boundaryNode, lastPointOutside, point);
|
||||
|
||||
// // Check case where the intersection is the same as the last point
|
||||
|
@@ -319,7 +319,7 @@ You have to call mermaid.initialize.`
|
||||
// the rest of the edges should have auto generated ids
|
||||
for (const start of _start) {
|
||||
for (const end of _end) {
|
||||
//use the id only for last node in _start and and first node in _end
|
||||
//use the id only for last node in _start and first node in _end
|
||||
const isLastStart = start === _start[_start.length - 1];
|
||||
const isFirstEnd = end === _end[0];
|
||||
if (isLastStart && isFirstEnd) {
|
||||
|
Reference in New Issue
Block a user