color_edges_by_nodes | R Documentation |
Colorize igraph edges using node colors
color_edges_by_nodes(
g,
edge_alpha = NULL,
Crange = c(0, 100),
Lrange = c(0, 65),
...
)
g |
|
edge_alpha |
|
... |
additional arguments are passed to |
This function colorizes edges by blending colors for the
nodes involved, by calling colorjam::blend_colors()
.
The color for each node depends upon the node shape, so the color or colors used to render each node shape will be used for the edge. For example:
shape="pie"
uses the average color from V(g)$pie.color
shape="coloredrectangle"
uses the avereage color from
V(g)$coloredrect.color
everything else uses V(g)$color
igraph
object with edge color attribute updated to
represent the result of blending node colors, seen by
igraph::edge_attr(g)$color
.
Other jam igraph functions:
cnet2df()
,
cnet2im()
,
cnetplotJam()
,
cnetplot_internalJam()
,
color_edges_by_nodegroups()
,
color_edges_by_nodes_deprecated()
,
color_nodes_by_nodegroups()
,
communities2nodegroups()
,
drawEllipse()
,
edge_bundle_bipartite()
,
edge_bundle_nodegroups()
,
enrichMapJam()
,
fixSetLabels()
,
flip_edges()
,
get_bipartite_nodeset()
,
igraph2pieGraph()
,
jam_igraph()
,
jam_plot_igraph()
,
label_communities()
,
layout_with_qfrf()
,
layout_with_qfr()
,
mem2emap()
,
memIM2cnet()
,
mem_multienrichplot()
,
nodegroups2communities()
,
rectifyPiegraph()
,
relayout_with_qfr()
,
removeIgraphBlanks()
,
removeIgraphSinglets()
,
reorderIgraphNodes()
,
rotate_igraph_layout()
,
spread_igraph_labels()
,
subgraph_jam()
,
subsetCnetIgraph()
,
subset_igraph_components()
,
sync_igraph_communities()
,
with_qfr()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.