1. Martin Czygan
  2. sadisplay

Commits

Evgeniy Tatarkin  committed 9433b20

fix #7, bugfix release

  • Participants
  • Parent commits 8ad9183
  • Branches default

Comments (0)

Files changed (2)

File sadisplay/__init__.py

View file
 # -*- coding: utf-8 -*-
 
-__version__ = '0.3.5dev'
+__version__ = '0.3.6dev'
 
 from sadisplay.describe import describe     # pyflakes:ignore
 from sadisplay.render import plantuml, dot  # pyflakes:ignore

File sadisplay/render.py

View file
     INHERIT_TEMPLATE = "\t%(child)s -> %(parent)s \n"
 
     EDGE_REL = "\tedge [\n\t\tarrowhead = ediamond\n\t\tarrowtail = open\n\t]"
-    RELATION_TEMPLATE = "\t%(from)s -> %(to)s [label = \"%(by)s\"]"
+    RELATION_TEMPLATE = "\t\"%(from)s\" -> \"%(to)s\" [label = \"%(by)s\"]"
 
     result = ["""
         digraph G {