7#ifndef PXR_EXEC_VDF_GRAPHER_H
8#define PXR_EXEC_VDF_GRAPHER_H
14#include "pxr/exec/vdf/api.h"
20PXR_NAMESPACE_OPEN_SCOPE
65 const std::string &filename);
73 const std::string &filename,
90 int maxInDepth,
int maxOutDepth,
91 const std::vector<std::string> &exclude = std::vector<std::string>());
99 const std::string &name);
115PXR_NAMESPACE_CLOSE_SCOPE
This class is used to produce printable graphs of Vdf networks.
static VDF_API void GraphToFile(const VdfNetwork &network, const std::string &filename, const VdfGrapherOptions &options)
Produces a graph of the given network and writes it to filename.
static VDF_API std::vector< const VdfNode * > GetNodesNamed(const VdfNetwork &network, const std::string &name)
Returns the list of all registered nodes in the given network with the given name.
static VDF_API std::string GetDotCommand(const std::string &dotFileName)
Returns a string that represents a shell command that will view the file dotFileName.
static VDF_API void GraphNodeNeighborhood(const VdfNode &node, int maxInDepth, int maxOutDepth, const std::vector< std::string > &exclude=std::vector< std::string >())
Produces a graph in the neighborhood of node.
static VDF_API void GraphToFile(const VdfNetwork &network, const std::string &filename)
Produces a graph of the given network and writes it to filename.
static VDF_API void GraphToTemporaryFile(const VdfNetwork &network, const VdfGrapherOptions &options)
Produces a graph of the given network and writes it to a temporary file.
This class can be used to configure aspects of VdfGrapher's output.
A VdfNetwork is a collection of VdfNodes and their connections.
This is the base class for all nodes in a VdfNetwork.