lingua-franca 0.10.1
Lingua Franca code generator
Loading...
Searching...
No Matches
org.lflang.diagram.synthesis.util.CycleVisualization Class Reference

Dependency cycle detection for Lingua Franca diagrams. More...

Inherits org.lflang.diagram.synthesis.AbstractSynthesisExtensions.

Public Member Functions

boolean detectAndHighlightCycles (ReactorInstance rootReactorInstance, Map< ReactorInstance, KNode > allReactorNodes, Consumer< KGraphElement > highlighter)
 Performs cycle detection based on the diagram's graph structure and applies given highlighting to the included elements.
boolean getBooleanValue (SynthesisOption option)
float getFloatValue (SynthesisOption option)
Object getObjectValue (final SynthesisOption option)

Static Public Attributes

static final Property< Boolean > DEPENDENCY_CYCLE

Package Functions

public< T extends EObject > T associateWith (T derived, Object source)
public< T extends AbstractDiagramSynthesis<?> > T getRootSynthesis ()

Detailed Description

Dependency cycle detection for Lingua Franca diagrams.

Author
Alexander Schulz-Rosengarten

Member Function Documentation

◆ associateWith()

public< T extends EObject > T org.lflang.diagram.synthesis.AbstractSynthesisExtensions.associateWith ( T derived,
Object source )
packageinherited

◆ detectAndHighlightCycles()

boolean org.lflang.diagram.synthesis.util.CycleVisualization.detectAndHighlightCycles ( ReactorInstance rootReactorInstance,
Map< ReactorInstance, KNode > allReactorNodes,
Consumer< KGraphElement > highlighter )

Performs cycle detection based on the diagram's graph structure and applies given highlighting to the included elements.

◆ getBooleanValue()

boolean org.lflang.diagram.synthesis.AbstractSynthesisExtensions.getBooleanValue ( SynthesisOption option)
inherited

◆ getFloatValue()

float org.lflang.diagram.synthesis.AbstractSynthesisExtensions.getFloatValue ( SynthesisOption option)
inherited

◆ getObjectValue()

Object org.lflang.diagram.synthesis.AbstractSynthesisExtensions.getObjectValue ( final SynthesisOption option)
inherited

◆ getRootSynthesis()

public< T extends AbstractDiagramSynthesis<?> > T org.lflang.diagram.synthesis.AbstractSynthesisExtensions.getRootSynthesis ( )
packageinherited

Member Data Documentation

◆ DEPENDENCY_CYCLE

final Property<Boolean> org.lflang.diagram.synthesis.util.CycleVisualization.DEPENDENCY_CYCLE
static
Initial value:
=
new Property<>("org.lflang.diagram.synthesis.dependency.cycle", false)

The documentation for this class was generated from the following file:
  • /Users/runner/work/lingua-franca/lingua-franca/core/src/main/java/org/lflang/diagram/synthesis/util/CycleVisualization.java