Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

for mermaid, sometimes the right margin is too small #1736

Closed
imysl0 opened this issue Apr 9, 2024 · 3 comments
Closed

for mermaid, sometimes the right margin is too small #1736

imysl0 opened this issue Apr 9, 2024 · 3 comments

Comments

@imysl0
Copy link

imysl0 commented Apr 9, 2024

Using Kroki, there is a blur at the arrow, indicating that the right margin is too small
image
Using mermaid, no blur
image

this is code:

---
title: ABCD_TOPL_ID mermaid
---
stateDiagram-v2
[*] --> ABCD_L_L0
ABCD_L_L0 --> ABCD_L_L1
ABCD_L_L0 --> ABCD_L_LT
ABCD_L_L1 --> ABCD_L_L2
ABCD_L_L1 --> ABCD_L_LT
ABCD_L_L2 --> ABCD_L_L3
ABCD_L_L2 --> ABCD_L_LT
ABCD_L_L3 --> ABCD_L_LT
ABCD_L_LT --> [*] 
Loading
@imysl0
Copy link
Author

imysl0 commented Apr 9, 2024

---
title: ABCD_TOPL_ID mermaid
---
stateDiagram-v2
[*] --> ABCD_L_L0
ABCD_L_L0 --> ABCD_L_L1
ABCD_L_L0 --> ABCD_L_LT
ABCD_L_L1 --> ABCD_L_L2
ABCD_L_L1 --> ABCD_L_LT
ABCD_L_L2 --> ABCD_L_L3
ABCD_L_L2 --> ABCD_L_LT
ABCD_L_L3 --> ABCD_L_LT
ABCD_L_LT --> [*] 

@gladykov
Copy link

gladykov commented Jul 4, 2024

Another example:

classDiagram

class MQTTDevice {
	-deviceCount: int
	-idiotDevices: mqttDevice_t[]
	
	+mqtt_handleApplianceMessage(string, string, mqttDevice_t) void 
	+mqtt_deviceGetVersionJson(string, size_t, mqttDevice_t) bool 
	+mqtt_getDeviceCount() int 
	+mqtt_getDeviceBySerial(string) mqttDevice_t
	+mqtt_getDeviceByIndex(int) mqttDevice_t
	+mqtt_registerIdiotDevice(idiot_device_t) void 
	-_getTopicHandler(string, mqttDevice_t) msgHandler_t
	-_controlMsgHandler(json_t, mqttDevice_t) void
}

results in:

image

@ggrossetie
Copy link
Member

This is a duplicate of #1345

@ggrossetie ggrossetie closed this as not planned Won't fix, can't repro, duplicate, stale Jul 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants