Skip to content

Commit

Permalink
Preparing to release
Browse files Browse the repository at this point in the history
  • Loading branch information
mapio committed Apr 5, 2024
1 parent 3eebc58 commit 1895c2a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
Changelog
=========

v1.7.2 (2024-04-04)
-------------------

- GVWrapper now uses "Fira Code" as default font.
- Improved InstantaneousDescription representations
- Fixed a bug in Tree graph representation.

v1.7.1 (2024-04-04)
-------------------

Expand Down
4 changes: 2 additions & 2 deletions src/liblet/display.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,13 +125,13 @@ def node(self, obj, G=None, gv_args=None):
G = self.G
wn, new = self._obj2wn(obj)
if new:
G.node(wn.gid(), wn.label(), **({'fontname': 'Fira code'} | wn.default_gv_args() | (gv_args or {})))
G.node(wn.gid(), wn.label(), **({'fontname': 'Fira Code'} | wn.default_gv_args() | (gv_args or {})))
return wn.gid()

def edge(self, objsrc, objdst, G=None, gv_args=None):
if G is None:
G = self.G
G.edge(self.node(objsrc), self.node(objdst), **({'fontname': 'Fira code'} | (gv_args or {})))
G.edge(self.node(objsrc), self.node(objdst), **({'fontname': 'Fira Code'} | (gv_args or {})))

def __repr__(self):
return 'GVWrapper[\n' + indent(str(self.G), '\t') + ']'
Expand Down

0 comments on commit 1895c2a

Please sign in to comment.