|
| 1 | +#ifndef CPP_GRAPHTRACER_H |
| 2 | +#define CPP_GRAPHTRACER_H |
| 3 | + |
| 4 | +#include "Tracer.h" |
| 5 | + |
| 6 | +class GraphTracer : Tracer { |
| 7 | +public: |
| 8 | + GraphTracer(string title = ""); |
| 9 | + |
| 10 | + GraphTracer set(json array2d); |
| 11 | + |
| 12 | + GraphTracer set(); |
| 13 | + |
| 14 | + GraphTracer reset(); |
| 15 | + |
| 16 | + GraphTracer delay(); |
| 17 | + |
| 18 | + GraphTracer directed(json isDirected); |
| 19 | + |
| 20 | + GraphTracer directed(); |
| 21 | + |
| 22 | + GraphTracer weighted(json isWeighted); |
| 23 | + |
| 24 | + GraphTracer weighted(); |
| 25 | + |
| 26 | + GraphTracer addNode(json id, json weight, json x, json y, json visitedCount, json selectedCount); |
| 27 | + |
| 28 | + GraphTracer addNode(json id, json weight, json x, json y, json visitedCount); |
| 29 | + |
| 30 | + GraphTracer addNode(json id, json weight, json x, json y); |
| 31 | + |
| 32 | + GraphTracer addNode(json id, json weight, json x); |
| 33 | + |
| 34 | + GraphTracer addNode(json id, json weight); |
| 35 | + |
| 36 | + GraphTracer addNode(json id); |
| 37 | + |
| 38 | + GraphTracer updateNode(json id, json weight, json x, json y, json visitedCount, json selectedCount); |
| 39 | + |
| 40 | + GraphTracer updateNode(json id, json weight, json x, json y, json visitedCount); |
| 41 | + |
| 42 | + GraphTracer updateNode(json id, json weight, json x, json y); |
| 43 | + |
| 44 | + GraphTracer updateNode(json id, json weight, json x); |
| 45 | + |
| 46 | + GraphTracer updateNode(json id, json weight); |
| 47 | + |
| 48 | + GraphTracer updateNode(json id); |
| 49 | + |
| 50 | + GraphTracer removeNode(json id); |
| 51 | + |
| 52 | + GraphTracer addEdge(json source, json target, json weight, json visitedCount, json selectedCount); |
| 53 | + |
| 54 | + GraphTracer addEdge(json source, json target, json weight, json visitedCount); |
| 55 | + |
| 56 | + GraphTracer addEdge(json source, json target, json weight); |
| 57 | + |
| 58 | + GraphTracer addEdge(json source, json target); |
| 59 | + |
| 60 | + GraphTracer updateEdge(json source, json target, json weight, json visitedCount, json selectedCount); |
| 61 | + |
| 62 | + GraphTracer updateEdge(json source, json target, json weight, json visitedCount); |
| 63 | + |
| 64 | + GraphTracer updateEdge(json source, json target, json weight); |
| 65 | + |
| 66 | + GraphTracer updateEdge(json source, json target); |
| 67 | + |
| 68 | + GraphTracer removeEdge(json source, json target); |
| 69 | + |
| 70 | + GraphTracer layoutCircle(); |
| 71 | + |
| 72 | + GraphTracer layoutTree(json root, json sorted); |
| 73 | + |
| 74 | + GraphTracer layoutTree(json root); |
| 75 | + |
| 76 | + GraphTracer layoutTree(); |
| 77 | + |
| 78 | + GraphTracer layoutRandom(); |
| 79 | + |
| 80 | + GraphTracer visit(json target, json source, json weight); |
| 81 | + |
| 82 | + GraphTracer visit(json target, json source); |
| 83 | + |
| 84 | + GraphTracer visit(json target); |
| 85 | + |
| 86 | + GraphTracer leave(json target, json source, json weight); |
| 87 | + |
| 88 | + GraphTracer leave(json target, json source); |
| 89 | + |
| 90 | + GraphTracer leave(json target); |
| 91 | + |
| 92 | + GraphTracer select(json target, json source); |
| 93 | + |
| 94 | + GraphTracer select(json target); |
| 95 | + |
| 96 | + GraphTracer deselect(json target, json source); |
| 97 | + |
| 98 | + GraphTracer deselect(json target); |
| 99 | + |
| 100 | + GraphTracer log(json logTracer); |
| 101 | +}; |
| 102 | + |
| 103 | +#endif |
0 commit comments