Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/alandefreitas/matplotplusplus
/ main
Function
main
examples/graphs/graph/graph_1.cpp:6–13 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
4
std::vector<std::pair<size_t, size_t>> get_edges();
5
6
int main() {
7
using namespace matplot;
8
auto edges = get_edges();
9
graph(edges);
10
11
show();
12
return 0;
13
}
14
15
std::vector<std::pair<size_t, size_t>> get_edges() {
16
return {
Callers
nothing calls this directly
Calls
3
show
Function · 0.85
get_edges
Function · 0.70
graph
Function · 0.50
Tested by
no test coverage detected