Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

plugin-flow.svg 4.4 KB

You have to be logged in to leave a comment. Sign In
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
  1. <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 800 400">
  2. <!-- Definitions for reusable elements -->
  3. <defs>
  4. <!-- Gradients -->
  5. <linearGradient id="pluginGradient" x1="0%" y1="0%" x2="100%" y2="0%">
  6. <stop offset="0%" style="stop-color:#4F46E5;stop-opacity:1" />
  7. <stop offset="100%" style="stop-color:#7C3AED;stop-opacity:1" />
  8. </linearGradient>
  9. <linearGradient id="payloadGradient" x1="0%" y1="0%" x2="100%" y2="0%">
  10. <stop offset="0%" style="stop-color:#DC2626;stop-opacity:1" />
  11. <stop offset="100%" style="stop-color:#EF4444;stop-opacity:1" />
  12. </linearGradient>
  13. <linearGradient id="appGradient" x1="0%" y1="0%" x2="100%" y2="0%">
  14. <stop offset="0%" style="stop-color:#059669;stop-opacity:1" />
  15. <stop offset="100%" style="stop-color:#10B981;stop-opacity:1" />
  16. </linearGradient>
  17. <!-- Arrow marker -->
  18. <marker id="arrowhead" markerWidth="10" markerHeight="7" refX="9" refY="3.5" orient="auto">
  19. <polygon points="0 0, 10 3.5, 0 7" fill="#6B7280"/>
  20. </marker>
  21. <!-- Drop Shadow Filter -->
  22. <filter id="shadow" x="-20%" y="-20%" width="140%" height="140%">
  23. <feDropShadow dx="2" dy="2" stdDeviation="3" flood-opacity="0.3"/>
  24. </filter>
  25. </defs>
  26. <!-- Plugin Box with Stack Effect -->
  27. <g transform="translate(50, 150)">
  28. <rect width="160" height="100" rx="10" x="16" y="16" fill="#4F46E5" opacity="0.3" />
  29. <rect width="160" height="100" rx="10" x="8" y="8" fill="#4F46E5" opacity="0.5" />
  30. <rect width="160" height="100" rx="10" x="0" y="0" fill="url(#pluginGradient)" filter="url(#shadow)" />
  31. <text x="80" y="45" font-family="system-ui" font-size="16" text-anchor="middle" fill="white" font-weight="bold">Plugin</text>
  32. <text x="80" y="65" font-family="system-ui" font-size="12" text-anchor="middle" fill="white">Adversarial LLM</text>
  33. </g>
  34. <!-- Payload Boxes -->
  35. <g transform="translate(340, 50)">
  36. <!-- Each payload with red gradient -->
  37. <g>
  38. <rect width="140" height="60" rx="8" fill="url(#payloadGradient)" filter="url(#shadow)" />
  39. <text x="70" y="35" font-family="system-ui" font-size="14" text-anchor="middle" fill="white">Payload 1</text>
  40. </g>
  41. <g transform="translate(0, 80)">
  42. <rect width="140" height="60" rx="8" fill="url(#payloadGradient)" filter="url(#shadow)" />
  43. <text x="70" y="35" font-family="system-ui" font-size="14" text-anchor="middle" fill="white">Payload 2</text>
  44. </g>
  45. <g transform="translate(0, 160)">
  46. <rect width="140" height="60" rx="8" fill="url(#payloadGradient)" filter="url(#shadow)" />
  47. <text x="70" y="35" font-family="system-ui" font-size="14" text-anchor="middle" fill="white">Payload 3</text>
  48. </g>
  49. <g transform="translate(0, 240)">
  50. <rect width="140" height="60" rx="8" fill="url(#payloadGradient)" filter="url(#shadow)" />
  51. <text x="70" y="35" font-family="system-ui" font-size="14" text-anchor="middle" fill="white">Payload 4</text>
  52. </g>
  53. </g>
  54. <!-- Application Box (without stack effect) -->
  55. <g transform="translate(590, 150)">
  56. <rect width="160" height="100" rx="10" fill="url(#appGradient)" />
  57. <text x="80" y="55" font-family="system-ui" font-size="16" text-anchor="middle" fill="white" font-weight="bold">Application</text>
  58. </g>
  59. <!-- Connecting Lines -->
  60. <g>
  61. <line x1="210" y1="180" x2="340" y2="80" stroke="#6B7280" stroke-width="2" marker-end="url(#arrowhead)"/>
  62. <line x1="210" y1="190" x2="340" y2="160" stroke="#6B7280" stroke-width="2" marker-end="url(#arrowhead)"/>
  63. <line x1="210" y1="200" x2="340" y2="240" stroke="#6B7280" stroke-width="2" marker-end="url(#arrowhead)"/>
  64. <line x1="210" y1="210" x2="340" y2="320" stroke="#6B7280" stroke-width="2" marker-end="url(#arrowhead)"/>
  65. <line x1="480" y1="80" x2="590" y2="180" stroke="#6B7280" stroke-width="2" marker-end="url(#arrowhead)"/>
  66. <line x1="480" y1="160" x2="590" y2="190" stroke="#6B7280" stroke-width="2" marker-end="url(#arrowhead)"/>
  67. <line x1="480" y1="240" x2="590" y2="200" stroke="#6B7280" stroke-width="2" marker-end="url(#arrowhead)"/>
  68. <line x1="480" y1="320" x2="590" y2="210" stroke="#6B7280" stroke-width="2" marker-end="url(#arrowhead)"/>
  69. </g>
  70. </svg>
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...