89 virtual bool setProperty(
const std::string & propertyName,
119 virtual void setFilename(
const std::string & filename );
138 virtual void setGraph(
void * graph );
152 virtual void renderGraph(
const std::string & filename,
const std::string & layoutAlgorithm ) = 0;
std::string layoutAlgorithm() const
Return the layout-algorithm used for the graph.
virtual YPropertyValue getProperty(const std::string &propertyName)
Get a property.
virtual void setFilename(const std::string &filename)
Set the filename that describes the graph and render the graph.
virtual bool setProperty(const std::string &propertyName, const YPropertyValue &val)
Set a property.
Transport class for the value of simple properties.
A set of properties to check names and types against.
virtual std::string activatedNode() const
Return name of activated node.
virtual void setLayoutAlgorithm(const std::string &filename)
Set the layout-algorithm used for the graph.
YGraph(YWidget *parent, const std::string &filename, const std::string &layoutAlgorithm)
Constructor.
virtual const char * widgetClass() const
Returns a descriptive name of this widget class for logging, debugging etc.
A graph with nodes and edges, rendered with Graphviz.
virtual const YPropertySet & propertySet()
Return this class's property set.
virtual void setGraph(void *graph)
Render the graph.
virtual ~YGraph()
Destructor.
virtual void renderGraph(const std::string &filename, const std::string &layoutAlgorithm)=0
Render the graph from the filename.
std::string filename() const
Return the filename that describes the graph.