RheaKitScientific UI surfaces for SwiftUI
Components

NodeEditorView

Build and execute multi-model verification workflows as typed node graphs.

NodeEditorView

NodeEditorView is a visual pipeline editor for tribunal workflows. You drag nodes onto a canvas, connect them, configure their parameters, and execute the resulting graph against the backend.

Usage

import RheaKit

struct PipelineTab: View {
    var body: some View {
        NodeEditorView()
    }
}

Node types

TypeRole
inputStarting claim or prompt
tribunalMulti-model consensus evaluation
scepticAdversarial challenge
filterThreshold gate
proofProof-store commit
outputFinal result surface

Configuration surface

NodeParameters
Inputclaim
Tribunalmodels, tier
Scepticintensity
Filterthreshold
Prooftag
Outputnone

Backing model

public struct PipelineNode: Identifiable, Codable {
    public let id: UUID
    public var type: NodeType
    public var position: CGPoint
    public var connections: [UUID]
    public var config: [String: String]
    public var resultText: String?
}

Notes

  • The canvas supports pan and zoom
  • Connections are directional
  • Running the graph serializes nodes into a workflow payload and POSTs it to the backend

On this page