forked from rich-iannone/DiagrammeR
-
Notifications
You must be signed in to change notification settings - Fork 0
/
_pkgdown.yml
331 lines (330 loc) · 9.2 KB
/
_pkgdown.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
articles:
- title: Getting Started
contents:
- node-edge-data-frames
- simple-graphs-ndfs-edfs
- title: Graphviz & Mermaid
contents:
- graphviz-mermaid
reference:
- title: External NDF/EDF
desc: >
These functions create external node data frames (NDFs) and
external edge data frames (EDFs). These specialized tables
can be used to create graphs.
contents:
- create_node_df
- create_edge_df
- combine_ndfs
- combine_edfs
- title: Graph Creation, Rendering, and I/O
desc: >
Graphs can be created, read in, written out, and displayed
with these functions.
contents:
- create_graph
- import_graph
- from_adj_matrix
- from_igraph
- to_igraph
- open_graph
- save_graph
- export_graph
- export_csv
- render_graph
- display_metagraph
- title: Node and Edge Selection
desc: >
Graph nodes or edges can be selected with these functions. This
is useful because some of the Graph Modification functions (ending
with "_ws") and all of the Graph Traversal functions can make use
of the stored selections.
contents:
- select_nodes
- select_nodes_by_id
- select_nodes_by_degree
- select_nodes_in_neighborhood
- select_last_nodes_created
- select_edges
- select_edges_by_node_id
- select_edges_by_edge_id
- select_last_edges_created
- get_selection
- deselect_nodes
- deselect_edges
- invert_selection
- clear_selection
- title: Graph Modification
desc: >
These functions make changes to the graph. We can change many
aspects of the graph: the graph representation itself (e.g.,
adding or removing nodes and edges), or, the attributes of
the nodes and edges (in terms of associated data and aesthetics).
contents:
- add_node
- add_n_nodes
- add_n_nodes_ws
- add_node_df
- add_n_node_clones
- add_node_clones_ws
- add_nodes_from_table
- add_nodes_from_df_cols
- add_edge
- add_edge_df
- add_edges_w_string
- add_edge_clone
- add_forward_edges_ws
- add_reverse_edges_ws
- fully_connect_nodes_ws
- add_edges_from_table
- add_path
- add_cycle
- add_balanced_tree
- add_star
- add_prism
- add_full_graph
- add_grid_2d
- add_grid_3d
- add_gnm_graph
- add_gnp_graph
- add_pa_graph
- add_growing_graph
- add_smallworld_graph
- add_islands_graph
- delete_node
- delete_nodes_ws
- delete_edge
- delete_edges_ws
- delete_loop_edges_ws
- fully_disconnect_nodes_ws
- rev_edge_dir
- rev_edge_dir_ws
- set_node_attrs
- set_node_attrs_ws
- join_node_attrs
- rescale_node_attrs
- copy_node_attrs
- rename_node_attrs
- drop_node_attrs
- mutate_node_attrs
- mutate_node_attrs_ws
- colorize_node_attrs
- recode_node_attrs
- set_df_as_node_attr
- set_node_position
- layout_nodes_w_string
- nudge_node_positions_ws
- set_node_attr_w_fcn
- set_edge_attrs
- set_edge_attrs_ws
- join_edge_attrs
- rescale_edge_attrs
- copy_edge_attrs
- rename_edge_attrs
- drop_edge_attrs
- mutate_edge_attrs
- mutate_edge_attrs_ws
- colorize_edge_attrs
- recode_edge_attrs
- set_df_as_edge_attr
- node_data
- node_aes
- edge_data
- edge_aes
- title: Graph Transformation
desc: >
Wholesale changes to a graph can be made with any of these
functions. Combine two graphs, transform them to different
representations, even change whether the graph is directed
or undirected.
contents:
- combine_graphs
- transform_to_subgraph_ws
- transform_to_complement_graph
- transform_to_min_spanning_tree
- set_graph_undirected
- set_graph_directed
- title: Graph Inspection
desc: >
Sometimes, you'll need to gather information about the
working graph. This collection of functions allows for
extraction of graph components (e.g., ndfs and edfs),
attribute information, counts, node and edge properties,
and more.
contents:
- get_node_df
- get_node_df_ws
- get_node_info
- get_last_nodes_created
- get_node_attrs
- get_node_attrs_ws
- get_degree_distribution
- get_degree_histogram
- get_edge_df
- get_edge_df_ws
- get_edge_info
- get_last_edges_created
- get_edge_attrs
- get_edge_attrs_ws
- get_node_ids
- get_nbrs
- get_common_nbrs
- get_non_nbrs
- get_similar_nbrs
- get_predecessors
- get_successors
- get_all_connected_nodes
- get_articulation_points
- get_periphery
- get_edge_ids
- get_edges
- get_paths
- do_dfs
- do_bfs
- get_attr_dfs
- count_nodes
- count_edges
- count_loop_edges
- count_mutual_node_pairs
- count_asymmetric_node_pairs
- count_automorphisms
- count_unconnected_nodes
- count_unconnected_node_pairs
- count_w_connected_cmpts
- count_s_connected_cmpts
- get_multiedge_count
- get_edge_count_w_multiedge
- get_agg_degree_in
- get_agg_degree_out
- get_agg_degree_total
- get_mean_distance
- get_min_eccentricity
- get_max_eccentricity
- get_reciprocity
- get_girth
- get_adhesion
- get_min_cut_between
- get_degree_in
- get_degree_out
- get_degree_total
- get_betweenness
- get_closeness
- get_pagerank
- get_alpha_centrality
- get_eigen_centrality
- get_authority_centrality
- get_leverage_centrality
- get_radiality
- get_eccentricity
- get_coreness
- get_constraint
- get_closeness_vitality
- get_bridging
- get_dice_similarity
- get_jaccard_similarity
- get_w_connected_cmpts
- get_s_connected_cmpts
- get_cmty_edge_btwns
- get_cmty_walktrap
- get_cmty_louvain
- get_cmty_l_eigenvec
- get_cmty_fast_greedy
- is_node_present
- is_edge_present
- is_edge_loop
- is_edge_multiple
- is_edge_mutual
- is_graph_empty
- is_graph_directed
- is_graph_undirected
- is_graph_simple
- is_graph_weighted
- is_graph_connected
- is_graph_dag
- is_property_graph
- title: Value Caching
desc: >
Think of caching as a way to temporarily store a vector
of values within the graph. Why do this? Well, one could
extract node or edge data as vector, cache that in the
graph, and then later use it as input in another function,
all in the same functional pipeline.
contents:
- set_cache
- get_cache
- delete_cache
- title: Graph Traversal
desc: >
Traversing the graph is useful if you have a defined
graph model and you'd like to explore the connections
and relationships between nodes and edges. Traversals
effectively modify a selection of nodes or edges. With
the modified selection, we can extract related
attributes and work with them.
contents:
- trav_out
- trav_in
- trav_both
- trav_out_edge
- trav_in_edge
- trav_both_edge
- trav_out_node
- trav_in_node
- trav_out_until
- trav_in_until
- trav_reverse_edge
- title: Graph Series
desc: >
A series of graphs can be occasionally useful. It's a
convenient container for a set of closely related graphs
(for example, a network that changes with time).
contents:
- create_graph_series
- add_graph_to_graph_series
- remove_graph_from_graph_series
- filter_graph_series
- count_graphs_in_graph_series
- get_graph_from_graph_series
- get_graph_series_info
- render_graph_from_graph_series
- title: Graph Metadata
desc: >
Graph metadata consist of the attributes that don't
necessarily belong to the individual nodes or edges,
but, may affect their appearance when the graph is
rendered. These metadata can also apply directly to
the graph object itself.
contents:
- add_global_graph_attrs
- delete_global_graph_attrs
- get_global_graph_attr_info
- set_graph_name
- set_graph_time
- set_node_attr_to_display
- set_edge_attr_to_display
- get_graph_name
- get_graph_time
- get_graph_log
- title: Graph Actions
desc: >
Take action! Think of graph actions as little
subroutines that execute at every meaningful
change of the graph.
contents:
- add_graph_action
- delete_graph_actions
- get_graph_actions
- reorder_graph_actions
- trigger_graph_actions
- title: Graphviz
desc: >
Graphviz is a cornerstone technology for
rendering graphs in DiagrammeR. These
functions generate Graphviz code and
render graphs with that code.
contents:
- generate_dot
- grViz
- title: mermaid
contents:
- mermaid