Project

General

Profile

Actions

Bug #5 | ISS-0005

open

csInfo #ISS-0012: Bugs

An arrow in the subject causes the diagrams to have nodes with empty titles.

Added by Redmine Admin 7 months ago. Updated 7 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Start date:
04/13/2024
Due date:
% Done:

0%

Estimated time:
csWload:
csOldCode:
csID:
ISS-0005
csChapter:
002.005.
depGrahInReports:
Include if has relations


Files

clipboard-202404131632-8nmd3.png (7.57 KB) clipboard-202404131632-8nmd3.png Redmine Admin, 04/13/2024 03:32 PM
clipboard-202404131632-ksy7i.png (9.37 KB) clipboard-202404131632-ksy7i.png Redmine Admin, 04/13/2024 03:32 PM
clipboard-202404131635-njpla.png (84.5 KB) clipboard-202404131635-njpla.png Redmine Admin, 04/13/2024 03:35 PM

Identifier: ISS-0005

Workload %:

Links for downloading GraphViz and SVG:

GV SVG

Links for downloading GraphViz and SVG:

GV SVG

Derive Clone item

Actions #1

Updated by Redmine Admin 7 months ago

Look at this:

For strings that should literally begin with '<' and end with '>', use the graphviz.nohtml() function to disable the special meaning of angled parenthesis and apply normal quoting/escaping:
d = graphviz.Digraph('diamond', format='svg')

d.node('diamond', label=graphviz.nohtml('<>'))
print(d.source)

digraph diamond {
diamond [label="<>"]
}
doctest_mark_exe() # skip this line

d.render(directory='doctest-output').replace('\', '/')
'doctest-output/diamond.gv.svg'

Actions

Also available in: Atom PDF

Go to top