Distances on Directed Graphs in R

fix compound junction constrution from #305 to close #316

+10 -4
+1 -1
DESCRIPTION
··· 1 1 Package: dodgr 2 2 Title: Distances on Directed Graphs 3 - Version: 0.4.3.010 3 + Version: 0.4.3.011 4 4 Authors@R: c( 5 5 person("Mark", "Padgham", , "mark.padgham@email.com", role = c("aut", "cre")), 6 6 person("Andreas", "Petutschnig", role = "aut"),
+8 -2
R/compound-junctions.R
··· 193 193 ) 194 194 } 195 195 196 - # Remove original edges from graph, and add new compound ones: 196 + # Replace original edges from graph with ones to junctions point only, and 197 + # add new compound ones: 198 + gr_cols <- dodgr_graph_cols (graph) 199 + graph_to_juncts <- res$graph [which (res$graph$edge_ %in% edges_to_remove), ] 200 + graph_to_juncts [[gr_cols$to]] <- paste0 (graph_to_juncts [[gr_cols$to]], "_end") 201 + 197 202 res$graph <- rbind ( 198 203 res$graph [which (!res$graph$edge_ %in% edges_to_remove), ], 199 - graph_out_compound 204 + graph_out_compound, 205 + graph_to_juncts 200 206 ) 201 207 202 208 return (res)
+1 -1
codemeta.json
··· 11 11 "codeRepository": "https://github.com/UrbanAnalyst/dodgr", 12 12 "issueTracker": "https://github.com/UrbanAnalyst/dodgr/issues", 13 13 "license": "https://spdx.org/licenses/GPL-3.0", 14 - "version": "0.4.3.010", 14 + "version": "0.4.3.011", 15 15 "programmingLanguage": { 16 16 "@type": "ComputerLanguage", 17 17 "name": "R",