This class encapsulates building a DGML compatible graph.
More...
#include <DGMLWriter.h>
|
enum | Direction { TopToBottom,
BottomToTop,
LeftToRight,
RightToLeft
} |
|
enum | Layout { Free,
Tree,
DependencyMatrix
} |
|
enum | NodeShape { None,
Rectangle,
RoundedRectangle,
Button
} |
|
typedef ezUInt32 | NodeId |
|
|
| ezDGMLGraph (Direction GraphDirection=Direction::LeftToRight, Layout GraphLayout=Layout::Tree) |
| Constructor for the graph.
|
|
NodeId | AddNode (const char *szTitle, ezColor Color=ezColor::White, NodeShape Shape=NodeShape::Rectangle) |
| Adds a node to the graph. Adds a node to the graph and returns the node id which can be used to reference the node later to add connections etc.
|
|
void | AddConnection (NodeId Source, NodeId Target) |
| Adds a connection to the graph. Adds a directed connection to the graph (an arrow pointing from source to target node).
|
|
This class encapsulates building a DGML compatible graph.
The documentation for this class was generated from the following files:
- Code/Engine/Utilities/DGML/DGMLWriter.h
- Code/Engine/Utilities/DGML/Implementation/DGMLWriter.cpp