PluginProbe
Blockenberg — 600+ Advanced Gutenberg Blocks & AI Agent for WordPress Block Editor / 2.0.7
Blockenberg — 600+ Advanced Gutenberg Blocks & AI Agent for WordPress Block Editor v2.0.7
2.0.13 2.0.12 2.0.11 2.0.10 2.0.9 trunk 2.0.2 2.0.3 2.0.4 2.0.5 2.0.6 2.0.7 2.0.8
blockenberg / blocks / network-diagram / block.json

block.json in Blockenberg — 600+ Advanced Gutenberg Blocks & AI Agent for WordPress Block Editor 2.0.7, at blocks/network-diagram/block.json

155 lines 3.9 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 {
2 "apiVersion": 3,
3 "name": "blockenberg/network-diagram",
4 "title": "Network Diagram",
5 "category": "bkbg-charts",
6 "icon": "share",
7 "description": "Node-link relationship diagram for system architecture, dependencies, or org charts.",
8 "textdomain": "blockenberg",
9 "editorScript": "bkbg-network-diagram-editor",
10 "style": "bkbg-network-diagram-style",
11 "attributes": {
12 "title": {
13 "type": "string",
14 "default": "System Architecture"
15 },
16 "showTitle": {
17 "type": "boolean",
18 "default": true
19 },
20 "svgWidth": {
21 "type": "number",
22 "default": 680
23 },
24 "svgHeight": {
25 "type": "number",
26 "default": 420
27 },
28 "nodeRadius": {
29 "type": "number",
30 "default": 28
31 },
32 "nodeStroke": {
33 "type": "number",
34 "default": 2
35 },
36 "linkWidth": {
37 "type": "number",
38 "default": 2
39 },
40 "arrowSize": {
41 "type": "number",
42 "default": 10
43 },
44 "showLabels": {
45 "type": "boolean",
46 "default": true
47 },
48 "showArrows": {
49 "type": "boolean",
50 "default": true
51 },
52 "labelFontSize": {
53 "type": "number",
54 "default": 11
55 },
56 "bgColor": {
57 "type": "string",
58 "default": "#f8fafc"
59 },
60 "linkColor": {
61 "type": "string",
62 "default": "#cbd5e1"
63 },
64 "textColor": {
65 "type": "string",
66 "default": "#ffffff"
67 },
68 "titleColor": {
69 "type": "string",
70 "default": "#111827"
71 },
72 "titleTypo": {
73 "type": "object",
74 "default": {}
75 },
76 "nodes": {
77 "type": "array",
78 "default": [
79 {
80 "id": "n1",
81 "label": "Frontend",
82 "color": "#6366f1",
83 "x": 120,
84 "y": 100
85 },
86 {
87 "id": "n2",
88 "label": "API Gateway",
89 "color": "#10b981",
90 "x": 340,
91 "y": 100
92 },
93 {
94 "id": "n3",
95 "label": "Auth",
96 "color": "#f59e0b",
97 "x": 220,
98 "y": 270
99 },
100 {
101 "id": "n4",
102 "label": "Database",
103 "color": "#ef4444",
104 "x": 460,
105 "y": 270
106 },
107 {
108 "id": "n5",
109 "label": "Cache",
110 "color": "#8b5cf6",
111 "x": 560,
112 "y": 130
113 },
114 {
115 "id": "n6",
116 "label": "CDN",
117 "color": "#ec4899",
118 "x": 100,
119 "y": 270
120 }
121 ]
122 },
123 "links": {
124 "type": "array",
125 "default": [
126 {
127 "from": "n1",
128 "to": "n2",
129 "label": ""
130 },
131 {
132 "from": "n2",
133 "to": "n3",
134 "label": ""
135 },
136 {
137 "from": "n2",
138 "to": "n4",
139 "label": ""
140 },
141 {
142 "from": "n2",
143 "to": "n5",
144 "label": ""
145 },
146 {
147 "from": "n1",
148 "to": "n6",
149 "label": ""
150 }
151 ]
152 }
153 }
154 }
155