rich-iannone / DiagrammeR

Compare 0169bb6 ... +1 ... fd3e4eb

Coverage Reach
utils.R print.R generate_dot.R add_node.R x11_hex.R import_graph.R add_n_nodes_ws.R trav_both_edge.R add_full_graph.R render_graph.R get_paths.R create_graph.R add_grid_3d.R add_edge.R add_grid_2d.R add_pa_graph.R export_graph.R trav_in_until.R trav_out_until.R add_edges_from_table.R add_prism.R add_balanced_tree.R add_gnp_graph.R add_gnm_graph.R add_growing_graph.R add_cycle.R delete_edge.R add_star.R add_path.R trav_both.R add_smallworld_graph.R select_nodes_in_neighborhood.R trav_in.R add_islands_graph.R visnetwork.R trav_out.R get_node_info.R select_edges.R trav_in_edge.R trav_out_edge.R colorize_node_attrs.R colorize_edge_attrs.R trav_out_node.R trav_in_node.R add_node_clones_ws.R combine_graphs.R add_nodes_from_table.R is_edge_present.R get_similar_nbrs.R add_reverse_edges_ws.R select_nodes.R add_n_node_clones.R from_igraph.R select_edges_by_node_id.R layout_nodes_w_string.R select_nodes_by_degree.R set_node_attr_to_display.R add_edges_w_string.R select_edges_by_edge_id.R display_metagraph.R set_edge_attr_to_display.R attr_themes.R select_nodes_by_id.R add_nodes_from_df_cols.R recode_node_attrs.R recode_edge_attrs.R set_node_attr_w_fcn.R rescale_node_attrs.R rescale_edge_attrs.R filter_graph_series.R add_edge_clone.R set_edge_attrs.R set_node_position.R select_last_edges_created.R select_last_nodes_created.R add_n_nodes.R invert_selection.R fully_connect_nodes_ws.R create_node_df.R transform_to_subgraph_ws.R delete_node.R grViz.R set_node_attrs.R delete_global_graph_attrs.R add_graph_action.R spectools.R create_edge_df.R delete_edges_ws.R join_node_attrs.R rename_node_attrs.R rename_edge_attrs.R delete_nodes_ws.R nudge_node_positions_ws.R delete_graph_actions.R delete_loop_edges_ws.R get_jaccard_similarity.R trigger_graph_actions.R add_forward_edges_ws.R fully_disconnect_nodes_ws.R get_last_edges_created.R get_last_nodes_created.R copy_node_attrs.R copy_edge_attrs.R mutate_edge_attrs_ws.R get_dice_similarity.R transform_to_complement_graph.R trav_reverse_edge.R mutate_node_attrs_ws.R get_edges.R set_cache.R join_edge_attrs.R edge_aes.R rev_edge_dir_ws.R reorder_graph_actions.R drop_node_attrs.R set_edge_attrs_ws.R add_global_graph_attrs.R get_edge_attrs.R base64.R add_edge_df.R add_node_df.R from_adj_matrix.R is_edge_mutual.R is_edge_multiple.R node_aes.R set_node_attrs_ws.R do_dfs.R drop_edge_attrs.R do_bfs.R delete_cache.R get_radiality.R set_graph_time.R is_edge_loop.R get_agg_degree_out.R clear_selection.R get_agg_degree_total.R get_agg_degree_in.R get_graph_series_info.R rev_edge_dir.R get_selection.R get_degree_distribution.R mutate_edge_attrs.R mutate_node_attrs.R count_unconnected_nodes.R export_csv.R get_authority_centrality.R get_eigen_centrality.R get_node_attrs.R get_degree_histogram.R get_edge_attrs_ws.R get_closeness.R get_coreness.R get_node_attrs_ws.R get_degree_out.R get_constraint.R get_degree_in.R get_degree_total.R deselect_edges.R get_all_connected_nodes.R deselect_nodes.R get_s_connected_cmpts.R get_w_connected_cmpts.R get_graph_info.R get_leverage_centrality.R set_graph_name.R get_eccentricity.R DiagrammeR.R get_edge_count_w_multiedge.R mermaid.R set_graph_directed.R set_graph_undirected.R get_alpha_centrality.R get_predecessors.R get_successors.R get_closeness_vitality.R get_common_nbrs.R get_betweenness.R is_node_present.R get_multiedge_count.R get_pagerank.R get_non_nbrs.R get_nbrs.R create_graph_series.R combine_edfs.R render_graph_from_graph_series.R is_graph_weighted.R get_global_graph_attr_info.R count_automorphisms.R get_bridging.R combine_ndfs.R get_cmty_louvain.R get_min_eccentricity.R get_cmty_fast_greedy.R get_cmty_edge_btwns.R to_igraph.R get_cmty_l_eigenvec.R add_graph_to_graph_series.R get_edge_ids.R get_min_cut_between.R get_node_ids.R count_loop_edges.R open_graph.R save_graph.R get_cmty_walktrap.R is_property_graph.R get_articulation_points.R get_edge_df_ws.R get_node_df_ws.R get_periphery.R get_cache.R get_graph_from_graph_series.R is_graph_connected.R get_reciprocity.R count_mutual_node_pairs.R is_graph_dag.R get_max_eccentricity.R get_girth.R count_unconnected_node_pairs.R remove_graph_from_graph_series.R count_asymmetric_node_pairs.R get_mean_distance.R get_adhesion.R count_s_connected_cmpts.R count_w_connected_cmpts.R get_edge_info.R count_edges.R is_graph_empty.R count_nodes.R transform_to_min_spanning_tree.R node_data.R get_graph_actions.R edge_data.R get_graph_log.R is_graph_simple.R get_graph_time.R is_graph_directed.R get_graph_name.R get_edge_df.R get_node_df.R is_graph_undirected.R count_graphs_in_graph_series.R

No flags found

Use flags to group coverage reports by test type, project and/or folders.
Then setup custom commit statuses and notifications for each flag.

e.g., #unittest #integration

#production #enterprise

#frontend #backend

Learn more about Codecov Flags here.

Showing 2 of 4 files from the diff.
Other files ignored by Codecov
README.Rmd has changed.
README.md has changed.

@@ -85,31 +85,17 @@
Loading
85 85
  }
86 86
87 87
  if (output == "graph") {
88 -
    if (!is.null(title)) {
89 -
90 -
      graph <-
91 -
        add_global_graph_attrs(
92 -
          graph, "label", title, "graph")
93 -
94 -
      graph <-
95 -
        add_global_graph_attrs(
96 -
          graph, "labelloc", "t", "graph")
97 88
98 -
      graph <-
99 -
        add_global_graph_attrs(
100 -
          graph, "labeljust", "c", "graph")
101 -
102 -
      graph <-
103 -
        add_global_graph_attrs(
104 -
          graph, "fontname", "Helvetica", "graph")
89 +
    if (!is.null(title)) {
105 90
106 -
      graph <-
107 -
        add_global_graph_attrs(
108 -
          graph, "fontcolor", "gray30", "graph")
91 +
      graph <- add_global_graph_attrs(graph, "label", title, "graph")
92 +
      graph <- add_global_graph_attrs(graph, "labelloc", "t", "graph")
93 +
      graph <- add_global_graph_attrs(graph, "labeljust", "c", "graph")
94 +
      graph <- add_global_graph_attrs(graph, "fontname", "Helvetica", "graph")
95 +
      graph <- add_global_graph_attrs(graph, "fontcolor", "gray30", "graph")
109 96
    }
110 97
111 -
    # If no fillcolor provided, use default; if no default available,
112 -
    # use white
98 +
    # If no fillcolor provided, use default; if no default available, use white
113 99
    if (nrow(graph$nodes_df) > 0) {
114 100
      if (!("fillcolor" %in% colnames(graph$nodes_df))) {
115 101
        if ("fillcolor" %in% graph$global_attrs$attr) {
@@ -239,7 +225,6 @@
Loading
239 225
      }
240 226
    }
241 227
242 -
243 228
    if (("image" %in% colnames(graph %>% get_node_df()) ||
244 229
         "fa_icon" %in% colnames(graph %>% get_node_df()) ||
245 230
         as_svg) &

@@ -264,28 +264,21 @@
Loading
264 264
265 265
    if (nrow(nodes_df) > 0) {
266 266
267 -
      # Determine whether positional (x,y)
268 -
      # data is included
269 -
      column_with_x <-
270 -
        which(colnames(nodes_df) %in% "x")[1]
267 +
      # Determine whether positional (x,y) data is included
268 +
      column_with_x <- which(colnames(nodes_df) %in% "x")[1]
271 269
272 -
      column_with_y <-
273 -
        which(colnames(nodes_df) %in% "y")[1]
270 +
      column_with_y <- which(colnames(nodes_df) %in% "y")[1]
274 271
275 272
      if (!is.na(column_with_x) & !is.na(column_with_y)) {
276 -
277 273
        pos <-
278 -
          data.frame(
279 -
            "pos" =
280 -
              paste0(
281 -
                nodes_df[, column_with_x],
282 -
                ",",
283 -
                nodes_df[, column_with_y],
284 -
                "!"),
285 -
            stringsAsFactors = FALSE
274 +
          paste0(
275 +
            nodes_df %>% dplyr::pull(column_with_x), ",",
276 +
            nodes_df %>% dplyr::pull(column_with_y), "!"
286 277
          )
287 278
288 -
        nodes_df$pos <- pos$pos
279 +
        nodes_df <-
280 +
          nodes_df %>%
281 +
          dplyr::mutate(pos = !!pos)
289 282
      }
290 283
291 284
      # Determine whether column 'alpha' exists

Everything is accounted for!

No changes detected that need to be reviewed.
What changes does Codecov check for?
Lines, not adjusted in diff, that have changed coverage data.
Files that introduced coverage data that had none before.
Files that have missing coverage data that once were tracked.
Files Coverage
R 0.06% 81.03%
Project Totals (241 files) 81.03%
Loading