Skip to content

Commit 388de89

Browse files
authored
Merge pull request #157 from daniel-ji/master
fix: url references in html for sample_data (renamed to test)
2 parents 99fed2d + 7561ff3 commit 388de89

File tree

4 files changed

+11
-11
lines changed

4 files changed

+11
-11
lines changed

html/network.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -960,7 +960,7 @@ <h4 class="modal-title">Listing nodes in cluster X</h4>
960960

961961
var initialize_cluster_network_graphs = function () {
962962
//Initialize clusternetworkgraph with json url
963-
url = "/sample_data/workshop/DummyNetworkAttributes.json";
963+
url = "/test/workshop/DummyNetworkAttributes.json";
964964

965965
d3.json(url, function (error, results) {
966966
if (error) {

html/plain.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -895,8 +895,8 @@ <h4 class="modal-title">Listing nodes in cluster X</h4>
895895

896896
var initialize_cluster_network_graphs = function () {
897897
//Initialize clusternetworkgraph with json url
898-
url = "/sample_data/example/example.json";
899-
//url = "sample_data/LA.json"
898+
url = "/test/example/example.json";
899+
//url = "test/LA.json"
900900

901901
d3.json(url, function (error, results) {
902902
if (error) {

html/social.html

+4-4
Original file line numberDiff line numberDiff line change
@@ -928,8 +928,8 @@ <h4 class="modal-title">Listing nodes in cluster X</h4>
928928
var initialize_cluster_network_graphs = function () {
929929
//Initialize clusternetworkgraph with json url
930930
url =
931-
"../sample_data/workshop/SocialDemoFiles/SocialNetwork.trace.json";
932-
//url = "sample_data/LA.json"
931+
"../test/workshop/SocialDemoFiles/SocialNetwork.trace.json";
932+
//url = "test/LA.json"
933933

934934
d3.json(url, function (error, results) {
935935
if (error) {
@@ -1099,10 +1099,10 @@ <h4 class="modal-title">Listing nodes in cluster X</h4>
10991099
});
11001100

11011101
d3.csv(
1102-
"../sample_data/workshop/SocialDemoFiles/SocialAttributes.csv",
1102+
"../test/workshop/SocialDemoFiles/SocialAttributes.csv",
11031103
function (error, nodes) {
11041104
d3.csv(
1105-
"../sample_data/workshop/SocialDemoFiles/SocialEdges.csv",
1105+
"../test/workshop/SocialDemoFiles/SocialEdges.csv",
11061106
function (error, edges) {
11071107
_loaded_network_data["nodes"] = nodes;
11081108
_loaded_network_data["edges"] = edges;

index.html

+4-4
Original file line numberDiff line numberDiff line change
@@ -969,10 +969,10 @@ <h4 class="modal-title">Listing nodes in cluster X</h4>
969969

970970
var initialize_cluster_network_graphs = function () {
971971
//Initialize clusternetworkgraph with json url
972-
url = "sample_data/example/example.json";
973-
//url = "sample_data/example/vl_recent_value_adj.json";
974-
//url = "sample_data/example/example_with_random_countries.json" // For testing the mapping feature.
975-
//url = "sample_data/LA.json"
972+
url = "test/example/example.json";
973+
//url = "test/example/vl_recent_value_adj.json";
974+
//url = "test/example/example_with_random_countries.json" // For testing the mapping feature.
975+
//url = "test/LA.json"
976976
//url = "private/new.json";
977977

978978
d3.json(url, function (error, results) {

0 commit comments

Comments
 (0)