nice_vertex_label_colors: Produce a vector of suitable vector colors depending on the...

Description Usage Arguments

View source: R/plot.R

Description

Produce a vector of suitable vector colors depending on the vertex' state.

Usage

1
2
nice_vertex_label_colors(graph, previous = NULL, colors = c("black",
  "darkgray", wes_palette("Royal1")[2]))

Arguments

graph

The spgraph object.

previous

The spgraph object of the last iteration. If provided, changed min_dists will be highlighted.

colors

A c(normal, infinite distance, highlight) color tuple


huoston/shortestpath documentation built on May 25, 2019, 8:18 a.m.