Skip to content

Commit

Permalink
Add graph into to page columns
Browse files Browse the repository at this point in the history
  • Loading branch information
nv-rliu committed Aug 29, 2024
1 parent cb48ec4 commit ee26ea8
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions benchmarks/nx-cugraph/pytest-based/create_results_summary_page.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,14 @@ def get_system_info():
"hollywood",
"soc-livejournal1",
]
# dataset, # Node, # Edge, Directed info
dataset_meta = {
"netscience": ["1,461", "5,484", "Yes"],
"email_Eu_core": ["1,005", "25,571", "Yes"],
"cit-patents": ["3,774,768", "16,518,948", "Yes"],
"hollywood": ["1,139,905", "57,515,616", "No"],
"soc-livejournal1": ["4,847,571", "68,993,773", "Yes"],
}

print(
"""
Expand Down Expand Up @@ -193,10 +201,12 @@ def get_system_info():
<table>
<thead>
<tr>
<th></th>"""
<th>Dataset<br>Nodes<br>Edges<Br>Directed</th>"""
)
for ds in ordered_datasets:
print(f" <th>{ds}</th>")
print(
f" <th>{ds}<br>{dataset_meta[ds][0]}<br>{dataset_meta[ds][1]}<br>{dataset_meta[ds][2]}<br></th>"
)
print(
""" </tr>
</thead>
Expand Down

0 comments on commit ee26ea8

Please sign in to comment.