26 #define YUILogComponent "ui-graph"
34 YGraphPrivate( std::string filename, std::string layoutAlgorithm )
35 : filename( filename ),
36 layoutAlgorithm( layoutAlgorithm )
40 std::string layoutAlgorithm;
71 return priv->filename;
86 return priv->layoutAlgorithm;
93 priv->filename.clear();
124 propSet.
add(
YProperty( YUIProperty_Filename, YStringProperty ) );
125 propSet.
add(
YProperty( YUIProperty_Layout, YStringProperty ) );
126 propSet.
add(
YProperty( YUIProperty_Item, YStringProperty,
true ) );
virtual YPropertyValue getProperty(const std::string &propertyName)
virtual void setFilename(const std::string &filename)
std::string filename() const
virtual bool setProperty(const std::string &propertyName, const YPropertyValue &val)
void check(const std::string &propertyName) const
virtual std::string activatedNode() const
void add(const YProperty &prop)
std::string stringVal() const
virtual void setLayoutAlgorithm(const std::string &filename)
YGraph(YWidget *parent, const std::string &filename, const std::string &layoutAlgorithm)
virtual const YPropertySet & propertySet()
virtual void setGraph(void *graph)
std::string layoutAlgorithm() const
virtual void renderGraph(const std::string &filename, const std::string &layoutAlgorithm)=0
YPropertyType type() const