-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathClaude_DiffusionTree.html
More file actions
91 lines (79 loc) · 3.92 KB
/
Copy pathClaude_DiffusionTree.html
File metadata and controls
91 lines (79 loc) · 3.92 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
import React from 'react';
const DecisionTreeArchitecture = () => {
return (
<div className="p-6 bg-gray-50 min-h-screen flex justify-center items-center">
<div className="bg-white shadow-xl rounded-lg p-8 w-full max-w-4xl">
<h1 className="text-2xl font-bold text-center mb-12">
Hierarchical Decision Diffusion Model
</h1>
<div className="relative">
{/* Root Node - Main Diffusion Model */}
<div className="flex justify-center mb-8">
<div className="bg-blue-600 text-white p-4 rounded-lg shadow-md z-10 text-center w-64">
<h2 className="font-semibold text-lg">Main Backbone Diffusion Model</h2>
<p className="text-sm">Central Decision Tree Structure</p>
</div>
</div>
{/* Tree Branching Lines */}
<div className="absolute left-1/2 top-32 bottom-0 w-1 bg-gray-300"></div>
{/* First Level Branches */}
<div className="flex justify-center space-x-16 relative">
{/* Left Branch */}
<div className="relative w-64">
{/* Vertical Connection Line */}
<div className="absolute -top-8 left-1/2 w-1 h-8 bg-gray-300 transform -translate-x-1/2"></div>
{/* Branch Node */}
<div className="bg-green-500 text-white p-4 rounded-lg shadow-md text-center">
<h3 className="font-semibold">Branch Diffusion Model A</h3>
</div>
{/* Sub-branches */}
<div className="flex justify-between mt-8">
{/* Left Sub-branch */}
<div className="relative w-24">
<div className="absolute -top-8 left-1/2 w-1 h-8 bg-gray-300 transform -translate-x-1/2"></div>
<div className="bg-green-200 p-3 rounded-lg text-center">
<p className="text-sm text-green-800">Leaf Diffusion Model 1</p>
</div>
</div>
{/* Right Sub-branch */}
<div className="relative w-24">
<div className="absolute -top-8 left-1/2 w-1 h-8 bg-gray-300 transform -translate-x-1/2"></div>
<div className="bg-green-200 p-3 rounded-lg text-center">
<p className="text-sm text-green-800">Leaf Diffusion Model 2</p>
</div>
</div>
</div>
</div>
{/* Right Branch */}
<div className="relative w-64">
{/* Vertical Connection Line */}
<div className="absolute -top-8 left-1/2 w-1 h-8 bg-gray-300 transform -translate-x-1/2"></div>
{/* Branch Node */}
<div className="bg-purple-500 text-white p-4 rounded-lg shadow-md text-center">
<h3 className="font-semibold">Branch Diffusion Model B</h3>
</div>
{/* Sub-branches */}
<div className="flex justify-between mt-8">
{/* Left Sub-branch */}
<div className="relative w-24">
<div className="absolute -top-8 left-1/2 w-1 h-8 bg-gray-300 transform -translate-x-1/2"></div>
<div className="bg-purple-200 p-3 rounded-lg text-center">
<p className="text-sm text-purple-800">Leaf Diffusion Model 3</p>
</div>
</div>
{/* Right Sub-branch */}
<div className="relative w-24">
<div className="absolute -top-8 left-1/2 w-1 h-8 bg-gray-300 transform -translate-x-1/2"></div>
<div className="bg-purple-200 p-3 rounded-lg text-center">
<p className="text-sm text-purple-800">Leaf Diffusion Model 4</p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
);
};
export default DecisionTreeArchitecture;