SODEA

Fountain IDE User Guide

Fountain is the visual interface for working with semantic objects in SODEA. It provides an intuitive environment to explore, edit, and orchestrate objects, observe system behavior, and trigger events—without writing backend code or scripts.


1. Overview

Fountain is not just a viewer. It is an integrated IDE for data logic, enabling users to:

  • Browse and search semantic objects
  • Edit objects with real-time validation
  • Visualize object relationships as graphs
  • Inspect hook code and outputs
  • Trigger events and simulate execution
  • Switch between themes and servers

It’s designed to support both technical users and domain experts.


2. Getting Started

To use Fountain:

  1. Launch Fountain in your browser (/fountain)
  2. The system will auto-load a configured Morpheus server or prompt you to select one
  3. You'll see the Object Explorer, Console, and Graph View

If your Morpheus backend is running, objects will appear in real time.


3. Object Explorer

The left panel shows a list of semantic objects in the system. For each object:

  • 🔗 Click to view details
  • 📄 View and edit JSON structure
  • 🧠 Preview hooks
  • 📬 See subscriptions and events

You can also filter by type or search by ID.


4. Graph View

Fountain’s graph view lets you visualize object networks. It shows:

  • Object types as nodes
  • Relationships (via links) as edges
  • Live updates when objects change

You can pan, zoom, and click to explore nodes interactively.


5. JSON Editor

Each object opens in a structured JSON editor with:

  • Syntax highlighting
  • Auto-formatting
  • Live validation
  • Change tracking

Changes are saved to Morpheus immediately (if valid).


6. Hook Panel

Hooks embedded in the _private section are rendered in an embedded code editor. Features:

  • Python and JavaScript support
  • View, edit, and test code
  • Execute onEvent, onTick, etc., directly
  • Inspect results and output logs

7. Terminal Console

All output from hook execution is shown in the console. You can:

  • See print statements
  • View errors or results
  • Filter by object or event type
  • Clear logs

This is useful when debugging execution logic.


8. Event Simulation

Use the Event Trigger Panel to:

  • Send events to any object
  • Simulate external systems
  • Observe reactions in real time

Specify the event type and payload, and see results immediately.


9. Themes & Layout

Fountain supports both light and dark themes. You can also:

  • Resize panels
  • Enable compact or expanded layout
  • Switch to split-view or graph-only mode

Settings are saved per session.


10. Multi-User Collaboration

(Upcoming Feature)

Fountain is designed for collaboration. In future versions, you’ll be able to:

  • Share views with teammates
  • See edits in real time
  • Comment on objects
  • Assign tasks related to objects

11. Deployment and Hosting

You can host Fountain:

  • As part of your own SODEA deployment
  • As a local dev tool for testing
  • Connected to remote Morpheus servers

No external backend needed—just connect via API.


12. Summary

Fountain brings SODEA to life. It gives you a live programmable canvas for semantic logic, enabling rapid experimentation, intuitive visualization, and deep understanding of how data and behavior interact.

Next: