class ExpressionBasedNodeLabelGenerator implements NodeLabelGeneratorInterface (View source)

The expression based node label generator that is used as default if a label expression is configured.

Properties

protected EelEvaluatorInterface $eelEvaluator
protected array $defaultContextConfiguration
protected string $expression

Methods

string
getExpression()

No description

setExpression(string $expression)

No description

void
initializeObject()

No description

string
getLabel(NodeInterface $node)

Render a node label

Details

string getExpression()

No description

Return Value

string

setExpression(string $expression)

No description

Parameters

string $expression

void initializeObject()

No description

Return Value

void

string getLabel(NodeInterface $node)

Render a node label

Parameters

NodeInterface $node

Return Value

string

Exceptions

Exception