Skip to content

Commit

Permalink
social.html cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
spond committed Oct 1, 2024
1 parent 12dd084 commit 2312293
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions html/social.html
Original file line number Diff line number Diff line change
Expand Up @@ -855,15 +855,15 @@ <h4 class="modal-title">Listing nodes in cluster X</h4>
d3.select(d3.select(this).attr("href")).style("display", null);
});

hivtrace.helpers.render_button_export_table_to_text(
hivtrace.misc.export_table_to_text(
"#cluster-table-export",
cluster_table
);
hivtrace.helpers.render_button_export_table_to_text(
hivtrace.misc.export_table_to_text(
"#subcluster-table-export",
subcluster_table
);
hivtrace.helpers.render_button_export_table_to_text(
hivtrace.misc.export_table_to_text(
"#node-table-export",
node_table
);
Expand Down Expand Up @@ -927,7 +927,8 @@ <h4 class="modal-title">Listing nodes in cluster X</h4>

var initialize_cluster_network_graphs = function () {
//Initialize clusternetworkgraph with json url
url = "/sample_data/workshop/SocialDemoFiles/SocialNetwork.trace.json";
url =
"../sample_data/workshop/SocialDemoFiles/SocialNetwork.trace.json";
//url = "sample_data/LA.json"

d3.json(url, function (error, results) {
Expand Down Expand Up @@ -1098,10 +1099,10 @@ <h4 class="modal-title">Listing nodes in cluster X</h4>
});

d3.csv(
"sample_data/workshop/SocialDemoFiles/SocialAttributes.csv",
"../sample_data/workshop/SocialDemoFiles/SocialAttributes.csv",
function (error, nodes) {
d3.csv(
"sample_data/workshop/SocialDemoFiles/SocialEdges.csv",
"../sample_data/workshop/SocialDemoFiles/SocialEdges.csv",
function (error, edges) {
_loaded_network_data["nodes"] = nodes;
_loaded_network_data["edges"] = edges;
Expand Down

0 comments on commit 2312293

Please sign in to comment.