20 #ifndef PROPERTYALGORITHM_H 21 #define PROPERTYALGORITHM_H 23 #include <tulip/Algorithm.h> 24 #include <tulip/TemplateAlgorithm.h> 29 class BooleanProperty;
30 static const std::string BOOLEAN_ALGORITHM_CATEGORY =
"Selection";
42 return BOOLEAN_ALGORITHM_CATEGORY;
47 static const std::string COLOR_ALGORITHM_CATEGORY =
"Coloring";
58 return COLOR_ALGORITHM_CATEGORY;
63 static const std::string DOUBLE_ALGORITHM_CATEGORY =
"Measure";
75 return DOUBLE_ALGORITHM_CATEGORY;
80 static const std::string INTEGER_ALGORITHM_CATEGORY =
"Measure";
91 return INTEGER_ALGORITHM_CATEGORY;
96 static const std::string LAYOUT_ALGORITHM_CATEGORY =
"Layout";
108 return LAYOUT_ALGORITHM_CATEGORY;
113 static const std::string SIZE_ALGORITHM_CATEGORY =
"Resizing";
124 return SIZE_ALGORITHM_CATEGORY;
129 static const std::string STRING_ALGORITHM_CATEGORY =
"Labeling";
141 return STRING_ALGORITHM_CATEGORY;
146 #endif // PROPERTYALGORITHM_H The TemplateAlgorithm class describes a plugin that can operate on a single graph's property...
virtual std::string category() const
A string identifier for a plugin used for categorization purposes.
The integer algorithm takes a graph as input and output its results as a tlp::IntegerProperty.
virtual std::string category() const
A string identifier for a plugin used for categorization purposes.
The color algorithm takes a graph as input and output its results as a tlp::ColorProperty.
A graph property that maps a std::string value to graph elements.
A graph property that maps a tlp::Size value to graph elements.
virtual std::string category() const
A string identifier for a plugin used for categorization purposes.
A graph property that maps a double value to graph elements.
Contains runtime parameters for a plugin.
The string algorithm takes a graph as input and output its results as a tlp::StringProperty.
The double algorithm takes a graph as input and output its results as a tlp::DoubleProperty.
The layout algorithm takes a graph as input and output its results as a tlp::LayoutProperty.
virtual std::string category() const
A string identifier for a plugin used for categorization purposes.
virtual std::string category() const
A string identifier for a plugin used for categorization purposes.
virtual std::string category() const
A string identifier for a plugin used for categorization purposes.
virtual std::string category() const
A string identifier for a plugin used for categorization purposes.
A graph property that maps a tlp::Color value to graph elements.
A graph property that maps an integer value to graph elements.
The size algorithm takes a graph as input and output its results as a tlp::SizeProperty.
A graph property that maps a tlp::Coord value to graph nodes and std::vector<tlp::Coord> for edges...
The boolean algorithm takes a graph as input and output its results as a tlp::BooleanProperty.