| 1 |
{ |
| 2 |
"$schema": "https://schemas.wp.org/trunk/block.json", |
| 3 |
"apiVersion": 3, |
| 4 |
"name": "blockenberg/mind-map", |
| 5 |
"version": "1.0.0", |
| 6 |
"title": "Mind Map", |
| 7 |
"category": "bkbg-charts", |
| 8 |
"icon": "networking", |
| 9 |
"description": "Visual mind map diagram with a central topic, branches, and sub-items. Great for brainstorming, planning, and knowledge visualization.", |
| 10 |
"keywords": [ |
| 11 |
"mind map", |
| 12 |
"brainstorm", |
| 13 |
"diagram", |
| 14 |
"branches", |
| 15 |
"concept", |
| 16 |
"radial" |
| 17 |
], |
| 18 |
"textdomain": "blockenberg", |
| 19 |
"editorScript": "bkbg-mind-map-editor", |
| 20 |
"style": "bkbg-mind-map-style", |
| 21 |
"supports": { |
| 22 |
"html": false, |
| 23 |
"align": [ |
| 24 |
"wide", |
| 25 |
"full" |
| 26 |
] |
| 27 |
}, |
| 28 |
"attributes": { |
| 29 |
"centralTopic": { |
| 30 |
"type": "string", |
| 31 |
"default": "Main Topic" |
| 32 |
}, |
| 33 |
"centralColor": { |
| 34 |
"type": "string", |
| 35 |
"default": "#4f46e5" |
| 36 |
}, |
| 37 |
"centralRadius": { |
| 38 |
"type": "number", |
| 39 |
"default": 62 |
| 40 |
}, |
| 41 |
"centralFontSize": { |
| 42 |
"type": "number", |
| 43 |
"default": 15 |
| 44 |
}, |
| 45 |
"textColor": { |
| 46 |
"type": "string", |
| 47 |
"default": "#374151" |
| 48 |
}, |
| 49 |
"bgColor": { |
| 50 |
"type": "string", |
| 51 |
"default": "#f9fafb" |
| 52 |
}, |
| 53 |
"svgWidth": { |
| 54 |
"type": "number", |
| 55 |
"default": 820 |
| 56 |
}, |
| 57 |
"svgHeight": { |
| 58 |
"type": "number", |
| 59 |
"default": 620 |
| 60 |
}, |
| 61 |
"branchRadius": { |
| 62 |
"type": "number", |
| 63 |
"default": 46 |
| 64 |
}, |
| 65 |
"branchFontSize": { |
| 66 |
"type": "number", |
| 67 |
"default": 13 |
| 68 |
}, |
| 69 |
"itemFontSize": { |
| 70 |
"type": "number", |
| 71 |
"default": 12 |
| 72 |
}, |
| 73 |
"showLines": { |
| 74 |
"type": "boolean", |
| 75 |
"default": true |
| 76 |
}, |
| 77 |
"dashedLines": { |
| 78 |
"type": "boolean", |
| 79 |
"default": false |
| 80 |
}, |
| 81 |
"branches": { |
| 82 |
"type": "array", |
| 83 |
"default": [ |
| 84 |
{ |
| 85 |
"label": "Research", |
| 86 |
"color": "#4f46e5", |
| 87 |
"items": [ |
| 88 |
"Sources", |
| 89 |
"Data", |
| 90 |
"Analysis" |
| 91 |
] |
| 92 |
}, |
| 93 |
{ |
| 94 |
"label": "Design", |
| 95 |
"color": "#0891b2", |
| 96 |
"items": [ |
| 97 |
"Wireframes", |
| 98 |
"Mockups" |
| 99 |
] |
| 100 |
}, |
| 101 |
{ |
| 102 |
"label": "Planning", |
| 103 |
"color": "#059669", |
| 104 |
"items": [ |
| 105 |
"Timeline", |
| 106 |
"Resources" |
| 107 |
] |
| 108 |
}, |
| 109 |
{ |
| 110 |
"label": "Development", |
| 111 |
"color": "#dc2626", |
| 112 |
"items": [ |
| 113 |
"Frontend", |
| 114 |
"Backend" |
| 115 |
] |
| 116 |
}, |
| 117 |
{ |
| 118 |
"label": "Marketing", |
| 119 |
"color": "#d97706", |
| 120 |
"items": [ |
| 121 |
"SEO", |
| 122 |
"Social Media" |
| 123 |
] |
| 124 |
}, |
| 125 |
{ |
| 126 |
"label": "Launch", |
| 127 |
"color": "#7c3aed", |
| 128 |
"items": [ |
| 129 |
"Deploy", |
| 130 |
"Monitor" |
| 131 |
] |
| 132 |
} |
| 133 |
] |
| 134 |
}, |
| 135 |
"centralTypo": { |
| 136 |
"type": "object", |
| 137 |
"default": {} |
| 138 |
}, |
| 139 |
"branchTypo": { |
| 140 |
"type": "object", |
| 141 |
"default": {} |
| 142 |
}, |
| 143 |
"itemTypo": { |
| 144 |
"type": "object", |
| 145 |
"default": {} |
| 146 |
} |
| 147 |
} |
| 148 |
} |
| 149 |
|