Skip to content

Commit

Permalink
Aggregate documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed Dec 2, 2024
1 parent 68288ba commit 31b6668
Show file tree
Hide file tree
Showing 49 changed files with 160 additions and 160 deletions.
2 changes: 1 addition & 1 deletion gnngraphs/.documenter-siteinfo.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"documenter":{"julia_version":"1.10.5","generation_timestamp":"2024-12-02T12:25:24","documenter_version":"1.8.0"}}
{"documenter":{"julia_version":"1.10.5","generation_timestamp":"2024-12-02T12:29:03","documenter_version":"1.8.0"}}
48 changes: 24 additions & 24 deletions gnngraphs/api/gnngraph/index.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions gnngraphs/api/heterograph/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
julia> hg.ndata[:A].x
2×10 Matrix{Float64}:
0.825882 0.0797502 0.245813 0.142281 0.231253 0.685025 0.821457 0.888838 0.571347 0.53165
0.631286 0.316292 0.705325 0.239211 0.533007 0.249233 0.473736 0.595475 0.0623298 0.159307</code></pre><p>See also <a href="../gnngraph/#GNNGraph"><code>GNNGraph</code></a> for a homogeneous graph type and <a href="../gnngraph/#GNNGraphs.rand_heterograph"><code>rand_heterograph</code></a> for a function to generate random heterographs.</p></div><a class="docs-sourcelink" href="https://github.com/JuliaGraphs/GraphNeuralNetworks.jl/blob/bd1614c941942b01ed5da933b863155eb71ba00a/GNNGraphs/src/gnnheterograph.jl#L7-L84" target="_blank">source</a></section></article><article class="docstring"><header><a class="docstring-article-toggle-button fa-solid fa-chevron-down" href="javascript:;" title="Collapse docstring"></a><a class="docstring-binding" href="#GNNGraphs.edge_type_subgraph-Tuple{GNNHeteroGraph, Tuple{Symbol, Symbol, Symbol}}" id="GNNGraphs.edge_type_subgraph-Tuple{GNNHeteroGraph, Tuple{Symbol, Symbol, Symbol}}"><code>GNNGraphs.edge_type_subgraph</code></a><span class="docstring-category">Method</span><span class="is-flex-grow-1 docstring-article-toggle-button" title="Collapse docstring"></span></header><section><div><pre><code class="language-julia hljs">edge_type_subgraph(g::GNNHeteroGraph, edge_ts)</code></pre><p>Return a subgraph of <code>g</code> that contains only the edges of type <code>edge_ts</code>. Edge types can be specified as a single edge type (i.e. a tuple containing 3 symbols) or a vector of edge types.</p></div><a class="docs-sourcelink" href="https://github.com/JuliaGraphs/GraphNeuralNetworks.jl/blob/bd1614c941942b01ed5da933b863155eb71ba00a/GNNGraphs/src/gnnheterograph.jl#L246-L251" target="_blank">source</a></section></article><article class="docstring"><header><a class="docstring-article-toggle-button fa-solid fa-chevron-down" href="javascript:;" title="Collapse docstring"></a><a class="docstring-binding" href="#GNNGraphs.num_edge_types-Tuple{GNNGraph}" id="GNNGraphs.num_edge_types-Tuple{GNNGraph}"><code>GNNGraphs.num_edge_types</code></a><span class="docstring-category">Method</span><span class="is-flex-grow-1 docstring-article-toggle-button" title="Collapse docstring"></span></header><section><div><pre><code class="language-julia hljs">num_edge_types(g)</code></pre><p>Return the number of edge types in the graph. For <a href="../gnngraph/#GNNGraph"><code>GNNGraph</code></a>s, this is always 1. For <a href="#GNNHeteroGraph"><code>GNNHeteroGraph</code></a>s, this is the number of unique edge types.</p></div><a class="docs-sourcelink" href="https://github.com/JuliaGraphs/GraphNeuralNetworks.jl/blob/bd1614c941942b01ed5da933b863155eb71ba00a/GNNGraphs/src/gnnheterograph.jl#L226-L231" target="_blank">source</a></section></article><article class="docstring"><header><a class="docstring-article-toggle-button fa-solid fa-chevron-down" href="javascript:;" title="Collapse docstring"></a><a class="docstring-binding" href="#GNNGraphs.num_node_types-Tuple{GNNGraph}" id="GNNGraphs.num_node_types-Tuple{GNNGraph}"><code>GNNGraphs.num_node_types</code></a><span class="docstring-category">Method</span><span class="is-flex-grow-1 docstring-article-toggle-button" title="Collapse docstring"></span></header><section><div><pre><code class="language-julia hljs">num_node_types(g)</code></pre><p>Return the number of node types in the graph. For <a href="../gnngraph/#GNNGraph"><code>GNNGraph</code></a>s, this is always 1. For <a href="#GNNHeteroGraph"><code>GNNHeteroGraph</code></a>s, this is the number of unique node types.</p></div><a class="docs-sourcelink" href="https://github.com/JuliaGraphs/GraphNeuralNetworks.jl/blob/bd1614c941942b01ed5da933b863155eb71ba00a/GNNGraphs/src/gnnheterograph.jl#L236-L241" target="_blank">source</a></section></article><article class="docstring"><header><a class="docstring-article-toggle-button fa-solid fa-chevron-down" href="javascript:;" title="Collapse docstring"></a><a class="docstring-binding" href="#Graphs.has_edge-Tuple{GNNHeteroGraph, Tuple{Symbol, Symbol, Symbol}, Integer, Integer}" id="Graphs.has_edge-Tuple{GNNHeteroGraph, Tuple{Symbol, Symbol, Symbol}, Integer, Integer}"><code>Graphs.has_edge</code></a><span class="docstring-category">Method</span><span class="is-flex-grow-1 docstring-article-toggle-button" title="Collapse docstring"></span></header><section><div><pre><code class="language-julia hljs">has_edge(g::GNNHeteroGraph, edge_t, i, j)</code></pre><p>Return <code>true</code> if there is an edge of type <code>edge_t</code> from node <code>i</code> to node <code>j</code> in <code>g</code>.</p><p><strong>Examples</strong></p><pre><code class="language-julia-repl hljs">julia&gt; g = rand_bipartite_heterograph((2, 2), (4, 0), bidirected=false)
0.631286 0.316292 0.705325 0.239211 0.533007 0.249233 0.473736 0.595475 0.0623298 0.159307</code></pre><p>See also <a href="../gnngraph/#GNNGraph"><code>GNNGraph</code></a> for a homogeneous graph type and <a href="../gnngraph/#GNNGraphs.rand_heterograph"><code>rand_heterograph</code></a> for a function to generate random heterographs.</p></div><a class="docs-sourcelink" href="https://github.com/JuliaGraphs/GraphNeuralNetworks.jl/blob/a6e6bd8fdea453b73cf5aeb8c0c17cbb45e88afa/GNNGraphs/src/gnnheterograph.jl#L7-L84" target="_blank">source</a></section></article><article class="docstring"><header><a class="docstring-article-toggle-button fa-solid fa-chevron-down" href="javascript:;" title="Collapse docstring"></a><a class="docstring-binding" href="#GNNGraphs.edge_type_subgraph-Tuple{GNNHeteroGraph, Tuple{Symbol, Symbol, Symbol}}" id="GNNGraphs.edge_type_subgraph-Tuple{GNNHeteroGraph, Tuple{Symbol, Symbol, Symbol}}"><code>GNNGraphs.edge_type_subgraph</code></a><span class="docstring-category">Method</span><span class="is-flex-grow-1 docstring-article-toggle-button" title="Collapse docstring"></span></header><section><div><pre><code class="language-julia hljs">edge_type_subgraph(g::GNNHeteroGraph, edge_ts)</code></pre><p>Return a subgraph of <code>g</code> that contains only the edges of type <code>edge_ts</code>. Edge types can be specified as a single edge type (i.e. a tuple containing 3 symbols) or a vector of edge types.</p></div><a class="docs-sourcelink" href="https://github.com/JuliaGraphs/GraphNeuralNetworks.jl/blob/a6e6bd8fdea453b73cf5aeb8c0c17cbb45e88afa/GNNGraphs/src/gnnheterograph.jl#L246-L251" target="_blank">source</a></section></article><article class="docstring"><header><a class="docstring-article-toggle-button fa-solid fa-chevron-down" href="javascript:;" title="Collapse docstring"></a><a class="docstring-binding" href="#GNNGraphs.num_edge_types-Tuple{GNNGraph}" id="GNNGraphs.num_edge_types-Tuple{GNNGraph}"><code>GNNGraphs.num_edge_types</code></a><span class="docstring-category">Method</span><span class="is-flex-grow-1 docstring-article-toggle-button" title="Collapse docstring"></span></header><section><div><pre><code class="language-julia hljs">num_edge_types(g)</code></pre><p>Return the number of edge types in the graph. For <a href="../gnngraph/#GNNGraph"><code>GNNGraph</code></a>s, this is always 1. For <a href="#GNNHeteroGraph"><code>GNNHeteroGraph</code></a>s, this is the number of unique edge types.</p></div><a class="docs-sourcelink" href="https://github.com/JuliaGraphs/GraphNeuralNetworks.jl/blob/a6e6bd8fdea453b73cf5aeb8c0c17cbb45e88afa/GNNGraphs/src/gnnheterograph.jl#L226-L231" target="_blank">source</a></section></article><article class="docstring"><header><a class="docstring-article-toggle-button fa-solid fa-chevron-down" href="javascript:;" title="Collapse docstring"></a><a class="docstring-binding" href="#GNNGraphs.num_node_types-Tuple{GNNGraph}" id="GNNGraphs.num_node_types-Tuple{GNNGraph}"><code>GNNGraphs.num_node_types</code></a><span class="docstring-category">Method</span><span class="is-flex-grow-1 docstring-article-toggle-button" title="Collapse docstring"></span></header><section><div><pre><code class="language-julia hljs">num_node_types(g)</code></pre><p>Return the number of node types in the graph. For <a href="../gnngraph/#GNNGraph"><code>GNNGraph</code></a>s, this is always 1. For <a href="#GNNHeteroGraph"><code>GNNHeteroGraph</code></a>s, this is the number of unique node types.</p></div><a class="docs-sourcelink" href="https://github.com/JuliaGraphs/GraphNeuralNetworks.jl/blob/a6e6bd8fdea453b73cf5aeb8c0c17cbb45e88afa/GNNGraphs/src/gnnheterograph.jl#L236-L241" target="_blank">source</a></section></article><article class="docstring"><header><a class="docstring-article-toggle-button fa-solid fa-chevron-down" href="javascript:;" title="Collapse docstring"></a><a class="docstring-binding" href="#Graphs.has_edge-Tuple{GNNHeteroGraph, Tuple{Symbol, Symbol, Symbol}, Integer, Integer}" id="Graphs.has_edge-Tuple{GNNHeteroGraph, Tuple{Symbol, Symbol, Symbol}, Integer, Integer}"><code>Graphs.has_edge</code></a><span class="docstring-category">Method</span><span class="is-flex-grow-1 docstring-article-toggle-button" title="Collapse docstring"></span></header><section><div><pre><code class="language-julia hljs">has_edge(g::GNNHeteroGraph, edge_t, i, j)</code></pre><p>Return <code>true</code> if there is an edge of type <code>edge_t</code> from node <code>i</code> to node <code>j</code> in <code>g</code>.</p><p><strong>Examples</strong></p><pre><code class="language-julia-repl hljs">julia&gt; g = rand_bipartite_heterograph((2, 2), (4, 0), bidirected=false)
GNNHeteroGraph:
num_nodes: (:A =&gt; 2, :B =&gt; 2)
num_edges: ((:A, :to, :B) =&gt; 4, (:B, :to, :A) =&gt; 0)
Expand All @@ -48,4 +48,4 @@
true

julia&gt; has_edge(g, (:B,:to,:A), 1, 1)
false</code></pre></div><a class="docs-sourcelink" href="https://github.com/JuliaGraphs/GraphNeuralNetworks.jl/blob/bd1614c941942b01ed5da933b863155eb71ba00a/GNNGraphs/src/query.jl#L58-L77" target="_blank">source</a></section></article></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../gnngraph/">« GNNGraph</a><a class="docs-footer-nextpage" href="../temporalgraph/">TemporalSnapshotsGNNGraph »</a><div class="flexbox-break"></div><p class="footer-message">Powered by <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> and the <a href="https://julialang.org/">Julia Programming Language</a>.</p></nav></div><div class="modal" id="documenter-settings"><div class="modal-background"></div><div class="modal-card"><header class="modal-card-head"><p class="modal-card-title">Settings</p><button class="delete"></button></header><section class="modal-card-body"><p><label class="label">Theme</label></p><div class="select"><select id="documenter-themepicker"><option value="auto">Automatic (OS)</option><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option><option value="catppuccin-latte">catppuccin-latte</option><option value="catppuccin-frappe">catppuccin-frappe</option><option value="catppuccin-macchiato">catppuccin-macchiato</option><option value="catppuccin-mocha">catppuccin-mocha</option></select></div><p></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 1.8.0 on <span class="colophon-date" title="Monday 2 December 2024 12:25">Monday 2 December 2024</span>. Using Julia version 1.10.5.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></HTML>
false</code></pre></div><a class="docs-sourcelink" href="https://github.com/JuliaGraphs/GraphNeuralNetworks.jl/blob/a6e6bd8fdea453b73cf5aeb8c0c17cbb45e88afa/GNNGraphs/src/query.jl#L58-L77" target="_blank">source</a></section></article></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../gnngraph/">« GNNGraph</a><a class="docs-footer-nextpage" href="../temporalgraph/">TemporalSnapshotsGNNGraph »</a><div class="flexbox-break"></div><p class="footer-message">Powered by <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> and the <a href="https://julialang.org/">Julia Programming Language</a>.</p></nav></div><div class="modal" id="documenter-settings"><div class="modal-background"></div><div class="modal-card"><header class="modal-card-head"><p class="modal-card-title">Settings</p><button class="delete"></button></header><section class="modal-card-body"><p><label class="label">Theme</label></p><div class="select"><select id="documenter-themepicker"><option value="auto">Automatic (OS)</option><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option><option value="catppuccin-latte">catppuccin-latte</option><option value="catppuccin-frappe">catppuccin-frappe</option><option value="catppuccin-macchiato">catppuccin-macchiato</option><option value="catppuccin-mocha">catppuccin-mocha</option></select></div><p></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 1.8.0 on <span class="colophon-date" title="Monday 2 December 2024 12:29">Monday 2 December 2024</span>. Using Julia version 1.10.5.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></HTML>
2 changes: 1 addition & 1 deletion gnngraphs/api/samplers/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
julia&gt; for mini_batch_gnn in loader
batch_counter += 1
println("Batch ", batch_counter, ": Nodes in mini-batch graph: ", nv(mini_batch_gnn))
end</code></pre></div><a class="docs-sourcelink" href="https://github.com/JuliaGraphs/GraphNeuralNetworks.jl/blob/bd1614c941942b01ed5da933b863155eb71ba00a/GNNGraphs/src/samplers.jl#L1-L25" target="_blank">source</a></section></article></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../temporalgraph/">« TemporalSnapshotsGNNGraph</a><div class="flexbox-break"></div><p class="footer-message">Powered by <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> and the <a href="https://julialang.org/">Julia Programming Language</a>.</p></nav></div><div class="modal" id="documenter-settings"><div class="modal-background"></div><div class="modal-card"><header class="modal-card-head"><p class="modal-card-title">Settings</p><button class="delete"></button></header><section class="modal-card-body"><p><label class="label">Theme</label></p><div class="select"><select id="documenter-themepicker"><option value="auto">Automatic (OS)</option><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option><option value="catppuccin-latte">catppuccin-latte</option><option value="catppuccin-frappe">catppuccin-frappe</option><option value="catppuccin-macchiato">catppuccin-macchiato</option><option value="catppuccin-mocha">catppuccin-mocha</option></select></div><p></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 1.8.0 on <span class="colophon-date" title="Monday 2 December 2024 12:25">Monday 2 December 2024</span>. Using Julia version 1.10.5.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></HTML>
end</code></pre></div><a class="docs-sourcelink" href="https://github.com/JuliaGraphs/GraphNeuralNetworks.jl/blob/a6e6bd8fdea453b73cf5aeb8c0c17cbb45e88afa/GNNGraphs/src/samplers.jl#L1-L25" target="_blank">source</a></section></article></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../temporalgraph/">« TemporalSnapshotsGNNGraph</a><div class="flexbox-break"></div><p class="footer-message">Powered by <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> and the <a href="https://julialang.org/">Julia Programming Language</a>.</p></nav></div><div class="modal" id="documenter-settings"><div class="modal-background"></div><div class="modal-card"><header class="modal-card-head"><p class="modal-card-title">Settings</p><button class="delete"></button></header><section class="modal-card-body"><p><label class="label">Theme</label></p><div class="select"><select id="documenter-themepicker"><option value="auto">Automatic (OS)</option><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option><option value="catppuccin-latte">catppuccin-latte</option><option value="catppuccin-frappe">catppuccin-frappe</option><option value="catppuccin-macchiato">catppuccin-macchiato</option><option value="catppuccin-mocha">catppuccin-mocha</option></select></div><p></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 1.8.0 on <span class="colophon-date" title="Monday 2 December 2024 12:29">Monday 2 December 2024</span>. Using Julia version 1.10.5.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></HTML>
Loading

0 comments on commit 31b6668

Please sign in to comment.