Tulip
5.6.0
Large graphs analysis and drawing
|
#include <StringProperty.h>
Inherits tlp::AbstractVectorProperty< vectType, eltType, propType >.
Public Member Functions | |
StringVectorProperty (Graph *g, const std::string &n="") | |
PropertyInterface * | clonePrototype (Graph *, const std::string &) const override |
unsigned int | edgeValueSize () const override |
const std::string & | getTypename () const override |
unsigned int | nodeValueSize () const override |
Public Attributes | |
DEFINE_GET_CPP_CLASS_NAME | |
Static Public Attributes | |
static const std::string | propertyTypename |
A graph property that maps a std::vector<std::string> value to graph elements.
Definition at line 62 of file StringProperty.h.
|
overridevirtual |
Creates a property of the same type (e.g. tlp::DoubleProperty) in the graph. The new property will not contain a copy of this property's values.
graph | The Graph in which to create the new property. |
name | The name of the new property. |
Implements tlp::PropertyInterface.
|
inlineoverridevirtual |
Returns the size in bytes of an edge's value.
Implements tlp::PropertyInterface.
Definition at line 79 of file StringProperty.h.
|
inlineoverridevirtual |
Gets a string describing the type of the property value (e.g. "graph", "double", "layout", "string", "integer", "color", "size").
Implements tlp::PropertyInterface.
Definition at line 71 of file StringProperty.h.
|
inlineoverridevirtual |
Returns the size in bytes of a node's value.
Implements tlp::PropertyInterface.
Definition at line 76 of file StringProperty.h.