Tulip  5.7.4
Large graphs analysis and drawing
tlp::CoordVectorProperty Class Reference

#include <LayoutProperty.h>

Inherits tlp::AbstractVectorProperty< vectType, eltType, propType >.

Public Member Functions

 CoordVectorProperty (Graph *g, const std::string &n="")
PropertyInterfaceclonePrototype (Graph *, const std::string &) const override
const std::string & getTypename () const override

Public Attributes


Static Public Attributes

static const std::string propertyTypename

Detailed Description

A graph property that maps a std::vector<tlp::Coord> value to graph elements.

Definition at line 325 of file LayoutProperty.h.

Member Function Documentation

◆ clonePrototype()

PropertyInterface* tlp::CoordVectorProperty::clonePrototype ( Graph graph,
const std::string &  name 
) const

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.

graphThe Graph in which to create the new property.
nameThe name of the new property.
The newly created property.

Implements tlp::PropertyInterface.

◆ getTypename()

const std::string& tlp::CoordVectorProperty::getTypename ( ) const

Gets a string describing the type of the property value (e.g. "graph", "double", "layout", "string", "integer", "color", "size").

The name of this property's type.

Implements tlp::PropertyInterface.

Definition at line 334 of file LayoutProperty.h.