Visualize
visualize¤
load_graph(connections_json, title)
¤
Load json file that contains the paper connection information, and build a graph using it.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
connections_json |
Union[str, Path]
|
json file that contains the paper connection information |
required |
title |
str
|
title of the graph which will be shown in the top of the chart |
required |
Source code in kirsche/visualize.py
11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 |
|
make_chart(connections_json, target, title)
¤
Generate interactive graphs
Parameters:
Name | Type | Description | Default |
---|---|---|---|
connections_json |
Union[Path, str]
|
json file that contains the paper connection information |
required |
target |
Union[Path, str]
|
target file path |
required |
title |
str
|
title of the graph which will be shown in the top of the chart |
required |
Source code in kirsche/visualize.py
61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 |
|
visualize(nodes, edges, title, target)
¤
Generate interactive graphs
Parameters:
Name | Type | Description | Default |
---|---|---|---|
nodes |
list
|
nodes of the graph |
required |
edges |
list
|
edges of the graph |
required |
title |
str
|
title of the graph which will be shown in the top of the chart |
required |
target |
Union[str, Path]
|
target file path |
required |
Source code in kirsche/visualize.py
28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 |
|