forked from thomasp85/ggraph
-
Notifications
You must be signed in to change notification settings - Fork 0
/
_pkgdown.yml
164 lines (160 loc) · 4.64 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
destination: docs
url: https://ggraph.data-imaginist.com
authors:
Thomas Lin Pedersen:
href: https://data-imaginist.com
template:
params:
bootswatch: journal
navbar:
left:
- icon: fa-home fa-lg
href: index.html
- text: Reference
href: reference/index.html
- text: Getting Started
menu:
- text: Layouts
href: articles/Layouts.html
- text: Nodes
href: articles/Nodes.html
- text: Edges
href: articles/Edges.html
- text: Articles
menu:
- text: Tidygraph interface
href: articles/tidygraph.html
- text: News
menu:
- text: "Release notes"
- text: "Version 2.0.0"
href: https://www.data-imaginist.com/2019/1-giraffe-2-giraffe-go/
- text: "Version 1.0.0"
href: https://www.data-imaginist.com/2017/announcing-ggraph/
- text: "------------------"
- text: "Change log"
href: news/index.html
right:
- text: tidygraph
href: https://tidygraph.data-imaginist.com
- icon: fa-github fa-lg
href: https://github.com/thomasp85/ggraph
reference:
- title: "Plot Construction"
desc: >
While ggraph builds on top of ggplot2 it uses its own function to
initialise plots, allowing you to set global settings such as layouts etc.
contents:
- ggraph
- qgraph
- title: "Layouts"
desc: >
Layouts specify the spatial positioning of the nodes in the graph. In
addition to calculating x and y coordinates for the nodes some layouts
also calculate additional metrics used when plotting, e.g. width and
height for treemap layouts. Layouts are specified in the `ggraph()` call
or precalculated using `create_layout()`.
contents:
- layout_tbl_graph_auto
- layout_tbl_graph_manual
- layout_tbl_graph_stress
- layout_tbl_graph_igraph
- layout_tbl_graph_backbone
- layout_tbl_graph_pmds
- layout_tbl_graph_eigen
- layout_tbl_graph_centrality
- layout_tbl_graph_focus
- layout_tbl_graph_dendrogram
- layout_tbl_graph_unrooted
- layout_tbl_graph_linear
- layout_tbl_graph_circlepack
- layout_tbl_graph_treemap
- layout_tbl_graph_partition
- layout_tbl_graph_matrix
- layout_tbl_graph_hive
- layout_tbl_graph_fabric
- title: "Nodes"
desc: >
While nodes are often thought of as points in a hairball graph, they are
much more than that, depending on the layout type.
contents:
- geom_node_point
- geom_node_text
- geom_node_tile
- geom_node_voronoi
- geom_node_circle
- geom_node_arc_bar
- geom_node_range
- title: "Edges"
desc: >
Edges are the entities connecting nodes, often drawn with some sort of
line. Certain layouts calls for other types, e.g. a matrix plot where
edges are illustrated with points.
contents:
- geom_edge_link
- geom_edge_arc
- geom_edge_parallel
- geom_edge_fan
- geom_edge_loop
- geom_edge_diagonal
- geom_edge_elbow
- geom_edge_bend
- geom_edge_hive
- geom_edge_span
- geom_edge_point
- geom_edge_tile
- geom_edge_density
- title: "Connections"
desc: >
Connections are meta-edges, connecting nodes that are not direct
neighbors, either through their shortest path or directly.
contents:
- geom_conn_bundle
- title: "Facets"
desc: >
Faceting with networks is a bit different than for tabular data, as you'd
often want to facet only nodes, or edges etc.
contents:
- facet_graph
- facet_nodes
- facet_edges
- title: "Scales"
desc: >
While nodes uses the standard scales provided by ggplot2, edges have their
own, allowing you to have different scaling for nodes and edges.
contents:
- scale_edge_colour
- scale_edge_fill
- scale_edge_alpha
- scale_edge_width
- scale_edge_size
- scale_edge_linetype
- scale_edge_shape
- scale_label_size
- title: "Guides"
desc: >
As for scales, the edge geoms comes with their own guides.
contents:
- guide_edge_direction
- guide_edge_colourbar
- title: "Helpers"
desc: >
ggraph contains an assortment of helpers for various tasks related to
plotting.
contents:
- geom_axis_hive
- get_nodes
- get_edges
- get_con
- geometry
- node_angle
- pack_circles
- theme_graph
- title: "Data"
desc: >
To facilitate playing around ggraph includes a set of small network
datasets
contents:
- flare
- highschool
- whigs