Vista

data class Vista(val elementViews: List<ElementView> = emptyList(), val interfacePointViews: List<InterfacePointView> = emptyList(), val codeConstructViews: List<CodeConstructView> = emptyList(), val edges: List<Edge> = emptyList(), val dataFlowSegmentDags: List<DataFlowSegmentDagView> = emptyList(), val dataFlowPruningReports: List<DataFlowPruningReport> = emptyList())

A vista — the view of a model along a particular axis of interest, ready to be rendered as a diagram.

A vista is the single source of truth shared by every diagram exporter (SVG, cytoscape, sigma). It carries three node lists and one edge list:

Endpoints in edges reference views by their underlying entity's com.stigway.metamodels.highway.MetamodelEntity.id, which is auto-computed from the Kotlin val that holds the entity. Two views in the same vista that wrap the same entity would collide — the lookup table built from a vista's view lists must therefore be a 1:1 mapping (the loader enforces this).

The 5-axis pipeline identity (analysis type, depth, merge mode, diagram type, summary type) is not part of the vista — it's pipeline metadata carried alongside, e.g. by the engine's RenderableVista wrapper. The vista itself is just a graph.

Constructors

Link copied to clipboard
constructor(elementViews: List<ElementView> = emptyList(), interfacePointViews: List<InterfacePointView> = emptyList(), codeConstructViews: List<CodeConstructView> = emptyList(), edges: List<Edge> = emptyList(), dataFlowSegmentDags: List<DataFlowSegmentDagView> = emptyList(), dataFlowPruningReports: List<DataFlowPruningReport> = emptyList())

Properties

Link copied to clipboard

true when at least one edge or view in this vista has its cascading-fault flag set — i.e. somewhere in the graph a lower-ASIL predecessor feeds a higher-ASIL sink. Evaluated on demand so vistas remain cheap data class instances.

Link copied to clipboard
Link copied to clipboard
Generated with STIG