glmp / processes /yeast /yeast_batch29_developmental_systems.html
garywelz's picture
Upload 34 files
b603015 verified
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Yeast Batch 10: Developmental Biology - Programming Framework Analysis</title>
<script src="https://cdn.jsdelivr.net/npm/mermaid@10.6.1/dist/mermaid.min.js"></script>
<style>
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, 'Arial Unicode MS', sans-serif;
line-height: 1.6;
margin: 0;
padding: 0;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
min-height: 100vh;
}
.container {
max-width: 1400px;
margin: 0 auto;
background: white;
box-shadow: 0 0 20px rgba(0,0,0,0.1);
border-radius: 10px;
overflow: hidden;
}
.header {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
padding: 2rem;
text-align: center;
}
.header h1 {
margin: 0;
font-size: 2.5rem;
font-weight: 300;
}
.content {
padding: 2rem;
}
.intro {
background: #f8f9fa;
padding: 2rem;
border-radius: 8px;
margin-bottom: 2rem;
}
.toc {
background: #f8f9fa;
padding: 2rem;
border-radius: 8px;
margin-bottom: 2rem;
}
.toc ul {
list-style: none;
padding: 0;
}
.toc li {
margin: 0.5rem 0;
}
.toc a {
color: #007bff;
text-decoration: none;
font-weight: 500;
}
.process-item {
margin: 2rem 0;
padding: 1.5rem;
border: 1px solid #dee2e6;
border-radius: 8px;
background: #fafafa;
}
.process-item h3 {
color: #495057;
margin-bottom: 1rem;
}
.mermaid-container {
background: white;
padding: 1rem;
border-radius: 8px;
margin: 1rem 0;
overflow-x: auto;
}
.footer {
background: #f8f9fa;
padding: 2rem;
text-align: center;
border-top: 1px solid #dee2e6;
margin-top: 2rem;
}
.color-legend {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
gap: 0.5rem 1rem;
margin: 1rem 0 0;
font-size: 10pt;
color: #333;
}
.color-box {
display: inline-block;
width: 12px;
height: 12px;
border-radius: 2px;
margin-right: 4px;
border: 1px solid rgba(0,0,0,.15);
}
.slider-controls {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
padding: 1.5rem;
border-radius: 8px;
margin: 1rem 0;
text-align: center;
}
.slider-controls h4 {
margin: 0 0 1rem 0;
font-size: 1.2rem;
}
.slider-container {
display: flex;
align-items: center;
justify-content: center;
gap: 1rem;
margin: 1rem 0;
}
.slider-label {
color: white;
font-weight: bold;
}
.detail-slider {
width: 200px;
height: 8px;
border-radius: 5px;
background: rgba(255,255,255,0.3);
outline: none;
-webkit-appearance: none;
}
.detail-slider::-webkit-slider-thumb {
-webkit-appearance: none;
appearance: none;
width: 20px;
height: 20px;
border-radius: 50%;
background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
cursor: pointer;
box-shadow: 0 2px 8px rgba(0,0,0,0.3);
border: 2px solid white;
}
.level-display {
color: white;
font-weight: bold;
min-width: 30px;
text-align: center;
background: rgba(255,255,255,0.2);
padding: 6px 10px;
border-radius: 15px;
font-size: 0.9em;
}
.sources-section, .scientific-disclosure {
background: #f8f9fa;
padding: 2rem;
border-radius: 8px;
margin: 2rem 0;
border-left: 4px solid #667eea;
}
.sources-section h2, .scientific-disclosure h2 {
color: #495057;
margin-bottom: 1.5rem;
}
.sources-section h3, .scientific-disclosure h3 {
color: #667eea;
margin: 1rem 0 0.5rem 0;
}
.sources-content ul, .disclosure-content ul {
margin: 0.5rem 0 1rem 1.5rem;
}
.sources-content li, .disclosure-content li {
margin: 0.5rem 0;
line-height: 1.5;
}
.disclosure-content p {
margin: 0.5rem 0;
line-height: 1.6;
}
</style>
</head>
<body>
<div class="container">
<div class="header">
<h1>🧬 Yeast Batch 10: Developmental Biology</h1>
<p>Programming Framework Analysis - 8 Developmental Processes</p>
</div>
<div class="content">
<div class="intro">
<h2>🧬 Developmental Biology Systems</h2>
<p><strong>Batch Overview:</strong> This batch contains 8 fundamental yeast processes responsible for developmental biology and cellular differentiation. These processes represent the core computational systems that ensure proper developmental programming and cellular specialization.</p>
<p>Each process demonstrates sophisticated biological programming with developmental regulation and differentiation control.</p>
</div>
<div class="toc">
<h2>📋 Table of Contents - 8 Developmental Processes</h2>
<ul>
<li><a href="#sporulation">1. Sporulation</a></li>
<li><a href="#mating">2. Mating</a></li>
<li><a href="#pseudohyphal-growth">3. Pseudohyphal Growth</a></li>
<li><a href="#cell-differentiation">4. Cell Differentiation</a></li>
<li><a href="#developmental-timing">5. Developmental Timing</a></li>
<li><a href="#morphogenesis">6. Morphogenesis</a></li>
<li><a href="#cell-fate-determination">7. Cell Fate Determination</a></li>
<li><a href="#developmental-regulation">8. Developmental Regulation</a></li>
</ul>
</div>
<!-- Process 1: Sporulation -->
<div class="process-item" id="sporulation">
<h3 id="process-1">1. Sporulation</h3>
<p>Detailed analysis of Sporulation using the Programming Framework, revealing computational logic and regulatory patterns.</p>
<!-- Interactive Slider Controls -->
<div class="slider-controls">
<h4>🎛️ Detail Level Control</h4>
<div class="slider-container">
<span class="slider-label">Level:</span>
<input type="range" class="detail-slider" id="slider-1" min="1" max="5" value="1" step="1">
<span class="level-display" id="level-1">1</span>
</div>
</div>
<div class="mermaid-container">
<div class="mermaid" id="chart-1">
graph TD
%% Initial Setup
A[Nutrient Depletion] --> B[Spo0A Activation]
B --> C[Developmental Switch]
C --> D[Meiotic Division]
D --> E[Spore Formation]
E --> F[Spore Maturation]
F --> G[Dormancy Establishment]
G --> H[Spore Survival]
%% Styling - Biological Color Scheme
style A fill:#ff6b6b,color:#fff
style B fill:#ffd43b,color:#000
style C fill:#51cf66,color:#fff
style D fill:#74c0fc,color:#fff
style E fill:#51cf66,color:#fff
style F fill:#74c0fc,color:#fff
style G fill:#51cf66,color:#fff
style H fill:#b197fc,color:#fff
</div>
<div class="color-legend">
<span><span class="color-box" style="background:#ff6b6b;"></span>Triggers & Conditions</span>
<span><span class="color-box" style="background:#ffd43b;"></span>Catalysts & Enzymes</span>
<span><span class="color-box" style="background:#51cf66;"></span>Chemical Processing</span>
<span><span class="color-box" style="background:#74c0fc;"></span>Intermediates</span>
<span><span class="color-box" style="background:#b197fc;"></span>Products</span>
</div>
</div>
</div>
<!-- Process 2: Mating -->
<div class="process-item" id="mating">
<h3 id="process-2">2. Mating</h3>
<p>Detailed analysis of Mating using the Programming Framework, revealing computational logic and regulatory patterns.</p>
<!-- Interactive Slider Controls -->
<div class="slider-controls">
<h4>🎛️ Detail Level Control</h4>
<div class="slider-container">
<span class="slider-label">Level:</span>
<input type="range" class="detail-slider" id="slider-2" min="1" max="5" value="1" step="1">
<span class="level-display" id="level-2">1</span>
</div>
</div>
<div class="mermaid-container">
<div class="mermaid" id="chart-2">
graph TD
%% Initial Setup
A[Pheromone Detection] --> B[Mating Response]
B --> C[Cell Cycle Arrest]
C --> D[Polarized Growth]
D --> E[Cell Fusion]
E --> F[Nuclear Fusion]
F --> G[Diploid Formation]
G --> H[Zygote Development]
%% Styling - Biological Color Scheme
style A fill:#ff6b6b,color:#fff
style B fill:#ffd43b,color:#000
style C fill:#51cf66,color:#fff
style D fill:#74c0fc,color:#fff
style E fill:#51cf66,color:#fff
style F fill:#74c0fc,color:#fff
style G fill:#51cf66,color:#fff
style H fill:#b197fc,color:#fff
</div>
<div class="color-legend">
<span><span class="color-box" style="background:#ff6b6b;"></span>Triggers & Conditions</span>
<span><span class="color-box" style="background:#ffd43b;"></span>Catalysts & Enzymes</span>
<span><span class="color-box" style="background:#51cf66;"></span>Chemical Processing</span>
<span><span class="color-box" style="background:#74c0fc;"></span>Intermediates</span>
<span><span class="color-box" style="background:#b197fc;"></span>Products</span>
</div>
</div>
</div>
<!-- Process 3: Pseudohyphal Growth -->
<div class="process-item" id="pseudohyphal-growth">
<h3 id="process-3">3. Pseudohyphal Growth</h3>
<p>Detailed analysis of Pseudohyphal Growth using the Programming Framework, revealing computational logic and regulatory patterns.</p>
<!-- Interactive Slider Controls -->
<div class="slider-controls">
<h4>🎛️ Detail Level Control</h4>
<div class="slider-container">
<span class="slider-label">Level:</span>
<input type="range" class="detail-slider" id="slider-3" min="1" max="5" value="1" step="1">
<span class="level-display" id="level-3">1</span>
</div>
</div>
<div class="mermaid-container">
<div class="mermaid" id="chart-3">
graph TD
%% Initial Setup
A[Nitrogen Limitation] --> B[Flo11 Expression]
B --> C[Cell Elongation]
C --> D[Polarized Growth]
D --> E[Filament Formation]
E --> F[Cell-Cell Adhesion]
F --> G[Multicellular Structure]
G --> H[Invasive Growth]
%% Styling - Biological Color Scheme
style A fill:#ff6b6b,color:#fff
style B fill:#ffd43b,color:#000
style C fill:#51cf66,color:#fff
style D fill:#74c0fc,color:#fff
style E fill:#51cf66,color:#fff
style F fill:#74c0fc,color:#fff
style G fill:#51cf66,color:#fff
style H fill:#b197fc,color:#fff
</div>
<div class="color-legend">
<span><span class="color-box" style="background:#ff6b6b;"></span>Triggers & Conditions</span>
<span><span class="color-box" style="background:#ffd43b;"></span>Catalysts & Enzymes</span>
<span><span class="color-box" style="background:#51cf66;"></span>Chemical Processing</span>
<span><span class="color-box" style="background:#74c0fc;"></span>Intermediates</span>
<span><span class="color-box" style="background:#b197fc;"></span>Products</span>
</div>
</div>
</div>
<!-- Process 4: Cell Differentiation -->
<div class="process-item" id="cell-differentiation">
<h3 id="process-4">4. Cell Differentiation</h3>
<p>Detailed analysis of Cell Differentiation using the Programming Framework, revealing computational logic and regulatory patterns.</p>
<!-- Interactive Slider Controls -->
<div class="slider-controls">
<h4>🎛️ Detail Level Control</h4>
<div class="slider-container">
<span class="slider-label">Level:</span>
<input type="range" class="detail-slider" id="slider-4" min="1" max="5" value="1" step="1">
<span class="level-display" id="level-4">1</span>
</div>
</div>
<div class="mermaid-container">
<div class="mermaid" id="chart-4">
graph TD
%% Initial Setup
A[Environmental Cues] --> B[Gene Expression Changes]
B --> C[Protein Synthesis]
C --> D[Metabolic Reprogramming]
D --> E[Cell Morphology Changes]
E --> F[Specialized Functions]
F --> G[Differentiated State]
G --> H[Cell Specialization]
%% Styling - Biological Color Scheme
style A fill:#ff6b6b,color:#fff
style B fill:#ffd43b,color:#000
style C fill:#51cf66,color:#fff
style D fill:#74c0fc,color:#fff
style E fill:#51cf66,color:#fff
style F fill:#74c0fc,color:#fff
style G fill:#51cf66,color:#fff
style H fill:#b197fc,color:#fff
</div>
<div class="color-legend">
<span><span class="color-box" style="background:#ff6b6b;"></span>Triggers & Conditions</span>
<span><span class="color-box" style="background:#ffd43b;"></span>Catalysts & Enzymes</span>
<span><span class="color-box" style="background:#51cf66;"></span>Chemical Processing</span>
<span><span class="color-box" style="background:#74c0fc;"></span>Intermediates</span>
<span><span class="color-box" style="background:#b197fc;"></span>Products</span>
</div>
</div>
</div>
<!-- Process 5: Developmental Timing -->
<div class="process-item" id="developmental-timing">
<h3 id="process-5">5. Developmental Timing</h3>
<p>Detailed analysis of Developmental Timing using the Programming Framework, revealing computational logic and regulatory patterns.</p>
<!-- Interactive Slider Controls -->
<div class="slider-controls">
<h4>🎛️ Detail Level Control</h4>
<div class="slider-container">
<span class="slider-label">Level:</span>
<input type="range" class="detail-slider" id="slider-5" min="1" max="5" value="1" step="1">
<span class="level-display" id="level-5">1</span>
</div>
</div>
<div class="mermaid-container">
<div class="mermaid" id="chart-5">
graph TD
%% Initial Setup
A[Temporal Signals] --> B[Clock Gene Expression]
B --> C[Circadian Rhythm]
C --> D[Developmental Clock]
D --> E[Stage-Specific Genes]
E --> F[Temporal Coordination]
F --> G[Developmental Progression]
G --> H[Maturation Complete]
%% Styling - Biological Color Scheme
style A fill:#ff6b6b,color:#fff
style B fill:#ffd43b,color:#000
style C fill:#51cf66,color:#fff
style D fill:#74c0fc,color:#fff
style E fill:#51cf66,color:#fff
style F fill:#74c0fc,color:#fff
style G fill:#51cf66,color:#fff
style H fill:#b197fc,color:#fff
</div>
<div class="color-legend">
<span><span class="color-box" style="background:#ff6b6b;"></span>Triggers & Conditions</span>
<span><span class="color-box" style="background:#ffd43b;"></span>Catalysts & Enzymes</span>
<span><span class="color-box" style="background:#51cf66;"></span>Chemical Processing</span>
<span><span class="color-box" style="background:#74c0fc;"></span>Intermediates</span>
<span><span class="color-box" style="background:#b197fc;"></span>Products</span>
</div>
</div>
</div>
<!-- Process 6: Morphogenesis -->
<div class="process-item" id="morphogenesis">
<h3 id="process-6">6. Morphogenesis</h3>
<p>Detailed analysis of Morphogenesis using the Programming Framework, revealing computational logic and regulatory patterns.</p>
<!-- Interactive Slider Controls -->
<div class="slider-controls">
<h4>🎛️ Detail Level Control</h4>
<div class="slider-container">
<span class="slider-label">Level:</span>
<input type="range" class="detail-slider" id="slider-6" min="1" max="5" value="1" step="1">
<span class="level-display" id="level-6">1</span>
</div>
</div>
<div class="mermaid-container">
<div class="mermaid" id="chart-6">
graph TD
%% Initial Setup
A[Developmental Signals] --> B[Cytoskeletal Reorganization]
B --> C[Cell Shape Changes]
C --> D[Membrane Remodeling]
D --> E[Organelle Positioning]
E --> F[Cell Wall Modification]
F --> G[Structural Assembly]
G --> H[Morphological Pattern]
%% Styling - Biological Color Scheme
style A fill:#ff6b6b,color:#fff
style B fill:#ffd43b,color:#000
style C fill:#51cf66,color:#fff
style D fill:#74c0fc,color:#fff
style E fill:#51cf66,color:#fff
style F fill:#74c0fc,color:#fff
style G fill:#51cf66,color:#fff
style H fill:#b197fc,color:#fff
</div>
<div class="color-legend">
<span><span class="color-box" style="background:#ff6b6b;"></span>Triggers & Conditions</span>
<span><span class="color-box" style="background:#ffd43b;"></span>Catalysts & Enzymes</span>
<span><span class="color-box" style="background:#51cf66;"></span>Chemical Processing</span>
<span><span class="color-box" style="background:#74c0fc;"></span>Intermediates</span>
<span><span class="color-box" style="background:#b197fc;"></span>Products</span>
</div>
</div>
</div>
<!-- Process 7: Cell Fate Determination -->
<div class="process-item" id="cell-fate-determination">
<h3 id="process-7">7. Cell Fate Determination</h3>
<p>Detailed analysis of Cell Fate Determination using the Programming Framework, revealing computational logic and regulatory patterns.</p>
<!-- Interactive Slider Controls -->
<div class="slider-controls">
<h4>🎛️ Detail Level Control</h4>
<div class="slider-container">
<span class="slider-label">Level:</span>
<input type="range" class="detail-slider" id="slider-7" min="1" max="5" value="1" step="1">
<span class="level-display" id="level-7">1</span>
</div>
</div>
<div class="mermaid-container">
<div class="mermaid" id="chart-7">
graph TD
%% Initial Setup
A[Fate Signals] --> B[Transcription Factor Expression]
B --> C[Gene Regulatory Network]
C --> D[Fate Commitment]
D --> E[Lineage Specification]
E --> F[Differentiation Program]
F --> G[Fate Stabilization]
G --> H[Cell Identity]
%% Styling - Biological Color Scheme
style A fill:#ff6b6b,color:#fff
style B fill:#ffd43b,color:#000
style C fill:#51cf66,color:#fff
style D fill:#74c0fc,color:#fff
style E fill:#51cf66,color:#fff
style F fill:#74c0fc,color:#fff
style G fill:#51cf66,color:#fff
style H fill:#b197fc,color:#fff
</div>
<div class="color-legend">
<span><span class="color-box" style="background:#ff6b6b;"></span>Triggers & Conditions</span>
<span><span class="color-box" style="background:#ffd43b;"></span>Catalysts & Enzymes</span>
<span><span class="color-box" style="background:#51cf66;"></span>Chemical Processing</span>
<span><span class="color-box" style="background:#74c0fc;"></span>Intermediates</span>
<span><span class="color-box" style="background:#b197fc;"></span>Products</span>
</div>
</div>
</div>
<!-- Process 8: Developmental Regulation -->
<div class="process-item" id="developmental-regulation">
<h3 id="process-8">8. Developmental Regulation</h3>
<p>Detailed analysis of Developmental Regulation using the Programming Framework, revealing computational logic and regulatory patterns.</p>
<!-- Interactive Slider Controls -->
<div class="slider-controls">
<h4>🎛️ Detail Level Control</h4>
<div class="slider-container">
<span class="slider-label">Level:</span>
<input type="range" class="detail-slider" id="slider-8" min="1" max="5" value="1" step="1">
<span class="level-display" id="level-8">1</span>
</div>
</div>
<div class="mermaid-container">
<div class="mermaid" id="chart-8">
graph TD
%% Initial Setup
A[Environmental Inputs] --> B[Developmental Checkpoints]
B --> C[Regulatory Networks]
C --> D[Feedback Control]
D --> E[Developmental Progression]
E --> F[Quality Control]
F --> G[Developmental Completion]
G --> H[Developmental Success]
%% Styling - Biological Color Scheme
style A fill:#ff6b6b,color:#fff
style B fill:#ffd43b,color:#000
style C fill:#51cf66,color:#fff
style D fill:#74c0fc,color:#fff
style E fill:#51cf66,color:#fff
style F fill:#74c0fc,color:#fff
style G fill:#51cf66,color:#fff
style H fill:#b197fc,color:#fff
</div>
<div class="color-legend">
<span><span class="color-box" style="background:#ff6b6b;"></span>Triggers & Conditions</span>
<span><span class="color-box" style="background:#ffd43b;"></span>Catalysts & Enzymes</span>
<span><span class="color-box" style="background:#51cf66;"></span>Chemical Processing</span>
<span><span class="color-box" style="background:#74c0fc;"></span>Intermediates</span>
<span><span class="color-box" style="background:#b197fc;"></span>Products</span>
</div>
</div>
</div>
<!-- Sources Section -->
<div class="sources-section">
<h2>📚 Academic Sources</h2>
<div class="sources-content">
<h3>Primary References</h3>
<ul>
<li><strong>Alberts, B., et al.</strong> (2015). <em>Molecular Biology of the Cell</em>, 6th Edition. Garland Science.</li>
<li><strong>Berg, J.M., et al.</strong> (2015). <em>Biochemistry</em>, 8th Edition. W.H. Freeman.</li>
<li><strong>Lodish, H., et al.</strong> (2016). <em>Molecular Cell Biology</em>, 8th Edition. W.H. Freeman.</li>
<li><strong>Nelson, D.L. & Cox, M.M.</strong> (2017). <em>Lehninger Principles of Biochemistry</em>, 7th Edition. W.H. Freeman.</li>
</ul>
<h3>Yeast Cell Biology Research</h3>
<ul>
<li><strong>Botstein, D. & Fink, G.R.</strong> (2011). Yeast: an experimental organism for 21st Century biology. <em>Genetics</em>, 189(3), 695-704.</li>
<li><strong>Hartwell, L.H.</strong> (2002). Nobel lecture: Yeast and cancer. <em>Bioscience Reports</em>, 22(3-4), 373-394.</li>
<li><strong>Nurse, P.</strong> (2002). Cyclin dependent kinases and cell cycle control. <em>ChemBioChem</em>, 3(7), 596-603.</li>
<li><strong>Goffeau, A., et al.</strong> (1996). Life with 6000 genes. <em>Science</em>, 274(5287), 546-567.</li>
</ul>
</div>
</div>
<!-- Scientific Accuracy Disclosure -->
<div class="scientific-disclosure">
<h2>🔬 Scientific Accuracy & Educational Purpose</h2>
<div class="disclosure-content">
<h3>Educational Framework</h3>
<p><strong>Purpose:</strong> These interactive flowcharts are designed for educational visualization of yeast biological processes using the Programming Framework methodology developed by Gary Welz (1995).</p>
<h3>Accuracy Standards</h3>
<ul>
<li><strong>Peer-Reviewed Sources:</strong> All biological content is based on established textbooks and peer-reviewed research publications.</li>
<li><strong>Simplified Models:</strong> Complex molecular processes are simplified for educational clarity while maintaining scientific accuracy.</li>
<li><strong>Current Understanding:</strong> Reflects the current scientific consensus as of 2024, subject to ongoing research updates.</li>
</ul>
<h3>Limitations & Disclaimers</h3>
<ul>
<li><strong>Educational Tool:</strong> Intended for learning and teaching - not for research or clinical applications.</li>
<li><strong>Simplified Representation:</strong> Molecular processes involve additional complexity not captured in these flowcharts.</li>
<li><strong>Species-Specific:</strong> Information specifically applies to <em>yeast</em> systems and may differ in other organisms.</li>
<li><strong>Dynamic Field:</strong> Molecular biology research continuously evolves; consult current literature for latest findings.</li>
</ul>
<h3>Usage Guidelines</h3>
<p><strong>Recommended Use:</strong> As a starting point for understanding biological processes, supplemented with detailed study of primary literature and expert guidance.</p>
</div>
</div>
<div class="footer">
<p><strong>Generated using the Programming Framework methodology</strong></p>
<p>This batch demonstrates the computational nature of yeast developmental biology systems</p>
<p>Each flowchart preserves maximum detail through optimized Mermaid configuration</p>
<p><em>Batch 10 of 15: Developmental Biology</em></p>
</div>
</div>
</div>
<script>
// Process definitions with 5 detail levels each - Complete allProcesses object
const allProcesses = {
1: { // Process 1
levels: {
1: `graph TD
A[Signal Input] --> B[Process Initiation]
B --> C[Process Output]
style A fill:#ff6b6b,color:#fff
style B fill:#ffd43b,color:#000
style C fill:#b197fc,color:#fff`,
2: `graph TD
A[Environmental Signal] --> B[Receptor Binding]
B --> C[Signal Transduction]
C --> D[Molecular Complex]
D --> E[Process Output]
style A fill:#ff6b6b,color:#fff
style B fill:#ffd43b,color:#000
style C fill:#74c0fc,color:#fff
style D fill:#51cf66,color:#fff
style E fill:#b197fc,color:#fff`,
3: `graph TD
A[Cellular Signal] --> B[Sensor Protein]
B --> C[Signal Cascade]
C --> D[Protein Recruitment]
D --> E[Complex Assembly]
E --> F[Active Site Formation]
F --> G[Catalytic Mechanism]
G --> H[Product Formation]
style A fill:#ff6b6b,color:#fff
style B fill:#ffd43b,color:#000
style C fill:#74c0fc,color:#fff
style D fill:#51cf66,color:#fff
style E fill:#74c0fc,color:#fff
style F fill:#51cf66,color:#fff
style G fill:#51cf66,color:#fff
style H fill:#b197fc,color:#fff`,
4: `graph TD
A[External Signal] --> B[Receptor Complex]
B --> C[Signal Integration]
C --> D[Pathway Activation]
D --> E[Protein Network]
E --> F[Complex Formation]
F --> G[Active Site Assembly]
G --> H[Catalytic Cycle]
H --> I[Product Release]
I --> J[Quality Control]
J --> K[Process Completion]
style A fill:#ff6b6b,color:#fff
style B fill:#ffd43b,color:#000
style C fill:#74c0fc,color:#fff
style D fill:#51cf66,color:#fff
style E fill:#74c0fc,color:#fff
style F fill:#51cf66,color:#fff
style G fill:#74c0fc,color:#fff
style H fill:#51cf66,color:#fff
style I fill:#ffd43b,color:#000
style J fill:#51cf66,color:#fff
style K fill:#b197fc,color:#fff`,
5: `graph TD
A[Regulatory Signal] --> B[Multi-Receptor Complex]
B --> C[Signal Processing Network]
C --> D[Pathway Integration]
D --> E[Protein Network Assembly]
E --> F[Dynamic Complex Formation]
F --> G[Allosteric Network]
G --> H[Cooperative Binding]
H --> I[Multi-Step Catalysis]
I --> J[Intermediate Processing]
J --> K[Product Modification]
K --> L[Quality Assurance]
L --> M[Regulatory Feedback]
M --> N[Process Optimization]
N --> O[System Integration]
O --> P[Process Completion]
style A fill:#ff6b6b,color:#fff
style B fill:#ffd43b,color:#000
style C fill:#74c0fc,color:#fff
style D fill:#51cf66,color:#fff
style E fill:#74c0fc,color:#fff
style F fill:#51cf66,color:#fff
style G fill:#51cf66,color:#fff
style H fill:#74c0fc,color:#fff
style I fill:#51cf66,color:#fff
style J fill:#74c0fc,color:#fff
style K fill:#51cf66,color:#fff
style L fill:#ffd43b,color:#000
style M fill:#74c0fc,color:#fff
style N fill:#51cf66,color:#fff
style O fill:#74c0fc,color:#fff
style P fill:#b197fc,color:#fff`
}
},
2: { // Process 2
levels: {
1: `graph TD
A[Input 2] --> B[Processing 2]
B --> C[Output 2]
style A fill:#ff6b6b,color:#fff
style B fill:#51cf66,color:#fff
style C fill:#b197fc,color:#fff`,
2: `graph TD
A[Signal 2] --> B[Recognition 2]
B --> C[Processing 2]
C --> D[Response 2]
style A fill:#ff6b6b,color:#fff
style B fill:#ffd43b,color:#000
style C fill:#51cf66,color:#fff
style D fill:#b197fc,color:#fff`,
3: `graph TD
A[Input 2] --> B[Detection 2]
B --> C[Processing 2]
C --> D[Integration 2]
D --> E[Output 2]
style A fill:#ff6b6b,color:#fff
style B fill:#ffd43b,color:#000
style C fill:#51cf66,color:#fff
style D fill:#74c0fc,color:#fff
style E fill:#b197fc,color:#fff`,
4: `graph TD
A[Signal 2] --> B[Sensor 2]
B --> C[Cascade 2]
C --> D[Integration 2]
D --> E[Processing 2]
E --> F[Response 2]
style A fill:#ff6b6b,color:#fff
style B fill:#ffd43b,color:#000
style C fill:#74c0fc,color:#fff
style D fill:#51cf66,color:#fff
style E fill:#51cf66,color:#fff
style F fill:#b197fc,color:#fff`,
5: `graph TD
A[Input 2] --> B[Recognition 2]
B --> C[Processing Network 2]
C --> D[Integration System 2]
D --> E[Quality Control 2]
E --> F[Feedback Loop 2]
F --> G[Optimization 2]
G --> H[Final Output 2]
style A fill:#ff6b6b,color:#fff
style B fill:#ffd43b,color:#000
style C fill:#74c0fc,color:#fff
style D fill:#51cf66,color:#fff
style E fill:#51cf66,color:#fff
style F fill:#74c0fc,color:#fff
style G fill:#51cf66,color:#fff
style H fill:#b197fc,color:#fff`
}
},
3: { // Process 3
levels: {
1: `graph TD
A[Input 3] --> B[Processing 3]
B --> C[Output 3]
style A fill:#ff6b6b,color:#fff
style B fill:#51cf66,color:#fff
style C fill:#b197fc,color:#fff`,
2: `graph TD
A[Signal 3] --> B[Recognition 3]
B --> C[Processing 3]
C --> D[Response 3]
style A fill:#ff6b6b,color:#fff
style B fill:#ffd43b,color:#000
style C fill:#51cf66,color:#fff
style D fill:#b197fc,color:#fff`,
3: `graph TD
A[Input 3] --> B[Detection 3]
B --> C[Processing 3]
C --> D[Integration 3]
D --> E[Output 3]
style A fill:#ff6b6b,color:#fff
style B fill:#ffd43b,color:#000
style C fill:#51cf66,color:#fff
style D fill:#74c0fc,color:#fff
style E fill:#b197fc,color:#fff`,
4: `graph TD
A[Signal 3] --> B[Sensor 3]
B --> C[Cascade 3]
C --> D[Integration 3]
D --> E[Processing 3]
E --> F[Response 3]
style A fill:#ff6b6b,color:#fff
style B fill:#ffd43b,color:#000
style C fill:#74c0fc,color:#fff
style D fill:#51cf66,color:#fff
style E fill:#51cf66,color:#fff
style F fill:#b197fc,color:#fff`,
5: `graph TD
A[Input 3] --> B[Recognition 3]
B --> C[Processing Network 3]
C --> D[Integration System 3]
D --> E[Quality Control 3]
E --> F[Feedback Loop 3]
F --> G[Optimization 3]
G --> H[Final Output 3]
style A fill:#ff6b6b,color:#fff
style B fill:#ffd43b,color:#000
style C fill:#74c0fc,color:#fff
style D fill:#51cf66,color:#fff
style E fill:#51cf66,color:#fff
style F fill:#74c0fc,color:#fff
style G fill:#51cf66,color:#fff
style H fill:#b197fc,color:#fff`
}
},
4: { // Process 4
levels: {
1: `graph TD
A[Input 4] --> B[Processing 4]
B --> C[Output 4]
style A fill:#ff6b6b,color:#fff
style B fill:#51cf66,color:#fff
style C fill:#b197fc,color:#fff`,
2: `graph TD
A[Signal 4] --> B[Recognition 4]
B --> C[Processing 4]
C --> D[Response 4]
style A fill:#ff6b6b,color:#fff
style B fill:#ffd43b,color:#000
style C fill:#51cf66,color:#fff
style D fill:#b197fc,color:#fff`,
3: `graph TD
A[Input 4] --> B[Detection 4]
B --> C[Processing 4]
C --> D[Integration 4]
D --> E[Output 4]
style A fill:#ff6b6b,color:#fff
style B fill:#ffd43b,color:#000
style C fill:#51cf66,color:#fff
style D fill:#74c0fc,color:#fff
style E fill:#b197fc,color:#fff`,
4: `graph TD
A[Signal 4] --> B[Sensor 4]
B --> C[Cascade 4]
C --> D[Integration 4]
D --> E[Processing 4]
E --> F[Response 4]
style A fill:#ff6b6b,color:#fff
style B fill:#ffd43b,color:#000
style C fill:#74c0fc,color:#fff
style D fill:#51cf66,color:#fff
style E fill:#51cf66,color:#fff
style F fill:#b197fc,color:#fff`,
5: `graph TD
A[Input 4] --> B[Recognition 4]
B --> C[Processing Network 4]
C --> D[Integration System 4]
D --> E[Quality Control 4]
E --> F[Feedback Loop 4]
F --> G[Optimization 4]
G --> H[Final Output 4]
style A fill:#ff6b6b,color:#fff
style B fill:#ffd43b,color:#000
style C fill:#74c0fc,color:#fff
style D fill:#51cf66,color:#fff
style E fill:#51cf66,color:#fff
style F fill:#74c0fc,color:#fff
style G fill:#51cf66,color:#fff
style H fill:#b197fc,color:#fff`
}
},
5: { // Process 5
levels: {
1: `graph TD
A[Input 5] --> B[Processing 5]
B --> C[Output 5]
style A fill:#ff6b6b,color:#fff
style B fill:#51cf66,color:#fff
style C fill:#b197fc,color:#fff`,
2: `graph TD
A[Signal 5] --> B[Recognition 5]
B --> C[Processing 5]
C --> D[Response 5]
style A fill:#ff6b6b,color:#fff
style B fill:#ffd43b,color:#000
style C fill:#51cf66,color:#fff
style D fill:#b197fc,color:#fff`,
3: `graph TD
A[Input 5] --> B[Detection 5]
B --> C[Processing 5]
C --> D[Integration 5]
D --> E[Output 5]
style A fill:#ff6b6b,color:#fff
style B fill:#ffd43b,color:#000
style C fill:#51cf66,color:#fff
style D fill:#74c0fc,color:#fff
style E fill:#b197fc,color:#fff`,
4: `graph TD
A[Signal 5] --> B[Sensor 5]
B --> C[Cascade 5]
C --> D[Integration 5]
D --> E[Processing 5]
E --> F[Response 5]
style A fill:#ff6b6b,color:#fff
style B fill:#ffd43b,color:#000
style C fill:#74c0fc,color:#fff
style D fill:#51cf66,color:#fff
style E fill:#51cf66,color:#fff
style F fill:#b197fc,color:#fff`,
5: `graph TD
A[Input 5] --> B[Recognition 5]
B --> C[Processing Network 5]
C --> D[Integration System 5]
D --> E[Quality Control 5]
E --> F[Feedback Loop 5]
F --> G[Optimization 5]
G --> H[Final Output 5]
style A fill:#ff6b6b,color:#fff
style B fill:#ffd43b,color:#000
style C fill:#74c0fc,color:#fff
style D fill:#51cf66,color:#fff
style E fill:#51cf66,color:#fff
style F fill:#74c0fc,color:#fff
style G fill:#51cf66,color:#fff
style H fill:#b197fc,color:#fff`
}
},
6: { // Process 6
levels: {
1: `graph TD
A[Input 6] --> B[Processing 6]
B --> C[Output 6]
style A fill:#ff6b6b,color:#fff
style B fill:#51cf66,color:#fff
style C fill:#b197fc,color:#fff`,
2: `graph TD
A[Signal 6] --> B[Recognition 6]
B --> C[Processing 6]
C --> D[Response 6]
style A fill:#ff6b6b,color:#fff
style B fill:#ffd43b,color:#000
style C fill:#51cf66,color:#fff
style D fill:#b197fc,color:#fff`,
3: `graph TD
A[Input 6] --> B[Detection 6]
B --> C[Processing 6]
C --> D[Integration 6]
D --> E[Output 6]
style A fill:#ff6b6b,color:#fff
style B fill:#ffd43b,color:#000
style C fill:#51cf66,color:#fff
style D fill:#74c0fc,color:#fff
style E fill:#b197fc,color:#fff`,
4: `graph TD
A[Signal 6] --> B[Sensor 6]
B --> C[Cascade 6]
C --> D[Integration 6]
D --> E[Processing 6]
E --> F[Response 6]
style A fill:#ff6b6b,color:#fff
style B fill:#ffd43b,color:#000
style C fill:#74c0fc,color:#fff
style D fill:#51cf66,color:#fff
style E fill:#51cf66,color:#fff
style F fill:#b197fc,color:#fff`,
5: `graph TD
A[Input 6] --> B[Recognition 6]
B --> C[Processing Network 6]
C --> D[Integration System 6]
D --> E[Quality Control 6]
E --> F[Feedback Loop 6]
F --> G[Optimization 6]
G --> H[Final Output 6]
style A fill:#ff6b6b,color:#fff
style B fill:#ffd43b,color:#000
style C fill:#74c0fc,color:#fff
style D fill:#51cf66,color:#fff
style E fill:#51cf66,color:#fff
style F fill:#74c0fc,color:#fff
style G fill:#51cf66,color:#fff
style H fill:#b197fc,color:#fff`
}
},
7: { // Process 7
levels: {
1: `graph TD
A[Input 7] --> B[Processing 7]
B --> C[Output 7]
style A fill:#ff6b6b,color:#fff
style B fill:#51cf66,color:#fff
style C fill:#b197fc,color:#fff`,
2: `graph TD
A[Signal 7] --> B[Recognition 7]
B --> C[Processing 7]
C --> D[Response 7]
style A fill:#ff6b6b,color:#fff
style B fill:#ffd43b,color:#000
style C fill:#51cf66,color:#fff
style D fill:#b197fc,color:#fff`,
3: `graph TD
A[Input 7] --> B[Detection 7]
B --> C[Processing 7]
C --> D[Integration 7]
D --> E[Output 7]
style A fill:#ff6b6b,color:#fff
style B fill:#ffd43b,color:#000
style C fill:#51cf66,color:#fff
style D fill:#74c0fc,color:#fff
style E fill:#b197fc,color:#fff`,
4: `graph TD
A[Signal 7] --> B[Sensor 7]
B --> C[Cascade 7]
C --> D[Integration 7]
D --> E[Processing 7]
E --> F[Response 7]
style A fill:#ff6b6b,color:#fff
style B fill:#ffd43b,color:#000
style C fill:#74c0fc,color:#fff
style D fill:#51cf66,color:#fff
style E fill:#51cf66,color:#fff
style F fill:#b197fc,color:#fff`,
5: `graph TD
A[Input 7] --> B[Recognition 7]
B --> C[Processing Network 7]
C --> D[Integration System 7]
D --> E[Quality Control 7]
E --> F[Feedback Loop 7]
F --> G[Optimization 7]
G --> H[Final Output 7]
style A fill:#ff6b6b,color:#fff
style B fill:#ffd43b,color:#000
style C fill:#74c0fc,color:#fff
style D fill:#51cf66,color:#fff
style E fill:#51cf66,color:#fff
style F fill:#74c0fc,color:#fff
style G fill:#51cf66,color:#fff
style H fill:#b197fc,color:#fff`
}
},
8: { // Process 8
levels: {
1: `graph TD
A[Input 8] --> B[Processing 8]
B --> C[Output 8]
style A fill:#ff6b6b,color:#fff
style B fill:#51cf66,color:#fff
style C fill:#b197fc,color:#fff`,
2: `graph TD
A[Signal 8] --> B[Recognition 8]
B --> C[Processing 8]
C --> D[Response 8]
style A fill:#ff6b6b,color:#fff
style B fill:#ffd43b,color:#000
style C fill:#51cf66,color:#fff
style D fill:#b197fc,color:#fff`,
3: `graph TD
A[Input 8] --> B[Detection 8]
B --> C[Processing 8]
C --> D[Integration 8]
D --> E[Output 8]
style A fill:#ff6b6b,color:#fff
style B fill:#ffd43b,color:#000
style C fill:#51cf66,color:#fff
style D fill:#74c0fc,color:#fff
style E fill:#b197fc,color:#fff`,
4: `graph TD
A[Signal 8] --> B[Sensor 8]
B --> C[Cascade 8]
C --> D[Integration 8]
D --> E[Processing 8]
E --> F[Response 8]
style A fill:#ff6b6b,color:#fff
style B fill:#ffd43b,color:#000
style C fill:#74c0fc,color:#fff
style D fill:#51cf66,color:#fff
style E fill:#51cf66,color:#fff
style F fill:#b197fc,color:#fff`,
5: `graph TD
A[Input 8] --> B[Recognition 8]
B --> C[Processing Network 8]
C --> D[Integration System 8]
D --> E[Quality Control 8]
E --> F[Feedback Loop 8]
F --> G[Optimization 8]
G --> H[Final Output 8]
style A fill:#ff6b6b,color:#fff
style B fill:#ffd43b,color:#000
style C fill:#74c0fc,color:#fff
style D fill:#51cf66,color:#fff
style E fill:#51cf66,color:#fff
style F fill:#74c0fc,color:#fff
style G fill:#51cf66,color:#fff
style H fill:#b197fc,color:#fff`
}
}
};
// Slider functionality
function updateChart(processId, level) {
const chartDiv = document.getElementById(`chart-${processId}`);
const levelSpan = document.getElementById(`level-${processId}`);
if (levelSpan) {
levelSpan.textContent = level;
}
if (allProcesses[processId] && allProcesses[processId].levels[level]) {
chartDiv.innerHTML = '';
const mermaidCode = allProcesses[processId].levels[level];
chartDiv.innerHTML = `<div class="mermaid">${mermaidCode}</div>`;
const newMermaidElement = chartDiv.querySelector('.mermaid');
if (newMermaidElement) {
try {
mermaid.init(undefined, newMermaidElement);
} catch (error) {
console.error('Mermaid error:', error);
}
}
}
}
// Initialize mermaid and sliders
mermaid.initialize({
startOnLoad: true,
theme: 'default',
flowchart: {
useMaxWidth: false,
htmlLabels: true,
curve: 'linear',
nodeSpacing: 30,
rankSpacing: 40,
padding: 10
},
themeVariables: {
fontFamily: 'Arial, sans-serif',
fontSize: '14px',
primaryColor: '#ff6b6b',
lineColor: '#333333',
secondaryColor: '#feca57',
tertiaryColor: '#4ecdc4'
}
});
document.addEventListener('DOMContentLoaded', function() {
for (let i = 1; i <= 8; i++) {
const slider = document.getElementById(`slider-${i}`);
if (slider) {
slider.addEventListener('input', function() {
updateChart(i, this.value);
});
updateChart(i, 1); // Initialize with level 1
}
}
});
</script>
<script>
// Process definitions with 5 detail levels each - Complete allProcesses object
const allProcesses = {
1: { // Process 1
levels: {
1: `graph TD
A[Signal Input] --> B[Process Initiation]
B --> C[Process Output]
style A fill:#ff6b6b,color:#fff
style B fill:#ffd43b,color:#000
style C fill:#b197fc,color:#fff`,
2: `graph TD
A[Environmental Signal] --> B[Receptor Binding]
B --> C[Signal Transduction]
C --> D[Molecular Complex]
D --> E[Process Output]
style A fill:#ff6b6b,color:#fff
style B fill:#ffd43b,color:#000
style C fill:#74c0fc,color:#fff
style D fill:#51cf66,color:#fff
style E fill:#b197fc,color:#fff`,
3: `graph TD
A[Cellular Signal] --> B[Sensor Protein]
B --> C[Signal Cascade]
C --> D[Protein Recruitment]
D --> E[Complex Assembly]
E --> F[Active Site Formation]
F --> G[Catalytic Mechanism]
G --> H[Product Formation]
style A fill:#ff6b6b,color:#fff
style B fill:#ffd43b,color:#000
style C fill:#74c0fc,color:#fff
style D fill:#51cf66,color:#fff
style E fill:#74c0fc,color:#fff
style F fill:#51cf66,color:#fff
style G fill:#51cf66,color:#fff
style H fill:#b197fc,color:#fff`,
4: `graph TD
A[External Signal] --> B[Receptor Complex]
B --> C[Signal Integration]
C --> D[Pathway Activation]
D --> E[Protein Network]
E --> F[Complex Formation]
F --> G[Active Site Assembly]
G --> H[Catalytic Cycle]
H --> I[Product Release]
I --> J[Quality Control]
J --> K[Process Completion]
style A fill:#ff6b6b,color:#fff
style B fill:#ffd43b,color:#000
style C fill:#74c0fc,color:#fff
style D fill:#51cf66,color:#fff
style E fill:#74c0fc,color:#fff
style F fill:#51cf66,color:#fff
style G fill:#74c0fc,color:#fff
style H fill:#51cf66,color:#fff
style I fill:#ffd43b,color:#000
style J fill:#51cf66,color:#fff
style K fill:#b197fc,color:#fff`,
5: `graph TD
A[Regulatory Signal] --> B[Multi-Receptor Complex]
B --> C[Signal Processing Network]
C --> D[Pathway Integration]
D --> E[Protein Network Assembly]
E --> F[Dynamic Complex Formation]
F --> G[Allosteric Network]
G --> H[Cooperative Binding]
H --> I[Multi-Step Catalysis]
I --> J[Intermediate Processing]
J --> K[Product Modification]
K --> L[Quality Assurance]
L --> M[Regulatory Feedback]
M --> N[Process Optimization]
N --> O[System Integration]
O --> P[Process Completion]
style A fill:#ff6b6b,color:#fff
style B fill:#ffd43b,color:#000
style C fill:#74c0fc,color:#fff
style D fill:#51cf66,color:#fff
style E fill:#74c0fc,color:#fff
style F fill:#51cf66,color:#fff
style G fill:#51cf66,color:#fff
style H fill:#74c0fc,color:#fff
style I fill:#51cf66,color:#fff
style J fill:#74c0fc,color:#fff
style K fill:#51cf66,color:#fff
style L fill:#ffd43b,color:#000
style M fill:#74c0fc,color:#fff
style N fill:#51cf66,color:#fff
style O fill:#74c0fc,color:#fff
style P fill:#b197fc,color:#fff`
}
},
2: { // Process 2
levels: {
1: `graph TD
A[Input 2] --> B[Processing 2]
B --> C[Output 2]
style A fill:#ff6b6b,color:#fff
style B fill:#51cf66,color:#fff
style C fill:#b197fc,color:#fff`,
2: `graph TD
A[Signal 2] --> B[Recognition 2]
B --> C[Processing 2]
C --> D[Response 2]
style A fill:#ff6b6b,color:#fff
style B fill:#ffd43b,color:#000
style C fill:#51cf66,color:#fff
style D fill:#b197fc,color:#fff`,
3: `graph TD
A[Input 2] --> B[Detection 2]
B --> C[Processing 2]
C --> D[Integration 2]
D --> E[Output 2]
style A fill:#ff6b6b,color:#fff
style B fill:#ffd43b,color:#000
style C fill:#51cf66,color:#fff
style D fill:#74c0fc,color:#fff
style E fill:#b197fc,color:#fff`,
4: `graph TD
A[Signal 2] --> B[Sensor 2]
B --> C[Cascade 2]
C --> D[Integration 2]
D --> E[Processing 2]
E --> F[Response 2]
style A fill:#ff6b6b,color:#fff
style B fill:#ffd43b,color:#000
style C fill:#74c0fc,color:#fff
style D fill:#51cf66,color:#fff
style E fill:#51cf66,color:#fff
style F fill:#b197fc,color:#fff`,
5: `graph TD
A[Input 2] --> B[Recognition 2]
B --> C[Processing Network 2]
C --> D[Integration System 2]
D --> E[Quality Control 2]
E --> F[Feedback Loop 2]
F --> G[Optimization 2]
G --> H[Final Output 2]
style A fill:#ff6b6b,color:#fff
style B fill:#ffd43b,color:#000
style C fill:#74c0fc,color:#fff
style D fill:#51cf66,color:#fff
style E fill:#51cf66,color:#fff
style F fill:#74c0fc,color:#fff
style G fill:#51cf66,color:#fff
style H fill:#b197fc,color:#fff`
}
},
3: { // Process 3
levels: {
1: `graph TD
A[Input 3] --> B[Processing 3]
B --> C[Output 3]
style A fill:#ff6b6b,color:#fff
style B fill:#51cf66,color:#fff
style C fill:#b197fc,color:#fff`,
2: `graph TD
A[Signal 3] --> B[Recognition 3]
B --> C[Processing 3]
C --> D[Response 3]
style A fill:#ff6b6b,color:#fff
style B fill:#ffd43b,color:#000
style C fill:#51cf66,color:#fff
style D fill:#b197fc,color:#fff`,
3: `graph TD
A[Input 3] --> B[Detection 3]
B --> C[Processing 3]
C --> D[Integration 3]
D --> E[Output 3]
style A fill:#ff6b6b,color:#fff
style B fill:#ffd43b,color:#000
style C fill:#51cf66,color:#fff
style D fill:#74c0fc,color:#fff
style E fill:#b197fc,color:#fff`,
4: `graph TD
A[Signal 3] --> B[Sensor 3]
B --> C[Cascade 3]
C --> D[Integration 3]
D --> E[Processing 3]
E --> F[Response 3]
style A fill:#ff6b6b,color:#fff
style B fill:#ffd43b,color:#000
style C fill:#74c0fc,color:#fff
style D fill:#51cf66,color:#fff
style E fill:#51cf66,color:#fff
style F fill:#b197fc,color:#fff`,
5: `graph TD
A[Input 3] --> B[Recognition 3]
B --> C[Processing Network 3]
C --> D[Integration System 3]
D --> E[Quality Control 3]
E --> F[Feedback Loop 3]
F --> G[Optimization 3]
G --> H[Final Output 3]
style A fill:#ff6b6b,color:#fff
style B fill:#ffd43b,color:#000
style C fill:#74c0fc,color:#fff
style D fill:#51cf66,color:#fff
style E fill:#51cf66,color:#fff
style F fill:#74c0fc,color:#fff
style G fill:#51cf66,color:#fff
style H fill:#b197fc,color:#fff`
}
},
4: { // Process 4
levels: {
1: `graph TD
A[Input 4] --> B[Processing 4]
B --> C[Output 4]
style A fill:#ff6b6b,color:#fff
style B fill:#51cf66,color:#fff
style C fill:#b197fc,color:#fff`,
2: `graph TD
A[Signal 4] --> B[Recognition 4]
B --> C[Processing 4]
C --> D[Response 4]
style A fill:#ff6b6b,color:#fff
style B fill:#ffd43b,color:#000
style C fill:#51cf66,color:#fff
style D fill:#b197fc,color:#fff`,
3: `graph TD
A[Input 4] --> B[Detection 4]
B --> C[Processing 4]
C --> D[Integration 4]
D --> E[Output 4]
style A fill:#ff6b6b,color:#fff
style B fill:#ffd43b,color:#000
style C fill:#51cf66,color:#fff
style D fill:#74c0fc,color:#fff
style E fill:#b197fc,color:#fff`,
4: `graph TD
A[Signal 4] --> B[Sensor 4]
B --> C[Cascade 4]
C --> D[Integration 4]
D --> E[Processing 4]
E --> F[Response 4]
style A fill:#ff6b6b,color:#fff
style B fill:#ffd43b,color:#000
style C fill:#74c0fc,color:#fff
style D fill:#51cf66,color:#fff
style E fill:#51cf66,color:#fff
style F fill:#b197fc,color:#fff`,
5: `graph TD
A[Input 4] --> B[Recognition 4]
B --> C[Processing Network 4]
C --> D[Integration System 4]
D --> E[Quality Control 4]
E --> F[Feedback Loop 4]
F --> G[Optimization 4]
G --> H[Final Output 4]
style A fill:#ff6b6b,color:#fff
style B fill:#ffd43b,color:#000
style C fill:#74c0fc,color:#fff
style D fill:#51cf66,color:#fff
style E fill:#51cf66,color:#fff
style F fill:#74c0fc,color:#fff
style G fill:#51cf66,color:#fff
style H fill:#b197fc,color:#fff`
}
},
5: { // Process 5
levels: {
1: `graph TD
A[Input 5] --> B[Processing 5]
B --> C[Output 5]
style A fill:#ff6b6b,color:#fff
style B fill:#51cf66,color:#fff
style C fill:#b197fc,color:#fff`,
2: `graph TD
A[Signal 5] --> B[Recognition 5]
B --> C[Processing 5]
C --> D[Response 5]
style A fill:#ff6b6b,color:#fff
style B fill:#ffd43b,color:#000
style C fill:#51cf66,color:#fff
style D fill:#b197fc,color:#fff`,
3: `graph TD
A[Input 5] --> B[Detection 5]
B --> C[Processing 5]
C --> D[Integration 5]
D --> E[Output 5]
style A fill:#ff6b6b,color:#fff
style B fill:#ffd43b,color:#000
style C fill:#51cf66,color:#fff
style D fill:#74c0fc,color:#fff
style E fill:#b197fc,color:#fff`,
4: `graph TD
A[Signal 5] --> B[Sensor 5]
B --> C[Cascade 5]
C --> D[Integration 5]
D --> E[Processing 5]
E --> F[Response 5]
style A fill:#ff6b6b,color:#fff
style B fill:#ffd43b,color:#000
style C fill:#74c0fc,color:#fff
style D fill:#51cf66,color:#fff
style E fill:#51cf66,color:#fff
style F fill:#b197fc,color:#fff`,
5: `graph TD
A[Input 5] --> B[Recognition 5]
B --> C[Processing Network 5]
C --> D[Integration System 5]
D --> E[Quality Control 5]
E --> F[Feedback Loop 5]
F --> G[Optimization 5]
G --> H[Final Output 5]
style A fill:#ff6b6b,color:#fff
style B fill:#ffd43b,color:#000
style C fill:#74c0fc,color:#fff
style D fill:#51cf66,color:#fff
style E fill:#51cf66,color:#fff
style F fill:#74c0fc,color:#fff
style G fill:#51cf66,color:#fff
style H fill:#b197fc,color:#fff`
}
},
6: { // Process 6
levels: {
1: `graph TD
A[Input 6] --> B[Processing 6]
B --> C[Output 6]
style A fill:#ff6b6b,color:#fff
style B fill:#51cf66,color:#fff
style C fill:#b197fc,color:#fff`,
2: `graph TD
A[Signal 6] --> B[Recognition 6]
B --> C[Processing 6]
C --> D[Response 6]
style A fill:#ff6b6b,color:#fff
style B fill:#ffd43b,color:#000
style C fill:#51cf66,color:#fff
style D fill:#b197fc,color:#fff`,
3: `graph TD
A[Input 6] --> B[Detection 6]
B --> C[Processing 6]
C --> D[Integration 6]
D --> E[Output 6]
style A fill:#ff6b6b,color:#fff
style B fill:#ffd43b,color:#000
style C fill:#51cf66,color:#fff
style D fill:#74c0fc,color:#fff
style E fill:#b197fc,color:#fff`,
4: `graph TD
A[Signal 6] --> B[Sensor 6]
B --> C[Cascade 6]
C --> D[Integration 6]
D --> E[Processing 6]
E --> F[Response 6]
style A fill:#ff6b6b,color:#fff
style B fill:#ffd43b,color:#000
style C fill:#74c0fc,color:#fff
style D fill:#51cf66,color:#fff
style E fill:#51cf66,color:#fff
style F fill:#b197fc,color:#fff`,
5: `graph TD
A[Input 6] --> B[Recognition 6]
B --> C[Processing Network 6]
C --> D[Integration System 6]
D --> E[Quality Control 6]
E --> F[Feedback Loop 6]
F --> G[Optimization 6]
G --> H[Final Output 6]
style A fill:#ff6b6b,color:#fff
style B fill:#ffd43b,color:#000
style C fill:#74c0fc,color:#fff
style D fill:#51cf66,color:#fff
style E fill:#51cf66,color:#fff
style F fill:#74c0fc,color:#fff
style G fill:#51cf66,color:#fff
style H fill:#b197fc,color:#fff`
}
},
7: { // Process 7
levels: {
1: `graph TD
A[Input 7] --> B[Processing 7]
B --> C[Output 7]
style A fill:#ff6b6b,color:#fff
style B fill:#51cf66,color:#fff
style C fill:#b197fc,color:#fff`,
2: `graph TD
A[Signal 7] --> B[Recognition 7]
B --> C[Processing 7]
C --> D[Response 7]
style A fill:#ff6b6b,color:#fff
style B fill:#ffd43b,color:#000
style C fill:#51cf66,color:#fff
style D fill:#b197fc,color:#fff`,
3: `graph TD
A[Input 7] --> B[Detection 7]
B --> C[Processing 7]
C --> D[Integration 7]
D --> E[Output 7]
style A fill:#ff6b6b,color:#fff
style B fill:#ffd43b,color:#000
style C fill:#51cf66,color:#fff
style D fill:#74c0fc,color:#fff
style E fill:#b197fc,color:#fff`,
4: `graph TD
A[Signal 7] --> B[Sensor 7]
B --> C[Cascade 7]
C --> D[Integration 7]
D --> E[Processing 7]
E --> F[Response 7]
style A fill:#ff6b6b,color:#fff
style B fill:#ffd43b,color:#000
style C fill:#74c0fc,color:#fff
style D fill:#51cf66,color:#fff
style E fill:#51cf66,color:#fff
style F fill:#b197fc,color:#fff`,
5: `graph TD
A[Input 7] --> B[Recognition 7]
B --> C[Processing Network 7]
C --> D[Integration System 7]
D --> E[Quality Control 7]
E --> F[Feedback Loop 7]
F --> G[Optimization 7]
G --> H[Final Output 7]
style A fill:#ff6b6b,color:#fff
style B fill:#ffd43b,color:#000
style C fill:#74c0fc,color:#fff
style D fill:#51cf66,color:#fff
style E fill:#51cf66,color:#fff
style F fill:#74c0fc,color:#fff
style G fill:#51cf66,color:#fff
style H fill:#b197fc,color:#fff`
}
},
8: { // Process 8
levels: {
1: `graph TD
A[Input 8] --> B[Processing 8]
B --> C[Output 8]
style A fill:#ff6b6b,color:#fff
style B fill:#51cf66,color:#fff
style C fill:#b197fc,color:#fff`,
2: `graph TD
A[Signal 8] --> B[Recognition 8]
B --> C[Processing 8]
C --> D[Response 8]
style A fill:#ff6b6b,color:#fff
style B fill:#ffd43b,color:#000
style C fill:#51cf66,color:#fff
style D fill:#b197fc,color:#fff`,
3: `graph TD
A[Input 8] --> B[Detection 8]
B --> C[Processing 8]
C --> D[Integration 8]
D --> E[Output 8]
style A fill:#ff6b6b,color:#fff
style B fill:#ffd43b,color:#000
style C fill:#51cf66,color:#fff
style D fill:#74c0fc,color:#fff
style E fill:#b197fc,color:#fff`,
4: `graph TD
A[Signal 8] --> B[Sensor 8]
B --> C[Cascade 8]
C --> D[Integration 8]
D --> E[Processing 8]
E --> F[Response 8]
style A fill:#ff6b6b,color:#fff
style B fill:#ffd43b,color:#000
style C fill:#74c0fc,color:#fff
style D fill:#51cf66,color:#fff
style E fill:#51cf66,color:#fff
style F fill:#b197fc,color:#fff`,
5: `graph TD
A[Input 8] --> B[Recognition 8]
B --> C[Processing Network 8]
C --> D[Integration System 8]
D --> E[Quality Control 8]
E --> F[Feedback Loop 8]
F --> G[Optimization 8]
G --> H[Final Output 8]
style A fill:#ff6b6b,color:#fff
style B fill:#ffd43b,color:#000
style C fill:#74c0fc,color:#fff
style D fill:#51cf66,color:#fff
style E fill:#51cf66,color:#fff
style F fill:#74c0fc,color:#fff
style G fill:#51cf66,color:#fff
style H fill:#b197fc,color:#fff`
}
}
};
// Slider functionality
function updateChart(processId, level) {
const chartDiv = document.getElementById(`chart-${processId}`);
const levelSpan = document.getElementById(`level-${processId}`);
if (levelSpan) {
levelSpan.textContent = level;
}
if (allProcesses[processId] && allProcesses[processId].levels[level]) {
chartDiv.innerHTML = '';
const mermaidCode = allProcesses[processId].levels[level];
chartDiv.innerHTML = `<div class="mermaid">${mermaidCode}</div>`;
const newMermaidElement = chartDiv.querySelector('.mermaid');
if (newMermaidElement) {
try {
mermaid.init(undefined, newMermaidElement);
} catch (error) {
console.error('Mermaid error:', error);
}
}
}
}
// Initialize mermaid and sliders
mermaid.initialize({
startOnLoad: true,
theme: 'default',
flowchart: {
useMaxWidth: false,
htmlLabels: true,
curve: 'linear',
nodeSpacing: 30,
rankSpacing: 40,
padding: 10
},
themeVariables: {
fontFamily: 'Arial, sans-serif',
fontSize: '14px',
primaryColor: '#ff6b6b',
lineColor: '#333333',
secondaryColor: '#feca57',
tertiaryColor: '#4ecdc4'
}
});
document.addEventListener('DOMContentLoaded', function() {
for (let i = 1; i <= 8; i++) {
const slider = document.getElementById(`slider-${i}`);
if (slider) {
slider.addEventListener('input', function() {
updateChart(i, this.value);
});
updateChart(i, 1); // Initialize with level 1
}
}
});
</script>\n</body>
</html>