MCPcopy Create free account
hub / github.com/alandefreitas/matplotplusplus / main

Function main

examples/graphs/digraph/digraph_1.cpp:6–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4std::vector<std::pair<size_t, size_t>> get_edges();
5
6int main() {
7 using namespace matplot;
8 std::vector<std::pair<size_t, size_t>> edges = {
9 {0, 1}, {0, 2}, {0, 3}, {0, 4}, {1, 5}, {1, 6}, {1, 7},
10 {1, 8}, {1, 9}, {1, 10}, {1, 11}, {1, 12}, {1, 13}, {1, 14},
11 {14, 15}, {14, 16}, {14, 17}, {14, 18}, {14, 19}};
12 digraph(edges);
13
14 show();
15 return 0;
16}

Callers

nothing calls this directly

Calls 2

showFunction · 0.85
digraphFunction · 0.50

Tested by

no test coverage detected