Fix pyvis hierarchical graph render error
Browse files
__pycache__/public_space_app.cpython-311.pyc
CHANGED
|
Binary files a/__pycache__/public_space_app.cpython-311.pyc and b/__pycache__/public_space_app.cpython-311.pyc differ
|
|
|
dataset_bundle/public_release_manifest.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
{
|
| 2 |
"public_version": "congress-public-records-slice-2026-04-v1",
|
| 3 |
"title": "Congress Public Records Slice",
|
| 4 |
-
"release_date": "2026-04-
|
| 5 |
"slice_description": "A neutral, review-oriented slice of House public-record linkages across financial disclosures, sector overlap, and community project funding recipient relationships.",
|
| 6 |
"source_run_name": "house_all_baseline_20260418_v21_recipienthardening",
|
| 7 |
"dataset_repo_id": "cjc0013/cmp-data",
|
|
|
|
| 1 |
{
|
| 2 |
"public_version": "congress-public-records-slice-2026-04-v1",
|
| 3 |
"title": "Congress Public Records Slice",
|
| 4 |
+
"release_date": "2026-04-19T11:10:25-04:00",
|
| 5 |
"slice_description": "A neutral, review-oriented slice of House public-record linkages across financial disclosures, sector overlap, and community project funding recipient relationships.",
|
| 6 |
"source_run_name": "house_all_baseline_20260418_v21_recipienthardening",
|
| 7 |
"dataset_repo_id": "cjc0013/cmp-data",
|
public_space_app.py
CHANGED
|
@@ -354,7 +354,10 @@ def _render_graph(nodes: pd.DataFrame, edges: pd.DataFrame) -> str:
|
|
| 354 |
network.set_options("""
|
| 355 |
var options = {
|
| 356 |
"interaction": {"hover": true, "tooltipDelay": 120, "navigationButtons": true, "keyboard": true},
|
| 357 |
-
"physics":
|
|
|
|
|
|
|
|
|
|
| 358 |
"layout": {
|
| 359 |
"hierarchical": {
|
| 360 |
"enabled": true,
|
|
|
|
| 354 |
network.set_options("""
|
| 355 |
var options = {
|
| 356 |
"interaction": {"hover": true, "tooltipDelay": 120, "navigationButtons": true, "keyboard": true},
|
| 357 |
+
"physics": {
|
| 358 |
+
"enabled": false,
|
| 359 |
+
"stabilization": {"enabled": false}
|
| 360 |
+
},
|
| 361 |
"layout": {
|
| 362 |
"hierarchical": {
|
| 363 |
"enabled": true,
|