glmp / processes /yeast /yeast_batch31_cellular_aging.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 12: Aging & Senescence - 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 12: Aging & Senescence</h1>
<p>Programming Framework Analysis - 8 Aging Processes</p>
</div>
<div class="content">
<div class="intro">
<h2>🧬 Aging & Senescence Systems</h2>
<p><strong>Batch Overview:</strong> This batch contains 8 fundamental yeast processes responsible for aging and cellular senescence. These processes represent the core computational systems that govern cellular lifespan and age-related changes.</p>
<p>Each process demonstrates sophisticated biological programming with aging regulation and senescence control.</p>
</div>
<div class="toc">
<h2>📋 Table of Contents - 8 Aging Processes</h2>
<ul>
<li><a href="#replicative-aging">1. Replicative Aging</a></li>
<li><a href="#chronological-aging">2. Chronological Aging</a></li>
<li><a href="#telomere-shortening">3. Telomere Shortening</a></li>
<li><a href="#oxidative-damage">4. Oxidative Damage Accumulation</a></li>
<li><a href="#protein-aggregation">5. Protein Aggregation</a></li>
<li><a href="#mitochondrial-dysfunction">6. Mitochondrial Dysfunction</a></li>
<li><a href="#senescence-induction">7. Senescence Induction</a></li>
<li><a href="#cell-death-pathways">8. Cell Death Pathways</a></li>
</ul>
</div>
<!-- Process 1: Replicative Aging -->
<div class="process-item" id="replicative-aging">
<h3 id="process-1">1. Replicative Aging</h3>
<p>Detailed analysis of Replicative Aging 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[Cell Division] --> B[Budding Process]
B --> C[Asymmetric Division]
C --> D[Replicative Clock]
D --> E[Aging Factors]
E --> F[Division Limit]
F --> G[Replicative Senescence]
G --> H[Cell Death]
%% 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: Chronological Aging -->
<div class="process-item" id="chronological-aging">
<h3 id="process-2">2. Chronological Aging</h3>
<p>Detailed analysis of Chronological Aging 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[Time Passage] --> B[Metabolic Changes]
B --> C[Stress Accumulation]
C --> D[Damage Buildup]
D --> E[Viability Decline]
E --> F[Chronological Clock]
F --> G[Chronological Senescence]
G --> H[Cell Death]
%% 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: Telomere Shortening -->
<div class="process-item" id="telomere-shortening">
<h3 id="process-3">3. Telomere Shortening</h3>
<p>Detailed analysis of Telomere Shortening 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[DNA Replication] --> B[End Replication Problem]
B --> C[Telomere Shortening]
C --> D[Telomerase Activity]
D --> E[Telomere Length]
E --> F[Critical Length]
F --> G[DNA Damage Response]
G --> H[Senescence Trigger]
%% 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: Oxidative Damage Accumulation -->
<div class="process-item" id="oxidative-damage">
<h3 id="process-4">4. Oxidative Damage Accumulation</h3>
<p>Detailed analysis of Oxidative Damage Accumulation 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[ROS Production] --> B[Oxidative Stress]
B --> C[Damage Accumulation]
C --> D[Antioxidant Decline]
D --> E[Damage Buildup]
E --> F[Cellular Dysfunction]
F --> G[Aging Acceleration]
G --> H[Senescence]
%% 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: Protein Aggregation -->
<div class="process-item" id="protein-aggregation">
<h3 id="process-5">5. Protein Aggregation</h3>
<p>Detailed analysis of Protein Aggregation 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[Protein Misfolding] --> B[Chaperone Decline]
B --> C[Aggregate Formation]
C --> D[Proteasome Dysfunction]
D --> E[Aggregate Accumulation]
E --> F[Cellular Toxicity]
F --> G[Function Impairment]
G --> H[Aging Phenotype]
%% 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: Mitochondrial Dysfunction -->
<div class="process-item" id="mitochondrial-dysfunction">
<h3 id="process-6">6. Mitochondrial Dysfunction</h3>
<p>Detailed analysis of Mitochondrial Dysfunction 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[Mitochondrial Damage] --> B[ROS Production]
B --> C[mtDNA Mutations]
C --> D[Respiratory Decline]
D --> E[Energy Deficiency]
E --> F[Metabolic Dysfunction]
F --> G[Cellular Decline]
G --> H[Aging Acceleration]
%% 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: Senescence Induction -->
<div class="process-item" id="senescence-induction">
<h3 id="process-7">7. Senescence Induction</h3>
<p>Detailed analysis of Senescence Induction 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[Aging Signals] --> B[Senescence Factors]
B --> C[Cell Cycle Arrest]
C --> D[Senescence Program]
D --> E[Gene Expression Changes]
E --> F[Senescence Phenotype]
F --> G[Irreversible Arrest]
G --> H[Senescent State]
%% 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: Cell Death Pathways -->
<div class="process-item" id="cell-death-pathways">
<h3 id="process-8">8. Cell Death Pathways</h3>
<p>Detailed analysis of Cell Death Pathways 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[Death Signals] --> B[Apoptosis Induction]
B --> C[Caspase Activation]
C --> D[Programmed Death]
D --> E[Cell Shrinkage]
E --> F[DNA Fragmentation]
F --> G[Phagocytosis]
G --> H[Cell Elimination]
%% 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 aging and senescence systems</p>
<p>Each flowchart preserves maximum detail through optimized Mermaid configuration</p>
<p><em>Batch 12 of 15: Aging & Senescence</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>