API Reference > Namespaces > revision_control_graph Namespace > Classes > GraphNode Structure
GraphNode Structure
Syntax
C++
struct GraphNode { float x; float y; GraphColor color; std::string id; std::vector<std::string> parents; };

RevisionControlGraph.h

(sha is ansi string) so using std::string is ok

 
Name 
Description 
 
This is the overview for the GraphNode constructor overload. 
 
Name 
Description 
 
This is color, a member of class GraphNode. 
 
id 
This is id, a member of class GraphNode. 
 
This is parents, a member of class GraphNode. 
 
x 
This is x, a member of class GraphNode. 
 
y 
This is y, a member of class GraphNode. 
Copyright © 2002–2020. Open Design Alliance. All rights reserved.