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";
43 return BOOLEAN_ALGORITHM_CATEGORY;
48 static const std::string COLOR_ALGORITHM_CATEGORY =
"Coloring";
60 return COLOR_ALGORITHM_CATEGORY;
65 static const std::string DOUBLE_ALGORITHM_CATEGORY =
"Measure";
79 return DOUBLE_ALGORITHM_CATEGORY;
84 static const std::string INTEGER_ALGORITHM_CATEGORY =
"Measure";
97 return INTEGER_ALGORITHM_CATEGORY;
102 static const std::string LAYOUT_ALGORITHM_CATEGORY =
"Layout";
116 return LAYOUT_ALGORITHM_CATEGORY;
121 static const std::string SIZE_ALGORITHM_CATEGORY =
"Resizing";
133 return SIZE_ALGORITHM_CATEGORY;
138 static const std::string STRING_ALGORITHM_CATEGORY =
"Labeling";
152 return STRING_ALGORITHM_CATEGORY;
157 #endif // PROPERTYALGORITHM_H The TemplateAlgorithm class describes a plugin that can operate on a single graph's property...
std::string category() const override
A string identifier for a plugin used for categorization purposes.
std::string category() const override
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.
std::string category() const override
A string identifier for a plugin used for categorization purposes.
std::string category() const override
A string identifier for a plugin used for categorization purposes.
std::string category() const override
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.
std::string category() const override
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.
std::string category() const override
A string identifier for a plugin used for categorization purposes.
The layout algorithm takes a graph as input and output its results as a tlp::LayoutProperty.
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.