Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: reorganize function reference #662

Merged
merged 58 commits into from
Mar 13, 2023
Merged
Show file tree
Hide file tree
Changes from 6 commits
Commits
Show all changes
58 commits
Select commit Hold shift + click to select a range
e5a1cb8
start titles improvements
maelle Feb 6, 2023
995c283
more of the same
maelle Feb 6, 2023
61a2adb
merging
maelle Feb 6, 2023
bb19420
more of the same
maelle Feb 6, 2023
22b4056
more reorg
maelle Feb 6, 2023
1d5addd
more reorg
maelle Feb 6, 2023
331e2c9
fix case
maelle Feb 6, 2023
3d85f97
undo automatic changes
maelle Feb 6, 2023
9ec21d5
rename family tag too
maelle Feb 6, 2023
814233d
regroup constructors
maelle Feb 6, 2023
9a59504
oops
maelle Feb 6, 2023
c155d64
more regrouping
maelle Feb 6, 2023
db8e05e
add authority_score() to centrality family
maelle Feb 6, 2023
f566e65
create topology title with isomorphism and automorphism as subtitles
maelle Feb 6, 2023
2c71a37
add more family tags in operators.R
maelle Feb 6, 2023
be0a104
add two functions to modifiers
maelle Feb 6, 2023
f660b1b
add missing family tag
maelle Feb 6, 2023
a0a4469
embedding family
maelle Feb 6, 2023
236337d
tweaks
maelle Feb 6, 2023
06cced4
add hub_score in centrality
maelle Feb 6, 2023
22a8294
no more "other"
maelle Feb 6, 2023
ea8a165
tweaks
maelle Feb 6, 2023
6819f35
tweaks
maelle Feb 6, 2023
01633bd
more tweaking
maelle Feb 6, 2023
9fad8c5
force a build here
maelle Feb 6, 2023
a70d980
place found for Adjacency matrices
maelle Feb 6, 2023
163dd55
conversion under utilities
maelle Feb 6, 2023
431667a
Env and data under utilities
maelle Feb 6, 2023
02162af
fit under utilities
maelle Feb 6, 2023
5c1e20b
clarify title
maelle Feb 6, 2023
f90f364
rm dup
maelle Feb 6, 2023
bbeba61
rm "other" section
maelle Feb 6, 2023
317fb24
consolidate printing
maelle Feb 6, 2023
03437f8
use feedback
maelle Feb 6, 2023
9c52e65
add 2 functions
maelle Feb 6, 2023
c878ec4
add triangles
maelle Feb 6, 2023
ea64fbd
move graph matching
maelle Feb 6, 2023
ed66dbc
Merge branch 'main' into reference-reorg
krlmlr Feb 7, 2023
bc98ede
rm man/roxygen
maelle Feb 16, 2023
973b5af
reorganization as explained in https://github.com/igraph/rigraph/pull…
maelle Feb 16, 2023
6e0a059
place games directly after deterministic constructors
maelle Feb 16, 2023
5896cd4
keep capitalization consistent
maelle Feb 16, 2023
091f374
rename section
maelle Feb 16, 2023
82aa2a3
abc order + srand
maelle Feb 16, 2023
a071a8a
more reorg
maelle Feb 16, 2023
ae1ab98
more reorg
maelle Feb 16, 2023
92ba547
more reorg
maelle Feb 16, 2023
699ce44
console() is fixed
maelle Feb 20, 2023
b252ebe
make internal actually internal :facepalm:
maelle Feb 20, 2023
e69fcf6
make layout.grid.3d internal
maelle Feb 20, 2023
ea2e9e2
Scan statistics as subsection of structural properties
maelle Feb 20, 2023
5a69c3b
edit
maelle Mar 6, 2023
5c2bf0d
last tweaks? :-)
maelle Mar 7, 2023
c0dd825
gitignored on main
maelle Mar 7, 2023
7b81269
Merge branch 'main' into reference-reorg
krlmlr Mar 7, 2023
a1d5281
fix conflicts
maelle Mar 13, 2023
48e88da
rm pr hack :-)
maelle Mar 13, 2023
2d25e9f
merge main
maelle Mar 13, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 16 additions & 16 deletions R/attributes.R
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
#' @return A list of graph attributes, or a single graph attribute.
#'
#' @aliases get.graph.attribute graph.attributes
#' @family graph attributes
#' @family attributes
#'
#' @export
#' @examples
Expand Down Expand Up @@ -72,7 +72,7 @@ graph_attr <- function(graph, name) {
#' @return The graph, with the attribute(s) added.
#'
#' @aliases graph.attributes<-
#' @family graph attributes
#' @family attributes
#'
#' @export
#' @examples
Expand Down Expand Up @@ -102,7 +102,7 @@ graph_attr <- function(graph, name) {
#' @param value New value of the attribute.
#' @return The graph with the new graph attribute added or set.
#'
#' @family graph attributes
#' @family attributes
#' @aliases set.graph.attribute
#'
#' @export
Expand Down Expand Up @@ -152,7 +152,7 @@ graph.attributes <- function(graph) {
#' all vertex attributes, if `name` is missing.
#'
#' @aliases get.vertex.attribute vertex.attributes
#' @family graph attributes
#' @family attributes
#'
#' @export
#' @examples
Expand Down Expand Up @@ -197,7 +197,7 @@ vertex_attr <- function(graph, name, index = V(graph)) {
#' @return The graph, with the vertex attribute(s) added or set.
#'
#' @aliases vertex.attributes<-
#' @family graph attributes
#' @family attributes
#'
#' @export
#' @examples
Expand Down Expand Up @@ -229,7 +229,7 @@ vertex_attr <- function(graph, name, index = V(graph)) {
#' @return The graph, with the vertex attribute added or set.
#'
#' @aliases set.vertex.attribute
#' @family graph attributes
#' @family attributes
#'
#' @export
#' @examples
Expand Down Expand Up @@ -363,7 +363,7 @@ vertex.attributes <- function(graph, index = V(graph)) {
#' edge attributes if `name` is missing.
#'
#' @aliases get.edge.attribute edge.attributes
#' @family graph attributes
#' @family attributes
#'
#' @export
#' @examples
Expand Down Expand Up @@ -407,7 +407,7 @@ edge_attr <- function(graph, name, index = E(graph)) {
#' @return The graph, with the edge attribute(s) added or set.
#'
#' @aliases edge.attributes<-
#' @family graph attributes
#' @family attributes
#'
#' @export
#' @examples
Expand Down Expand Up @@ -439,7 +439,7 @@ edge_attr <- function(graph, name, index = E(graph)) {
#' @return The graph, with the edge attribute added or set.
#'
#' @aliases set.edge.attribute
#' @family graph attributes
#' @family attributes
#'
#' @export
#' @examples
Expand Down Expand Up @@ -567,7 +567,7 @@ edge.attributes <- function(graph, index = E(graph)) {
#' @return Character vector, the names of the graph attributes.
#'
#' @aliases list.graph.attributes attributes
#' @family graph attributes
#' @family attributes
#'
#' @export
#' @examples
Expand All @@ -590,7 +590,7 @@ graph_attr_names <- function(graph) {
#' @return Character vector, the names of the vertex attributes.
#'
#' @aliases list.vertex.attributes
#' @family graph attributes
#' @family attributes
#'
#' @export
#' @examples
Expand All @@ -617,7 +617,7 @@ vertex_attr_names <- function(graph) {
#' @return Character vector, the names of the edge attributes.
#'
#' @aliases list.edge.attributes
#' @family graph attributes
#' @family attributes
#'
#' @export
#' @examples
Expand All @@ -643,7 +643,7 @@ edge_attr_names <- function(graph) {
#' @return The graph, with the specified attribute removed.
#'
#' @aliases remove.graph.attribute
#' @family graph attributes
#' @family attributes
#'
#' @export
#' @examples
Expand Down Expand Up @@ -673,7 +673,7 @@ delete_graph_attr <- function(graph, name) {
#' @return The graph, with the specified vertex attribute removed.
#'
#' @aliases remove.vertex.attribute
#' @family graph attributes
#' @family attributes
#'
#' @export
#' @examples
Expand Down Expand Up @@ -704,7 +704,7 @@ delete_vertex_attr <- function(graph, name) {
#' @return The graph, with the specified edge attribute removed.
#'
#' @aliases remove.edge.attribute
#' @family graph attributes
#' @family attributes
#'
#' @export
#' @examples
Expand Down Expand Up @@ -971,7 +971,7 @@ NULL
#' @method $ igraph
#' @name igraph-dollar
#' @export
#' @family graph attributes
#' @family attributes
#' @examples
#' g <- make_ring(10)
#' g$name
Expand Down
2 changes: 1 addition & 1 deletion R/iterators.R
Original file line number Diff line number Diff line change
Expand Up @@ -1063,7 +1063,7 @@ simple_es_index <- function(x, i, na_ok = FALSE) {
#'
#' @export
#' @family vertex and edge sequences
#' @family graph attributes
#' @family attributes
#' @examples
#' g <- make_(
#' ring(10),
Expand Down
109 changes: 33 additions & 76 deletions _pkgdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,40 +4,37 @@ template:
bootstrap: 5

reference:
- title: Adjacency
- title: Adjacency matrices
- contents:
- has_concept("adjacency")
- title: Graph attributes
- title: Vertex, edge and graph attributes
- contents:
- has_concept("graph attributes")
- title: Structural queries
- contents:
- has_concept("structural queries")
- title: Bipartite
- title: Bipartite graphs
- contents:
- has_concept("bipartite")
- title: Centrality
- has_concept("incidence")
- title: Centrality measures
- contents:
- has_concept("centrality")
- has_concept("efficiency")
- title: Centralization related
- contents:
- has_concept("centralization related")
- title: Cliques
- contents:
- has_concept("cliques")
- title: Cocitation
- contents:
- has_concept("cocitation")
- title: Cohesive blocks
- contents:
- has_concept("cohesive.blocks")
- title: Coloring
- has_concept("glet")
- title: Graph coloring
- contents:
- has_concept("coloring")
- title: Community
- title: Community detection
- contents:
- has_concept("community")
- title: Components
- title: Connected components
- contents:
- has_concept("components")
- title: Console
Expand All @@ -49,28 +46,23 @@ reference:
- title: Deterministic constructors
- contents:
- has_concept("deterministic constructors")
- title: Decomposition
- contents:
- has_concept("decomposition")
- title: Graphical degree sequences
- contents:
- has_concept("graphical degree sequences")
- title: Demo
- contents:
- has_concept("demo")
- title: Efficiency
- contents:
- has_concept("efficiency")
- title: Latent position vector samplers
- contents:
- has_concept("latent position vector samplers")
- title: Env and data
- contents:
- has_concept("env-and-data")
- title: Epi
- title: Processes on graphs
- contents:
- has_concept("epi")
- title: Eulerian
- has_concept("random_walk")
- title: Graph cycles
- contents:
- has_concept("eulerian")
- title: Fit
Expand All @@ -79,21 +71,15 @@ reference:
- title: Flow
- contents:
- has_concept("flow")
- title: Foreign
- title: Foreign format readers
- contents:
- has_concept("foreign")
- title: Games
- title: Random graph models (games)
- contents:
- has_concept("games")
- title: Glet
- contents:
- has_concept("glet")
- title: Hierarchical random graph functions
- contents:
- has_concept("hierarchical random graph functions")
- title: Incidence
- contents:
- has_concept("incidence")
- title: Structural queries
- contents:
- has_concept("structural queries")
Expand All @@ -103,85 +89,53 @@ reference:
- title: Functions for manipulating graph structure
- contents:
- has_concept("functions for manipulating graph structure")
- title: Structural queries
- contents:
- has_concept("structural queries")
- title: Vertex and edge sequences
- contents:
- has_concept("vertex and edge sequences")
- title: Vertex and edge sequence operations
- contents:
- has_concept("vertex and edge sequence operations")
- title: Graph attributes
- contents:
- has_concept("graph attributes")
- title: Graph layouts
- title: Visualization
- contents:
- has_concept("graph layouts")
- title: Layout modifiers
- contents:
- has_concept("layout modifiers")
- title: Layout drl
- contents:
- has_concept("layout_drl")
- has_concept("palettes")
- has_concept("plot")
- has_concept("plot.common")
- has_concept("plot.shapes")
- title: Constructor modifiers
- contents:
- has_concept("constructor modifiers")
- title: Deterministic constructors
- contents:
- has_concept("deterministic constructors")
- title: Minimum spanning tree
- contents:
- has_concept("minimum.spanning.tree")
- title: Graph motifs
- contents:
- has_concept("graph motifs")
- title: Nexus
- contents:
- has_concept("nexus")
- title: Functions for manipulating graph structure
- contents:
- has_concept("functions for manipulating graph structure")
- title: Other
- contents:
- has_concept("other")
- title: Palettes
- contents:
- has_concept("palettes")
- title: Igraph options
- title: igraph options
- contents:
- has_concept("igraph options")
- title: Paths
- contents:
- has_concept("paths")
- title: Plot
- contents:
- has_concept("plot")
- title: Plot common
- contents:
- has_concept("plot.common")
- title: Plot shapes
- contents:
- has_concept("plot.shapes")
- title: Print
- contents:
- has_concept("print")
- title: Printer callbacks
- contents:
- has_concept("printer callbacks")
- title: Random walk
- contents:
- has_concept("random_walk")
- title: Rewiring functions
- contents:
- has_concept("rewiring functions")
- title: Scan statistics
- contents:
- has_concept("scan statistics")
- title: Scg
- title: Spectral Coarse Graining
- contents:
- has_concept("scg")
- title: Sgm
- title: Graph matching
- contents:
- has_concept("sgm")
- title: Similarity
Expand All @@ -190,33 +144,36 @@ reference:
- title: Simple
- contents:
- has_concept("simple")
- title: Socnet
- title: Interactive functions
- contents:
- has_concept("socnet")
- has_concept("tkplot")
- title: Structural properties
- contents:
- has_concept("structural.properties")
- has_concept("cocitation")
- has_concept("cohesive.blocks")
- has_concept("decomposition")
- has_concept("triangles")
- title: Structural queries
- contents:
- has_concept("structural queries")
- title: Test
- contents:
- has_concept("test")
- title: Tkplot
- contents:
- has_concept("tkplot")
- title: Graph isomorphism
- contents:
- has_concept("graph isomorphism")
- title: Trees
- contents:
- has_concept("trees")
- title: Triangles
- contents:
- has_concept("triangles")
- has_concept("minimum.spanning.tree")
- title: Versions
- contents:
- has_concept("versions")
- title: Others
- contents:
- lacks_concepts(c("adjacency", "graph attributes", "structural queries", "bipartite", "centrality", "centralization related", "cliques", "cocitation", "cohesive.blocks", "coloring", "community", "components", "console", "conversion", "deterministic constructors", "decomposition", "graphical degree sequences", "demo", "efficiency", "latent position vector samplers", "env-and-data", "epi", "eulerian", "fit", "flow", "foreign", "games", "glet", "hierarchical random graph functions", "incidence", "structural queries", "functions for manipulating graph structure", "functions for manipulating graph structure", "structural queries", "vertex and edge sequences", "vertex and edge sequence operations", "graph attributes", "graph layouts", "layout modifiers", "layout_drl", "constructor modifiers", "deterministic constructors", "minimum.spanning.tree", "graph motifs", "nexus", "functions for manipulating graph structure", "other", "palettes", "igraph options", "paths", "plot", "plot.common", "plot.shapes", "print", "printer callbacks", "random_walk", "rewiring functions", "scan statistics", "scg", "sgm", "similarity", "simple", "socnet", "structural.properties", "structural queries", "test", "tkplot", "graph isomorphism", "trees", "triangles", "versions"))
- title: Internal
- contents:
- has_concept("nexus")
Loading