Skip to contents

highlight_edge highlight edges

Usage

highlight_edge(
  edge_name = NULL,
  highlight_color = "red",
  directed = TRUE,
  filter = NULL,
  change_label_color = TRUE,
  glow = FALSE,
  glow_fixed_color = FALSE,
  glow_base_size = FALSE,
  glow_edge_size = 0.3,
  use_ggfx = NULL,
  ggfx_params = list()
)

Arguments

edge_name

edges to highlight vector of two nodes, or matrix of two nodes if name argument is not in the graph, index value

highlight_color

highlighting color

directed

whether to treat `edge_name` as directed or undirected, default to TRUE

filter

filter arguments of edge attributes in string

change_label_color

whether to change label colors

glow

use glow highlighting

glow_fixed_color

use glow highlighting with fixed color, specified by `highlight_color` (default: FALSE, use the raw color of the nodes)

glow_base_size

use base size of the node for initial size of glowing

glow_edge_size

argument to control how big the glowing will be

use_ggfx

use ggfx geom to highlight, default to NULL

ggfx_params

ggfx parameters