algorithm-visualizer
 All Classes
Public Member Functions | Static Public Member Functions | Public Attributes | Protected Types | Protected Member Functions | Static Protected Member Functions | List of all members
GraphTracer Class Reference
Inheritance diagram for GraphTracer:
Tracer Commander

Public Member Functions

 GraphTracer (const string &title="", const string &className="GraphTracer")
 
void set (const json &array2d)
 
GraphTracer directed (bool isDirected)
 
GraphTracer directed ()
 
GraphTracer weighted (bool isWeighted)
 
GraphTracer weighted ()
 
GraphTracer layoutCircle ()
 
GraphTracer layoutTree (const json &root, bool sorted)
 
GraphTracer layoutTree (const json &root)
 
GraphTracer layoutTree ()
 
GraphTracer layoutRandom ()
 
void addNode (const json &id, double weight, double x, double y, int visitedCount, int selectedCount)
 
void addNode (const json &id, double weight, double x, double y, int visitedCount)
 
void addNode (const json &id, double weight, double x, double y)
 
void addNode (const json &id, double weight, double x)
 
void addNode (const json &id, double weight)
 
void addNode (const json &id)
 
void updateNode (const json &id, double weight, double x, double y, int visitedCount, int selectedCount)
 
void updateNode (const json &id, double weight, double x, double y, int visitedCount)
 
void updateNode (const json &id, double weight, double x, double y)
 
void updateNode (const json &id, double weight, double x)
 
void updateNode (const json &id, double weight)
 
void updateNode (const json &id)
 
void removeNode (const json &id)
 
void addEdge (const json &source, const json &target, double weight, int visitedCount, int selectedCount)
 
void addEdge (const json &source, const json &target, double weight, int visitedCount)
 
void addEdge (const json &source, const json &target, double weight)
 
void addEdge (const json &source, const json &target)
 
void updateEdge (const json &source, const json &target, double weight, int visitedCount, int selectedCount)
 
void updateEdge (const json &source, const json &target, double weight, int visitedCount)
 
void updateEdge (const json &source, const json &target, double weight)
 
void updateEdge (const json &source, const json &target)
 
void removeEdge (const json &source, const json &target)
 
void visit (const json &target, const json &source, double weight)
 
void visit (const json &target, const json &source)
 
void visit (const json &target)
 
void leave (const json &target, const json &source, double weight)
 
void leave (const json &target, const json &source)
 
void leave (const json &target)
 
void select (const json &target, const json &source)
 
void select (const json &target)
 
void deselect (const json &target, const json &source)
 
void deselect (const json &target)
 
void log (LogTracer &logTracer)
 
void set ()
 
void reset ()
 
void destroy ()
 

Static Public Member Functions

static void delay (int lineNumber)
 
static void delay ()
 
static size_t writeFunction (void *ptr, size_t size, size_t nmemb, std::string *data)
 
static void onExit ()
 

Public Attributes

string key
 

Protected Types

using string = std::string
 
using json = nlohmann::json
 
using arguments = std::vector< json >
 

Protected Member Functions

void command (const string &method, const arguments &args)
 

Static Protected Member Functions

static void command (const json &key, const string &method, const arguments &args)
 

The documentation for this class was generated from the following file:
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy