Fix draw_callseq_mermaid cell name
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
[project]
|
||||
name = "breakshaft"
|
||||
version = "0.1.3"
|
||||
version = "0.1.3.post1"
|
||||
description = "Library for in-time codegen for type conversion"
|
||||
authors = [
|
||||
{ name = "nikto_b", email = "niktob560@yandex.ru" }
|
||||
|
||||
@@ -74,7 +74,7 @@ def draw_callseq_mermaid(callseq: list[ConversionPoint]):
|
||||
ret = ['flowchart TD\n\n']
|
||||
ret += [' %%defs:']
|
||||
for cp_i, cp in enumerate(callseq):
|
||||
ret.append(f' e{cp_i}[{shield_mermaid_name(str(cp))}]')
|
||||
ret.append(f' e{cp_i}["{shield_mermaid_name(str(cp))}"]')
|
||||
ret += ['', '', ' %%edges:']
|
||||
for cp_i, cp in enumerate(callseq[:-1]):
|
||||
ret.append(f' e{cp_i}-->e{cp_i + 1}')
|
||||
|
||||
Reference in New Issue
Block a user