Man pages for DiagrammeR
Graph/Network Visualization

add_balanced_treeAdd a balanced tree to the graph
add_cycleAdd a cycle of nodes to the graph
add_edgeAdd an edge between nodes in a graph object
add_edge_cloneAdd a clone of an existing edge to the graph
add_edge_dfAdd edges from an edge data frame to an existing graph object
add_edges_from_tableAdd edges and attributes to graph from a table
add_edges_w_stringAdd one or more edges using a text string
add_forward_edges_wsAdd new edges with identical definitions as with a selection...
add_full_graphAdd a fully connected graph
add_global_graph_attrsAdd one or more global graph attributes
add_gnm_graphAdd a G(n, m) Erdos-Renyi graph
add_gnp_graphAdd a G(n, p) Erdos-Renyi graph
add_graph_actionAdd a graph action for execution at every transform
add_graph_to_graph_seriesAdd graph object to a graph series object
add_grid_2dAdd a 2D grid of nodes to the graph
add_grid_3dAdd a 3D grid of nodes to the graph
add_growing_graphCreate a random growing graph with m edges added per step
add_islands_graphCreate a random islands graph with edges between the islands
add_mathjaxAdd MathJax-formatted equation text
add_n_node_clonesAdd one or several clones of an existing node to the graph
add_n_nodesAdd one or several unconnected nodes to the graph
add_n_nodes_wsAdd a multiple of new nodes with edges to or from one or more...
add_nodeAdd a node to an existing graph object
add_node_clones_wsAdd clones of a selection of nodes
add_node_dfAdd nodes from a node data frame to an existing graph object
add_nodes_from_df_colsAdd nodes from distinct values in data frame columns
add_nodes_from_tableAdd nodes and attributes to graph from a table
add_pa_graphAdd a preferential attachment graph
add_pathAdd a path of nodes to the graph
add_prismAdd a prism of nodes to the graph
add_reverse_edges_wsAdd new edges in the opposite directions of a selection of...
add_smallworld_graphAdd a Watts-Strogatz small-world graph
add_starAdd a star of nodes to the graph
clear_selectionClear an active selection of nodes or edges
colorize_edge_attrsApply colors based on edge attribute values
colorize_node_attrsApply colors based on node attribute values
combine_edfsCombine multiple edge data frames into a single edge data...
combine_graphsCombine two graphs into a single graph
combine_ndfsCombine multiple node data frames
copy_edge_attrsCopy an edge attribute column and set the name
copy_node_attrsCopy a node attribute column and set the name
count_asymmetric_node_pairsGet the number of asymmetrically-connected node pairs
count_automorphismsGet the number of automorphisms
count_edgesGet a count of all edges
count_graphs_in_graph_seriesCount graphs in a graph series object
count_loop_edgesGet count of all loop edges
count_mutual_node_pairsGet the number of mutually-connected node pairs
count_nodesGet a count of all nodes
count_s_connected_cmptsGet the number of strongly-connected components
count_unconnected_node_pairsGet the number of unconnected node pairs
count_unconnected_nodesGet count of all unconnected nodes
count_w_connected_cmptsGet the number of weakly-connected components
create_edge_dfCreate an edge data frame
create_graphCreate a graph object
create_graph_seriesCreate a graph series object
create_node_dfCreate a node data frame
currenciesISO-4217 currency data.
delete_cacheDelete vectors cached in a graph object
delete_edgeDelete an edge from an existing graph object
delete_edges_wsDelete all selected edges in an edge selection
delete_global_graph_attrsDelete one of the global graph attributes stored within a...
delete_graph_actionsDelete one or more graph actions stored within a graph object
delete_loop_edges_wsDelete all loop edges associated with a selection of nodes
delete_nodeDelete a node from an existing graph object
delete_nodes_wsDelete all nodes in a node selection
deselect_edgesDeselect any selected edges in a graph
deselect_nodesDeselect any selected nodes in a graph
DiagrammeRR + mermaid.js
DiagrammeROutputWidget output function for use in Shiny
display_metagraphDisplay a property graph's underlying model
do_bfsUse the breadth-first search (bfs) algorithm
do_dfsUse the depth-first search (dfs) algorithm
drop_edge_attrsDrop an edge attribute column
drop_node_attrsDrop a node attribute column
edge_aesInsert edge aesthetic attributes during edge creation
edge_dataInsert edge data attributes during edge creation
edge_list_1Edge list - Version 1.
edge_list_2Edge list - Version 2.
export_csvExport a graph to CSV files
export_graphExport a graph to various image formats
filter_graph_seriesSubset a graph series object
from_adj_matrixCreate a graph using an adjacency matrix
from_igraphConvert an igraph graph to a DiagrammeR one
fully_connect_nodes_wsFully connect all nodes in a selection of nodes
fully_disconnect_nodes_wsFully disconnect all nodes in a selection of nodes
generate_dotGenerate DOT code using a graph object
get_adhesionGet graph adhesion
get_agg_degree_inGet an aggregate value from the indegree of nodes
get_agg_degree_outGet an aggregate value from the outdegree of nodes
get_agg_degree_totalGet an aggregate value from the total degree of nodes
get_all_connected_nodesGet all nodes connected to a specified node
get_alpha_centralityGet the alpha centrality for all nodes
get_articulation_pointsGet articulation points
get_authority_centralityGet the authority scores for all nodes
get_betweennessGet betweenness centrality scores
get_cacheGet a cached vector from a graph object
get_closenessGet closeness centrality values
get_closeness_vitalityGet closeness vitality
get_cmty_edge_btwnsGet community membership by edge betweenness
get_cmty_fast_greedyGet community membership by modularity optimization
get_cmty_l_eigenvecGet community membership by leading eigenvector
get_cmty_louvainGet community membership by Louvain optimization
get_cmty_walktrapGet community membership using the Walktrap method
get_common_nbrsGet all common neighbors between two or more nodes
get_corenessGet coreness values for graph nodes
get_degree_distributionGet total degree distribution data for a graph
get_degree_histogramGet histogram data for a graph's degree frequency
get_degree_inGet indegree values for all nodes
get_degree_outGet outdegree values for all nodes
get_degree_totalGet total degree values for all nodes
get_dice_similarityGet Dice similarity coefficient scores
get_eccentricityGet node eccentricities
get_edge_attrsGet edge attribute values
get_edge_attrs_wsGet edge attribute values from a selection of edges
get_edge_count_w_multiedgeGet count of edge definitions where multiple edges occur
get_edge_dfGet an edge data frame from a graph
get_edge_df_wsGet the graph's edf filtered by a selection of edges
get_edge_idsGet a vector of edge ID values
get_edge_infoGet detailed information on edges
get_edgesGet node IDs associated with edges
get_eigen_centralityGet the eigen centrality for all nodes
get_girthGet the graph girth
get_global_graph_attr_infoGet global graph attributes
get_graph_actionsGet information on any available graph actions
get_graph_from_graph_seriesGet a graph available in a series
get_graph_infoGet metrics for a graph
get_graph_logGet the graph log information
get_graph_nameGet graph name
get_graph_series_infoGet information on a graph series
get_graph_timeGet the graph date-time or timezone
get_jaccard_similarityGet Jaccard similarity coefficient scores
get_last_edges_createdGet the last set of edges created in a graph
get_last_nodes_createdGet the last set of nodes created in a graph
get_leverage_centralityGet leverage centrality
get_max_eccentricityGet the maximum graph eccentricity
get_mean_distanceGet the mean distance
get_min_cut_betweenGet the minimum cut between source and sink nodes
get_min_eccentricityGet the minimum graph eccentricity
get_multiedge_countGet the count of multiple edges
get_nbrsGet all neighbors of one or more nodes
get_node_attrsGet node attribute values
get_node_attrs_wsGet node attribute values from a selection of nodes
get_node_dfGet a node data frame from a graph
get_node_df_wsGet the graph's ndf filtered by a selection of nodes
get_node_idsGet a vector of node ID values
get_node_infoGet detailed information on nodes
get_non_nbrsGet non-neighbors of a node in a graph
get_pagerankGet the PageRank values for all nodes
get_pathsGet paths from a specified node in a directed graph
get_peripheryGet nodes that form the graph periphery
get_predecessorsGet node IDs for predecessor nodes to the specified node
get_radialityGet radiality centrality scores
get_reciprocityGet the graph reciprocity
get_s_connected_cmptsGet nodes within strongly connected components
get_selectionGet the current selection available in a graph object
get_similar_nbrsGet neighboring nodes based on node attribute similarity
get_successorsGet node IDs for successor nodes to the specified node
get_w_connected_cmptsGet all nodes associated with connected components
grVizR + viz.js
grVizOutputWidget output function for use in Shiny
import_graphImport a graph from various graph formats
invert_selectionInvert selection of nodes or edges in a graph
is_edge_loopIs the edge a loop edge?
is_edge_multipleIs the edge a multiple edge?
is_edge_mutualIs the edge mutual with another edge?
is_edge_presentDetermine whether a specified edge is present
is_graph_connectedIs the graph a connected graph?
is_graph_dagIs the graph a directed acyclic graph?
is_graph_directedIs the graph a directed graph?
is_graph_emptyIs the graph empty?
is_graph_simpleIs the graph a simple graph?
is_graph_undirectedIs the graph an undirected graph?
is_graph_weightedIs the graph a weighted graph?
is_node_presentDetermine whether a specified node is present
is_property_graphIs the graph a property graph?
join_edge_attrsJoin new edge attribute values using a data frame
join_node_attrsJoin new node attribute values using a data frame
layout_nodes_w_stringLayout nodes using a text-based schematic
mermaidR + mermaid.js
mutate_edge_attrsMutate a set of edge attribute values
mutate_edge_attrs_wsMutate edge attribute values for a selection of edges
mutate_node_attrsMutate a set of node attribute values
mutate_node_attrs_wsMutate node attribute values for a selection of nodes
node_aesInsert node aesthetic attributes during node creation
node_dataInsert node data attributes during node creation
node_edge_aes_dataOptions for node and edge aesthetics and data
node_list_1Node list - Version 1.
node_list_2Node list - Version 2.
nudge_node_positions_wsMove layout positions of a selection of nodes
open_graphRead a graph or graph series from disk
pipePipe operator
print.dgr_graphPrint the graph to the terminal
recode_edge_attrsRecode a set of edge attribute values
recode_node_attrsRecode a set of node attribute values
remove_graph_from_graph_seriesRemove a graph from a graph series
rename_edge_attrsRename an edge attribute
rename_node_attrsRename a node attribute
renderDiagrammeRWidget render function for use in Shiny
render_graphRender the graph in various formats
render_graph_from_graph_seriesRender a graph available in a series
renderGrVizWidget render function for use in Shiny
reorder_graph_actionsReorder the stored series of graph actions
replace_in_specRazor-like template for diagram specification
rescale_edge_attrsRescale numeric edge attribute values
rescale_node_attrsRescale numeric node attribute values
rev_edge_dirReverse the direction of all edges in a graph
rev_edge_dir_wsReverse the direction of selected edges in a graph using an...
save_graphSave a graph or graph series to disk
select_edgesSelect edges in a graph
select_edges_by_edge_idSelect edges in a graph using edge ID values
select_edges_by_node_idSelect edges in a graph using node ID values
select_last_edges_createdSelect the last set of edges created in a graph
select_last_nodes_createdSelect the last set of nodes created in a graph
select_nodesSelect nodes in a graph
select_nodes_by_degreeSelect nodes in the graph based on their degree values
select_nodes_by_idSelect nodes in a graph by their ID values
select_nodes_in_neighborhoodSelect nodes based on a walk distance from a specified node
set_cacheCache a vector in the graph
set_edge_attrsSet edge attribute values
set_edge_attrs_wsSet edge attributes with an edge selection
set_edge_attr_to_displaySet the edge attribute values to be rendered
set_graph_directedConvert an undirected graph to a directed graph
set_graph_nameSet graph name
set_graph_timeSet graph date-time and timezone
set_graph_undirectedConvert a directed graph to an undirected graph
set_node_attrsSet node attribute values
set_node_attrs_wsSet node attributes with a node selection
set_node_attr_to_displaySet the node attribute values to be rendered
set_node_attr_w_fcnSet node attribute values with a graph function
set_node_positionApply a layout position to a single node
to_igraphConvert a DiagrammeR graph to an igraph one
transform_to_complement_graphCreate a complement of a graph
transform_to_min_spanning_treeGet a minimum spanning tree subgraph
transform_to_subgraph_wsCreate a subgraph using a node or edge selection
trav_bothTraverse from one or more selected nodes onto neighboring...
trav_both_edgeTraverse from one or more selected nodes onto adjacent edges
trav_inTraverse from one or more selected nodes onto adjacent,...
trav_in_edgeTraverse from one or more selected nodes onto adjacent,...
trav_in_nodeTraverse from one or more selected edges onto adjacent,...
trav_in_untilTraverse inward node-by-node until stopping conditions are...
trav_outTraverse from one or more selected nodes onto adjacent,...
trav_out_edgeTraverse from one or more selected nodes onto adjacent,...
trav_out_nodeTraverse from one or more selected edges onto adjacent,...
trav_out_untilTraverse outward node-by-node until stopping conditions are...
trav_reverse_edgeTraverse to any reverse edges
trigger_graph_actionsTrigger the execution of a series of graph actions
usd_exchange_ratesUS Dollar exchange rates.
visnetworkRender graph with visNetwork
x11_hexX11 colors and hexadecimal color values
DiagrammeR documentation built on May 31, 2023, 6:14 p.m.