/b-gtk/fix-viz

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/b-gtk/fix-viz

« back to all changes in this revision

Viewing changes to viz/graphcell.py

  • Committer: Jelmer Vernooij
  • Date: 2006-05-19 16:37:13 UTC
  • Revision ID: jelmer@samba.org-20060519163713-be77b31c72cbc7e8
Move visualisation code to a separate directory, preparing for bundling 
the GTK+ plugins for bzr.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/usr/bin/python
1
2
# -*- coding: UTF-8 -*-
2
3
"""Cell renderer for directed graph.
3
4
 
107
108
        to be, we let the TreeViewColumn take care of making them all
108
109
        line up.
109
110
        """
110
 
        box_size = self.box_size(widget) + 1
 
111
        box_size = self.box_size(widget)
111
112
 
112
113
        cols = self.node[0]
113
114
        for start, end, colour in self.in_lines + self.out_lines: