Last active
December 22, 2015 23:08
-
-
Save prabhasp/6544393 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [ | |
| { | |
| "source": "Education_113_ALL_FACILITY_INDICATORS.csv", | |
| "target": "nmis_indicators_education_lga_level_113.R" | |
| }, | |
| { | |
| "source": "lgas.csv", | |
| "target": "nmis_indicators_education_lga_level_113.R" | |
| }, | |
| { | |
| "source": "nmis_indicators_education_lga_level_113.R", | |
| "target": "Education_LGA_level_113.csv" | |
| }, | |
| { | |
| "source": "Education_05_06_2012_2013_05_15_12_00_14.csv", | |
| "target": "MergeDatasets.R" | |
| }, | |
| { | |
| "source": "Education_17_04_2012_2013_05_15_11_59_29.csv", | |
| "target": "MergeDatasets.R" | |
| }, | |
| { | |
| "source": "Education_22_05_2012_2013_05_14_13_41_23.csv", | |
| "target": "MergeDatasets.R" | |
| }, | |
| { | |
| "source": "Health_05_06_2012_2013_05_14_14_16_00.csv", | |
| "target": "MergeDatasets.R" | |
| }, | |
| { | |
| "source": "Health_17_04_2012_2013_05_15_11_45_47.csv", | |
| "target": "MergeDatasets.R" | |
| }, | |
| { | |
| "source": "Health_22_05_2012_2013_05_14_13_54_51.csv", | |
| "target": "MergeDatasets.R" | |
| }, | |
| { | |
| "source": "Water_05_06_2012_2012_11_30_10_54_44.csv", | |
| "target": "MergeDatasets.R" | |
| }, | |
| { | |
| "source": "Water_22_05_2012_2012_11_28_13_38_10.csv", | |
| "target": "MergeDatasets.R" | |
| }, | |
| { | |
| "source": "Water_24_04_2012_2012_11_28_13_40_08.csv", | |
| "target": "MergeDatasets.R" | |
| }, | |
| { | |
| "source": "Localities_05_06_2012_2013_05_24_12_25_37.csv", | |
| "target": "MergeDatasets.R" | |
| }, | |
| { | |
| "source": "Localities_16_04_2012_2013_03_08_11_29_53.csv", | |
| "target": "MergeDatasets.R" | |
| }, | |
| { | |
| "source": "Localities_22_05_2012_2013_03_08_11_45_37.csv", | |
| "target": "MergeDatasets.R" | |
| }, | |
| { | |
| "source": "MergeDatasets.R", | |
| "target": "Education_661_Merged.csv" | |
| }, | |
| { | |
| "source": "MergeDatasets.R", | |
| "target": "Health_661_Merged.csv" | |
| }, | |
| { | |
| "source": "MergeDatasets.R", | |
| "target": "Water_661_Merged.csv" | |
| }, | |
| { | |
| "source": "MergeDatasets.R", | |
| "target": "Local_661_Merged.csv" | |
| }, | |
| { | |
| "source": "Health_661_999Cleaned.csv", | |
| "target": "outlier_graphs_tables_health.R" | |
| }, | |
| { | |
| "source": "Education_661_999Cleaned.csv", | |
| "target": "clean_out_outliers.R" | |
| }, | |
| { | |
| "source": "Health_661_999Cleaned.csv", | |
| "target": "clean_out_outliers.R" | |
| }, | |
| { | |
| "source": "Water_661_999Cleaned_Reclassified.csv", | |
| "target": "clean_out_outliers.R" | |
| }, | |
| { | |
| "source": "clean_out_outliers.R", | |
| "target": "Education_661_outliercleaned.csv" | |
| }, | |
| { | |
| "source": "clean_out_outliers.R", | |
| "target": "Health_661_outliercleaned.csv" | |
| }, | |
| { | |
| "source": "clean_out_outliers.R", | |
| "target": "Water_661_outliercleaned.csv" | |
| }, | |
| { | |
| "source": "Education_661_outliercleaned.csv", | |
| "target": "nmis_indicators_education_facility_level.R" | |
| }, | |
| { | |
| "source": "661.csv", | |
| "target": "nmis_indicators_education_facility_level.R" | |
| }, | |
| { | |
| "source": "nmis_indicators_education_facility_level.R", | |
| "target": "Education_661_NMIS_Facility.csv" | |
| }, | |
| { | |
| "source": "nmis_indicators_education_facility_level.R", | |
| "target": "Education_661_ALL_FACILITY_INDICATORS.csv" | |
| }, | |
| { | |
| "source": "All_774_LGA.csv", | |
| "target": "LGALevelTests.R" | |
| }, | |
| { | |
| "source": "08_Skilled_Birth.csv", | |
| "target": "external_data.R" | |
| }, | |
| { | |
| "source": "10_HIV_Tested.csv", | |
| "target": "external_data.R" | |
| }, | |
| { | |
| "source": "net enrollment NA fixed.csv", | |
| "target": "external_data.R" | |
| }, | |
| { | |
| "source": "net_enroll_JS_male female.csv", | |
| "target": "external_data.R" | |
| }, | |
| { | |
| "source": "Other edu indicators.csv", | |
| "target": "external_data.R" | |
| }, | |
| { | |
| "source": "external_data.R", | |
| "target": "external_data.csv" | |
| }, | |
| { | |
| "source": "Education_661_999Cleaned.csv", | |
| "target": "outlier_graphs_tables_education.R" | |
| }, | |
| { | |
| "source": "Pilot_Data_Health_Clean_2011.11.18.csv", | |
| "target": "clean_out999s_pilot.R" | |
| }, | |
| { | |
| "source": "Pilot_Education_cleaned_2011Nov17.csv", | |
| "target": "clean_out999s_pilot.R" | |
| }, | |
| { | |
| "source": "Pilot_Water_cleaned_2011Aug29.csv", | |
| "target": "clean_out999s_pilot.R" | |
| }, | |
| { | |
| "source": "clean_out999s_pilot.R", | |
| "target": "Health_pilot_999Cleaned.csv" | |
| }, | |
| { | |
| "source": "clean_out999s_pilot.R", | |
| "target": "Education_pilot_999Cleaned.csv" | |
| }, | |
| { | |
| "source": "clean_out999s_pilot.R", | |
| "target": "Water_pilot_999Cleaned.csv" | |
| }, | |
| { | |
| "source": "Education_661_ALL_FACILITY_INDICATORS.csv", | |
| "target": "nmis_indicators_education_lga_level.R" | |
| }, | |
| { | |
| "source": "lgas.csv", | |
| "target": "nmis_indicators_education_lga_level.R" | |
| }, | |
| { | |
| "source": "nmis_indicators_education_lga_level.R", | |
| "target": "Education_LGA_level_661.csv" | |
| }, | |
| { | |
| "source": "Water_pilot_outliercleaned.csv", | |
| "target": "nmis_indicators_water_facility_level_pilot.R" | |
| }, | |
| { | |
| "source": "nmis_indicators_water_facility_level_pilot.R", | |
| "target": "Water_pilot_NMIS_Facility.csv" | |
| }, | |
| { | |
| "source": "nmis_indicators_water_facility_level_pilot.R", | |
| "target": "Water_pilot_ALL_FACILITY_INDICATORS.csv" | |
| }, | |
| { | |
| "source": "Education_pilot_outliercleaned.csv", | |
| "target": "nmis_indicators_education_facility_level_pilot.R" | |
| }, | |
| { | |
| "source": "Education_661_NMIS_Facility.csv", | |
| "target": "nmis_indicators_education_facility_level_pilot.R" | |
| }, | |
| { | |
| "source": "nmis_indicators_education_facility_level_pilot.R", | |
| "target": "Education_Pilot_NMIS_Facility.csv" | |
| }, | |
| { | |
| "source": "nmis_indicators_education_facility_level_pilot.R", | |
| "target": "Education_Pilot_ALL_FACILITY_INDICATORS.csv" | |
| }, | |
| { | |
| "source": "Water_661_ALL_FACILITY_INDICATORS.csv", | |
| "target": "nmis_indicators_water_lga_level.R" | |
| }, | |
| { | |
| "source": "lgas.csv", | |
| "target": "nmis_indicators_water_lga_level.R" | |
| }, | |
| { | |
| "source": "nmis_indicators_water_lga_level.R", | |
| "target": "Water_LGA_level_661.csv" | |
| }, | |
| { | |
| "source": "Education_661_NMIS_Facility.csv", | |
| "target": "nmis_indicators_COMBINING.R" | |
| }, | |
| { | |
| "source": "Education_113_NMIS_Facility.csv", | |
| "target": "nmis_indicators_COMBINING.R" | |
| }, | |
| { | |
| "source": "Education_Pilot_NMIS_Facility.csv", | |
| "target": "nmis_indicators_COMBINING.R" | |
| }, | |
| { | |
| "source": "Health_661_NMIS_Facility.csv", | |
| "target": "nmis_indicators_COMBINING.R" | |
| }, | |
| { | |
| "source": "Health_113_NMIS_Facility.csv", | |
| "target": "nmis_indicators_COMBINING.R" | |
| }, | |
| { | |
| "source": "Health_Pilot_NMIS_Facility.csv", | |
| "target": "nmis_indicators_COMBINING.R" | |
| }, | |
| { | |
| "source": "Water_661_NMIS_Facility.csv", | |
| "target": "nmis_indicators_COMBINING.R" | |
| }, | |
| { | |
| "source": "Water_113_NMIS_Facility.csv", | |
| "target": "nmis_indicators_COMBINING.R" | |
| }, | |
| { | |
| "source": "Water_pilot_NMIS_Facility.csv", | |
| "target": "nmis_indicators_COMBINING.R" | |
| }, | |
| { | |
| "source": "Education_LGA_level_661.csv", | |
| "target": "nmis_indicators_COMBINING.R" | |
| }, | |
| { | |
| "source": "Education_LGA_level_113.csv", | |
| "target": "nmis_indicators_COMBINING.R" | |
| }, | |
| { | |
| "source": "Education_LGA_level_pilot.csv", | |
| "target": "nmis_indicators_COMBINING.R" | |
| }, | |
| { | |
| "source": "Health_LGA_level_661.csv", | |
| "target": "nmis_indicators_COMBINING.R" | |
| }, | |
| { | |
| "source": "Health_LGA_level_113.csv", | |
| "target": "nmis_indicators_COMBINING.R" | |
| }, | |
| { | |
| "source": "Health_LGA_level_pilot.csv", | |
| "target": "nmis_indicators_COMBINING.R" | |
| }, | |
| { | |
| "source": "Water_LGA_level_661.csv", | |
| "target": "nmis_indicators_COMBINING.R" | |
| }, | |
| { | |
| "source": "Water_LGA_level_113.csv", | |
| "target": "nmis_indicators_COMBINING.R" | |
| }, | |
| { | |
| "source": "Water_LGA_level_pilot.csv", | |
| "target": "nmis_indicators_COMBINING.R" | |
| }, | |
| { | |
| "source": "external_data.csv", | |
| "target": "nmis_indicators_COMBINING.R" | |
| }, | |
| { | |
| "source": "nmis_indicators_COMBINING.R", | |
| "target": "Education_774_NMIS_Facility.csv" | |
| }, | |
| { | |
| "source": "nmis_indicators_COMBINING.R", | |
| "target": "Health_774_NMIS_Facility.csv" | |
| }, | |
| { | |
| "source": "nmis_indicators_COMBINING.R", | |
| "target": "Water_774_NMIS_Facility.csv" | |
| }, | |
| { | |
| "source": "nmis_indicators_COMBINING.R", | |
| "target": "Education_774_NMIS_LGA.csv" | |
| }, | |
| { | |
| "source": "nmis_indicators_COMBINING.R", | |
| "target": "Health_774_NMIS_LGA.csv" | |
| }, | |
| { | |
| "source": "nmis_indicators_COMBINING.R", | |
| "target": "Water_774_NMIS_LGA.csv" | |
| }, | |
| { | |
| "source": "nmis_indicators_COMBINING.R", | |
| "target": "All_774_LGA.csv" | |
| }, | |
| { | |
| "source": "Water_113_999Cleaned.csv", | |
| "target": "nmis_indicators_water_facility_level_113.R" | |
| }, | |
| { | |
| "source": "lgas.csv", | |
| "target": "nmis_indicators_water_facility_level_113.R" | |
| }, | |
| { | |
| "source": "nmis_indicators_water_facility_level_113.R", | |
| "target": "Water_113_NMIS_Facility.csv" | |
| }, | |
| { | |
| "source": "nmis_indicators_water_facility_level_113.R", | |
| "target": "Water_113_ALL_FACILITY_INDICATORS.csv" | |
| }, | |
| { | |
| "source": "Education_661_Merged.csv", | |
| "target": "clean_out999s.R" | |
| }, | |
| { | |
| "source": "Health_661_Merged.csv", | |
| "target": "clean_out999s.R" | |
| }, | |
| { | |
| "source": "Water_661_Merged.csv", | |
| "target": "clean_out999s.R" | |
| }, | |
| { | |
| "source": "Local_661_Merged.csv", | |
| "target": "clean_out999s.R" | |
| }, | |
| { | |
| "source": "clean_out999s.R", | |
| "target": "Education_661_999Cleaned.csv" | |
| }, | |
| { | |
| "source": "clean_out999s.R", | |
| "target": "Health_661_999Cleaned.csv" | |
| }, | |
| { | |
| "source": "clean_out999s.R", | |
| "target": "Water_661_999Cleaned.csv" | |
| }, | |
| { | |
| "source": "clean_out999s.R", | |
| "target": "Localities_661_999Cleaned.csv" | |
| }, | |
| { | |
| "source": "Health_774_NMIS_Facility.csv", | |
| "target": "GeneralDataChecks.R" | |
| }, | |
| { | |
| "source": "Education_774_NMIS_Facility.csv", | |
| "target": "GeneralDataChecks.R" | |
| }, | |
| { | |
| "source": "Water_774_NMIS_Facility.csv", | |
| "target": "GeneralDataChecks.R" | |
| }, | |
| { | |
| "source": "All_774_LGA.csv", | |
| "target": "GeneralDataChecks.R" | |
| }, | |
| { | |
| "source": "lgas.csv", | |
| "target": "GeneralDataChecks.R" | |
| }, | |
| { | |
| "source": "Education_pilot_999Cleaned.csv", | |
| "target": "clean_out_outliers_pilot.R" | |
| }, | |
| { | |
| "source": "Health_pilot_999Cleaned.csv", | |
| "target": "clean_out_outliers_pilot.R" | |
| }, | |
| { | |
| "source": "Water_pilot_999Cleaned.csv", | |
| "target": "clean_out_outliers_pilot.R" | |
| }, | |
| { | |
| "source": "clean_out_outliers_pilot.R", | |
| "target": "Education_pilot_outliercleaned.csv" | |
| }, | |
| { | |
| "source": "clean_out_outliers_pilot.R", | |
| "target": "Health_pilot_outliercleaned.csv" | |
| }, | |
| { | |
| "source": "clean_out_outliers_pilot.R", | |
| "target": "Water_pilot_outliercleaned.csv" | |
| }, | |
| { | |
| "source": "Water_661_999Cleaned_Reclassified.csv", | |
| "target": "nmis_indicators_water_facility_level.R" | |
| }, | |
| { | |
| "source": "nmis_indicators_water_facility_level.R", | |
| "target": "Water_661_NMIS_Facility.csv" | |
| }, | |
| { | |
| "source": "nmis_indicators_water_facility_level.R", | |
| "target": "Water_661_ALL_FACILITY_INDICATORS.csv" | |
| }, | |
| { | |
| "source": "Education_113_999Cleaned.csv", | |
| "target": "clean_out_outliers_113.R" | |
| }, | |
| { | |
| "source": "Health_113_999Cleaned.csv", | |
| "target": "clean_out_outliers_113.R" | |
| }, | |
| { | |
| "source": "Water_113_999Cleaned.csv", | |
| "target": "clean_out_outliers_113.R" | |
| }, | |
| { | |
| "source": "clean_out_outliers_113.R", | |
| "target": "Education_113_outliercleaned.csv" | |
| }, | |
| { | |
| "source": "clean_out_outliers_113.R", | |
| "target": "Health_113_outliercleaned.csv" | |
| }, | |
| { | |
| "source": "clean_out_outliers_113.R", | |
| "target": "Water_113_outliercleaned.csv" | |
| }, | |
| { | |
| "source": "Education_113_outliercleaned.csv", | |
| "target": "nmis_indicators_education_facility_level_113.R" | |
| }, | |
| { | |
| "source": "Education_661_NMIS_Facility.csv", | |
| "target": "nmis_indicators_education_facility_level_113.R" | |
| }, | |
| { | |
| "source": "nmis_indicators_education_facility_level_113.R", | |
| "target": "Education_113_NMIS_Facility.csv" | |
| }, | |
| { | |
| "source": "nmis_indicators_education_facility_level_113.R", | |
| "target": "Education_113_ALL_FACILITY_INDICATORS.csv" | |
| }, | |
| { | |
| "source": "Health_113_ALL_FACILITY_INDICATORS.csv", | |
| "target": "nmis_indicators_health_lga_level_113.R" | |
| }, | |
| { | |
| "source": "lgas.csv", | |
| "target": "nmis_indicators_health_lga_level_113.R" | |
| }, | |
| { | |
| "source": "lgas.csv", | |
| "target": "nmis_indicators_health_lga_level_113.R" | |
| }, | |
| { | |
| "source": "nmis_indicators_health_lga_level_113.R", | |
| "target": "Health_LGA_level_113.csv" | |
| }, | |
| { | |
| "source": "lgas.csv", | |
| "target": "NMIS_Functions.R" | |
| }, | |
| { | |
| "source": "nmis_edu.csv", | |
| "target": "NMIS_Functions.R" | |
| }, | |
| { | |
| "source": "lga_edu.csv", | |
| "target": "NMIS_Functions.R" | |
| }, | |
| { | |
| "source": "nmis_health.csv", | |
| "target": "NMIS_Functions.R" | |
| }, | |
| { | |
| "source": "lga_health.csv", | |
| "target": "NMIS_Functions.R" | |
| }, | |
| { | |
| "source": "Health_PhII_RoundI&II&III_Clean_2011.10.21.csv", | |
| "target": "clean_out999s_113.R" | |
| }, | |
| { | |
| "source": "Educ_Baseline_PhaseII_all_merged_cleaned_2011Nov21.csv", | |
| "target": "clean_out999s_113.R" | |
| }, | |
| { | |
| "source": "Water_Baseline_PhaseII_all_merged_cleaned_2011Nov21.csv", | |
| "target": "clean_out999s_113.R" | |
| }, | |
| { | |
| "source": "clean_out999s_113.R", | |
| "target": "Health_113_999Cleaned.csv" | |
| }, | |
| { | |
| "source": "clean_out999s_113.R", | |
| "target": "Education_113_999Cleaned.csv" | |
| }, | |
| { | |
| "source": "clean_out999s_113.R", | |
| "target": "Water_113_999Cleaned.csv" | |
| }, | |
| { | |
| "source": "Water_pilot_ALL_FACILITY_INDICATORS.csv", | |
| "target": "nmis_indicators_water_lga_level_pilot.R" | |
| }, | |
| { | |
| "source": "lgas.csv", | |
| "target": "nmis_indicators_water_lga_level_pilot.R" | |
| }, | |
| { | |
| "source": "nmis_indicators_water_lga_level_pilot.R", | |
| "target": "Water_LGA_level_pilot.csv" | |
| }, | |
| { | |
| "source": "Water_113_ALL_FACILITY_INDICATORS.csv", | |
| "target": "nmis_indicators_water_lga_level_113.R" | |
| }, | |
| { | |
| "source": "lgas.csv", | |
| "target": "nmis_indicators_water_lga_level_113.R" | |
| }, | |
| { | |
| "source": "nmis_indicators_water_lga_level_113.R", | |
| "target": "Water_LGA_level_113.csv" | |
| }, | |
| { | |
| "source": "Health_661_outliercleaned.csv", | |
| "target": "nmis_indicators_health_facility_level.R" | |
| }, | |
| { | |
| "source": "661.csv", | |
| "target": "nmis_indicators_health_facility_level.R" | |
| }, | |
| { | |
| "source": "nmis_indicators_health_facility_level.R", | |
| "target": "Health_661_NMIS_Facility.csv" | |
| }, | |
| { | |
| "source": "nmis_indicators_health_facility_level.R", | |
| "target": "Health_661_ALL_FACILITY_INDICATORS.csv" | |
| }, | |
| { | |
| "source": "Health_pilot_outliercleaned.csv", | |
| "target": "nmis_indicators_health_facility_level_pilot.R" | |
| }, | |
| { | |
| "source": "Health_661_NMIS_Facility.csv", | |
| "target": "nmis_indicators_health_facility_level_pilot.R" | |
| }, | |
| { | |
| "source": "nmis_indicators_health_facility_level_pilot.R", | |
| "target": "Health_Pilot_NMIS_Facility.csv" | |
| }, | |
| { | |
| "source": "nmis_indicators_health_facility_level_pilot.R", | |
| "target": "Health_Pilot_ALL_FACILITY_INDICATORS.csv" | |
| }, | |
| { | |
| "source": "Health_Pilot_ALL_FACILITY_INDICATORS.csv", | |
| "target": "nmis_indicators_health_lga_level_pilot.R" | |
| }, | |
| { | |
| "source": "lgas.csv", | |
| "target": "nmis_indicators_health_lga_level_pilot.R" | |
| }, | |
| { | |
| "source": "lgas.csv", | |
| "target": "nmis_indicators_health_lga_level_pilot.R" | |
| }, | |
| { | |
| "source": "nmis_indicators_health_lga_level_pilot.R", | |
| "target": "Health_LGA_level_pilot.csv" | |
| }, | |
| { | |
| "source": "nmis_lga_corrections.csv", | |
| "target": "NMIS_Utils.R" | |
| }, | |
| { | |
| "source": "nmis_lga_mapping.csv", | |
| "target": "NMIS_Utils.R" | |
| }, | |
| { | |
| "source": "Health_661_ALL_FACILITY_INDICATORS.csv", | |
| "target": "nmis_indicators_health_lga_level.R" | |
| }, | |
| { | |
| "source": "lgas.csv", | |
| "target": "nmis_indicators_health_lga_level.R" | |
| }, | |
| { | |
| "source": "lgas.csv", | |
| "target": "nmis_indicators_health_lga_level.R" | |
| }, | |
| { | |
| "source": "nmis_indicators_health_lga_level.R", | |
| "target": "Health_LGA_level_661.csv" | |
| }, | |
| { | |
| "source": "Education_Pilot_ALL_FACILITY_INDICATORS.csv", | |
| "target": "nmis_indicators_education_lga_level_pilot.R" | |
| }, | |
| { | |
| "source": "lgas.csv", | |
| "target": "nmis_indicators_education_lga_level_pilot.R" | |
| }, | |
| { | |
| "source": "nmis_indicators_education_lga_level_pilot.R", | |
| "target": "Education_LGA_level_pilot.csv" | |
| }, | |
| { | |
| "source": "Water_774_NMIS_Facility.csv", | |
| "target": "WaterSpecificChecks.R" | |
| }, | |
| { | |
| "source": "All_774_LGA.csv", | |
| "target": "WaterSpecificChecks.R" | |
| }, | |
| { | |
| "source": "Health_113_outliercleaned.csv", | |
| "target": "nmis_indicators_health_facility_level_113.R" | |
| }, | |
| { | |
| "source": "nmis_indicators_health_facility_level_113.R", | |
| "target": "Health_113_NMIS_Facility.csv" | |
| }, | |
| { | |
| "source": "nmis_indicators_health_facility_level_113.R", | |
| "target": "Health_113_ALL_FACILITY_INDICATORS.csv" | |
| } | |
| ] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta http-equiv="Content-type" content="text/html; charset=utf-8"> | |
| <title>Mobile Patent Suits</title> | |
| <script type="text/javascript" src="http://mbostock.github.com/d3/d3.js?1.29.1"></script> | |
| <script type="text/javascript" src="http://mbostock.github.com/d3/d3.geom.js?1.29.1"></script> | |
| <script type="text/javascript" src="http://mbostock.github.com/d3/d3.layout.js?1.29.1"></script> | |
| <style type="text/css"> | |
| path.link { | |
| fill: none; | |
| stroke: #666; | |
| stroke-width: 1.5px; | |
| } | |
| marker#licensing { | |
| fill: green; | |
| } | |
| path.link.licensing { | |
| stroke: green; | |
| } | |
| path.link.resolved { | |
| stroke-dasharray: 0,2 1; | |
| } | |
| circle { | |
| fill: #ccc; | |
| stroke: #333; | |
| stroke-width: 1.5px; | |
| } | |
| text { | |
| font: 10px sans-serif; | |
| pointer-events: none; | |
| } | |
| text.shadow { | |
| stroke: #fff; | |
| stroke-width: 3px; | |
| stroke-opacity: .8; | |
| } | |
| </style> | |
| </head> | |
| <body> | |
| <script type="text/javascript"> | |
| //DERIVED PRETTY MUCH VERBATIM FROM: http://bl.ocks.org/mbostock/1153292 | |
| var nodes = {}; | |
| d3.json('dependency_graph.json', function(links) { | |
| // Compute the distinct nodes from the links. | |
| links.forEach(function(link) { | |
| link.source = nodes[link.source] || (nodes[link.source] = {name: link.source}); | |
| link.target = nodes[link.target] || (nodes[link.target] = {name: link.target}); | |
| }); | |
| var w = 960, | |
| h = 500; | |
| var force = d3.layout.force() | |
| .nodes(d3.values(nodes)) | |
| .links(links) | |
| .size([w, h]) | |
| .linkDistance(60) | |
| .charge(-300) | |
| .on("tick", tick) | |
| .start(); | |
| var svg = d3.select("body").append("svg:svg") | |
| .attr("width", w) | |
| .attr("height", h); | |
| // Per-type markers, as they don't inherit styles. | |
| svg.append("svg:defs").selectAll("marker") | |
| .data(["suit", "licensing", "resolved"]) | |
| .enter().append("svg:marker") | |
| .attr("id", String) | |
| .attr("viewBox", "0 -5 10 10") | |
| .attr("refX", 15) | |
| .attr("refY", -1.5) | |
| .attr("markerWidth", 6) | |
| .attr("markerHeight", 6) | |
| .attr("orient", "auto") | |
| .append("svg:path") | |
| .attr("d", "M0,-5L10,0L0,5"); | |
| var path = svg.append("svg:g").selectAll("path") | |
| .data(force.links()) | |
| .enter().append("svg:path") | |
| .attr("class", function(d) { return "link " + d.type; }) | |
| .attr("marker-end", function(d) { return "url(#" + d.type + ")"; }); | |
| var circle = svg.append("svg:g").selectAll("circle") | |
| .data(force.nodes()) | |
| .enter().append("svg:circle") | |
| .attr("r", 6) | |
| .call(force.drag); | |
| var text = svg.append("svg:g").selectAll("g") | |
| .data(force.nodes()) | |
| .enter().append("svg:g"); | |
| // A copy of the text with a thick white stroke for legibility. | |
| text.append("svg:text") | |
| .attr("x", 8) | |
| .attr("y", ".31em") | |
| .attr("class", "shadow") | |
| .text(function(d) { return d.name; }); | |
| text.append("svg:text") | |
| .attr("x", 8) | |
| .attr("y", ".31em") | |
| .text(function(d) { return d.name; }); | |
| // Use elliptical arc path segments to doubly-encode directionality. | |
| function tick() { | |
| path.attr("d", function(d) { | |
| var dx = d.target.x - d.source.x, | |
| dy = d.target.y - d.source.y, | |
| dr = Math.sqrt(dx * dx + dy * dy); | |
| return "M" + d.source.x + "," + d.source.y + "A" + dr + "," + dr + " 0 0,1 " + d.target.x + "," + d.target.y; | |
| }); | |
| circle.attr("transform", function(d) { | |
| return "translate(" + d.x + "," + d.y + ")"; | |
| }); | |
| text.attr("transform", function(d) { | |
| return "translate(" + d.x + "," + d.y + ")"; | |
| }); | |
| } | |
| }); | |
| </script> | |
| </body> | |
| </html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment