~patrickas/ensoft-sextant/minor

« back to all changes in this revision

Viewing changes to src/sextant/export.py

  • Committer: Tarmac
  • Author(s): Robert Wills
  • Date: 2014-09-04 10:01:08 UTC
  • mfrom: (19.1.1 ensoft-sextant)
  • Revision ID: tarmac-20140904100108-r8z9l8h4bjue8umo
Enhance the Sextant branding.

Show diffs side-by-side

added added

removed removed

Lines of Context:
55
55
            # node already, DOT lets us add more information about that node
56
56
            # so we can insist on turning that same node into a box-shape
57
57
            # and changing its font.
58
 
            output_str += ' "{}" [label="{}", fontname="{}", shape=box]\n'.format(func.name,
59
 
                                                                                  ProgramConverter.get_display_name(func, suppress_common_nodes),
60
 
                                                                                  font_name)
 
58
            output_str += (
 
59
                ' "{}" [label="{}", fontname="{}", fontsize="10", ' + 
 
60
                'shape=box, penwidth=0.5]\n').format(
 
61
                               func.name,
 
62
                               ProgramConverter.get_display_name(func, suppress_common_nodes),
 
63
                               font_name)
61
64
            if func.is_common:
62
65
                output_str += ' "{}" [fillcolor=lightgreen, style=filled]\n'.format(func.name)
63
66