Tulip  5.7.0
Large graphs analysis and drawing
tlp::ColorAlgorithm Class Reference

#include <PropertyAlgorithm.h>

+ Inheritance diagram for tlp::ColorAlgorithm:
+ Collaboration diagram for tlp::ColorAlgorithm:

Public Member Functions

std::string category () const override
- Public Member Functions inherited from tlp::TemplateAlgorithm< tlp::ColorProperty >
 TemplateAlgorithm (const tlp::PluginContext *context)
- Public Member Functions inherited from tlp::PropertyAlgorithm
 PropertyAlgorithm (const tlp::PluginContext *context)
std::string category () const override
- Public Member Functions inherited from tlp::Algorithm
 Algorithm (const PluginContext *context)
virtual bool check (std::string &)
std::string icon () const override
virtual bool run ()=0
- Public Member Functions inherited from tlp::Plugin
virtual std::string author () const =0
virtual std::string date () const =0
void declareDeprecatedName (const std::string &oldName)
std::string deprecatedName ()
virtual std::string group () const =0
virtual int id () const
virtual std::string info () const =0
virtual std::string major () const
virtual std::string minor () const
virtual std::string name () const =0
virtual std::string programmingLanguage () const
virtual std::string release () const =0
virtual std::string tulipMajor () const
virtual std::string tulipMinor () const
virtual std::string tulipRelease () const =0

Protected Member Functions

 ColorAlgorithm (const tlp::PluginContext *)

Additional Inherited Members

- Public Attributes inherited from tlp::TemplateAlgorithm< tlp::ColorProperty >
- Public Attributes inherited from tlp::Algorithm
- Protected Attributes inherited from tlp::Plugin
std::string oldName

Detailed Description

The color algorithm takes a graph as input and output its results as a tlp::ColorProperty.

Definition at line 54 of file PropertyAlgorithm.h.

Member Function Documentation

◆ category()

std::string tlp::ColorAlgorithm::category ( ) const

A string identifier for a plugin used for categorization purposes.

std::string the category of the plugin.

Reimplemented from tlp::Algorithm.

Definition at line 59 of file PropertyAlgorithm.h.