20 #ifndef TULIP_SELECTION_H 21 #define TULIP_SELECTION_H 23 #include <tulip/PropertyTypes.h> 24 #include <tulip/AbstractProperty.h> 25 #include <tulip/PropertyAlgorithm.h> 29 class PropertyContext;
41 static const std::string propertyTypename;
43 return propertyTypename;
51 void reverse(
const Graph *sg =
nullptr);
58 void reverseEdgeDirection(
Graph *sg =
nullptr);
66 :
public AbstractVectorProperty<tlp::BooleanVectorType, tlp::BooleanType> {
69 : AbstractVectorProperty<BooleanVectorType, tlp::BooleanType>(g, n) {}
72 static const std::string propertyTypename;
73 const std::string &getTypename()
const override {
74 return propertyTypename;
This class extends upon PropertyInterface, and adds type-safe methods to get and set the node and edg...
A graph property that maps a boolean value to graph elements.
PropertyInterface describes the interface of a graph property.
const std::string & getTypename() const override
Gets a string describing the type of the property (e.g. "graph", "double", "layout", "string", "integer", "color", "size").
A graph property that maps a std::vector<bool> value to graph elements.