Skip to content

Commit

Permalink
set title of html page
Browse files Browse the repository at this point in the history
  • Loading branch information
emptymalei committed Sep 22, 2021
1 parent ea64b7b commit 00ce0b4
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
7 changes: 7 additions & 0 deletions docs/changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Kirsche Changelog


## 2021-09-23, 0.2.1 - 0.2.6

Added:
- Multiple files as database instead of single file
- Visualization html page title is set

## 2021-09-21

Added:
Expand Down
2 changes: 1 addition & 1 deletion kirsche/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.2.5"
__version__ = "0.2.6"
2 changes: 1 addition & 1 deletion kirsche/visualize.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def visualize(nodes: list, edges: list, title: str, target: Union[str, Path]) ->

# Build the graph and export it to html file
(
Graph(init_opts=opts.InitOpts(width="1600px", height="800px"))
Graph(init_opts=opts.InitOpts(width="1600px", height="800px", page_title=title))
.add(
series_name="",
nodes=nodes,
Expand Down

0 comments on commit 00ce0b4

Please sign in to comment.