Better drawing and added more icons

This commit is contained in:
2026-07-20 13:18:16 +02:00
parent ee859c4311
commit 4ab74f64e2
27 changed files with 4087 additions and 307 deletions

355
BEdit/untitled.bedit.json Normal file
View File

@@ -0,0 +1,355 @@
{
"format": "bedit-document",
"version": 1,
"metadata": {
"name": "Untitled"
},
"roots": [
{
"id": "f4a9c769-d49a-46e1-90d8-a8175bf42e9c",
"name": "New Graph Block 1",
"position": {
"x": 0.0,
"y": 0.0
},
"rotation": 0.0,
"interface": {
"inputs": [],
"outputs": []
},
"icon": {
"shape": "rectangle",
"fill": "#f4f4f4",
"border": "#303030",
"text": "Graph",
"size": {
"width": 128.0,
"height": 128.0
},
"elements": [
{
"type": "rectangle",
"x": 32.0,
"y": 32.0,
"width": 64.0,
"height": 64.0,
"fill": "#f4f4f4",
"stroke": "#303030",
"lineWidth": 1.5,
"lineStyle": "solid",
"cornerRadius": 5.0
},
{
"type": "text",
"x": 40.0,
"y": 40.0,
"width": 48.0,
"height": 48.0,
"text": "Graph",
"color": "#202020",
"fontSize": 12.0
}
]
},
"properties": {},
"library": {
"showSubtree": true
},
"implementation": {
"kind": "graph",
"graph": {
"blocks": [
{
"id": "af73487a-4a2d-4908-b919-d0a2eaa75ce2",
"name": "A",
"position": {
"x": -192.0,
"y": -192.0
},
"rotation": 0.0,
"interface": {
"inputs": [
{
"id": "port-5c5d4695",
"name": "Port 1",
"position": {
"x": 0.0,
"y": 0.0
},
"properties": {
"iconPosition": {
"x": 32.0,
"y": 64.0
}
},
"type": "signal"
}
],
"outputs": [
{
"id": "port-de109124",
"name": "Port 2",
"position": {
"x": 0.0,
"y": 0.0
},
"properties": {
"iconPosition": {
"x": 96.0,
"y": 64.0
}
},
"type": "signal"
}
]
},
"icon": {
"shape": "rectangle",
"fill": "#f4f4f4",
"border": "#303030",
"text": "Text",
"size": {
"width": 128.0,
"height": 128.0
},
"elements": [
{
"cornerRadius": 5.0,
"fill": "#f4f4f4",
"height": 64.0,
"lineStyle": "solid",
"lineWidth": 1.5,
"stroke": "#303030",
"type": "rectangle",
"width": 64.0,
"x": 32.0,
"y": 32.0
},
{
"color": "#303030",
"fill": "#ffffff",
"fontSize": 12.0,
"height": 48.0,
"lineStyle": "solid",
"lineWidth": 1.5,
"stroke": "#303030",
"text": "A",
"type": "text",
"width": 48.0,
"x": 40.0,
"y": 40.0
}
]
},
"properties": {},
"library": {
"showSubtree": true
},
"implementation": {
"kind": "text",
"source": {
"equations": [],
"parameters": {}
}
}
},
{
"id": "b89a77a1-d773-4ee3-8c3f-74377c29b4b2",
"name": "B",
"position": {
"x": 128.0,
"y": -128.0
},
"rotation": 0.0,
"interface": {
"inputs": [
{
"id": "port-4f732b3e",
"name": "Port 1",
"position": {
"x": -176.0,
"y": -144.0
},
"properties": {
"iconPosition": {
"x": 32.0,
"y": 48.0
}
},
"type": "signal"
},
{
"id": "port-ef7c4218",
"name": "Port 2",
"position": {
"x": -176.0,
"y": -16.0
},
"properties": {
"iconPosition": {
"x": 32.0,
"y": 80.0
}
},
"type": "signal"
}
],
"outputs": [
{
"id": "port-b68679b2",
"name": "Port 3",
"position": {
"x": 128.0,
"y": -80.0
},
"properties": {
"iconPosition": {
"x": 96.0,
"y": 64.0
}
},
"type": "signal"
}
]
},
"icon": {
"shape": "rectangle",
"fill": "#f4f4f4",
"border": "#303030",
"text": "Graph",
"size": {
"width": 128.0,
"height": 128.0
},
"elements": [
{
"cornerRadius": 5.0,
"fill": "#f4f4f4",
"height": 64.0,
"lineStyle": "solid",
"lineWidth": 1.5,
"stroke": "#303030",
"type": "rectangle",
"width": 64.0,
"x": 32.0,
"y": 32.0
},
{
"color": "#303030",
"fill": "#ffffff",
"fontSize": 12.0,
"height": 48.0,
"lineStyle": "solid",
"lineWidth": 1.5,
"stroke": "#303030",
"text": "B",
"type": "text",
"width": 48.0,
"x": 40.0,
"y": 40.0
}
]
},
"properties": {},
"library": {
"showSubtree": true
},
"implementation": {
"kind": "graph",
"graph": {
"blocks": [],
"connections": [],
"annotations": []
}
}
}
],
"connections": [
{
"id": "c59eac1f-5f24-45de-90ee-bfd039894ed9",
"source": {
"block": "af73487a-4a2d-4908-b919-d0a2eaa75ce2",
"port": "port-de109124"
},
"target": {
"block": "b89a77a1-d773-4ee3-8c3f-74377c29b4b2",
"port": "port-4f732b3e"
},
"name": "",
"properties": {
"routing": "angled",
"waypoints": [
{
"x": -64.0,
"y": -128.0
},
{
"x": -64.0,
"y": 64.0
},
{
"x": 64.0,
"y": 64.0
},
{
"x": 64.0,
"y": -80.0
}
]
}
}
],
"annotations": [
{
"id": "bfe7d48b-fe54-4378-ab1b-f9b46c2efa87",
"kind": "box",
"position": {
"x": 48.0,
"y": -328.0
},
"size": {
"width": 160.0,
"height": 112.0
},
"text": "",
"layer": -1,
"properties": {
"stroke": "#303030",
"lineWidth": 1.5,
"lineStyle": "solid",
"fill": "#dbeafe",
"cornerRadius": 0.0,
"routing": "angled",
"waypoints": []
}
},
{
"id": "aa69f7b3-f5af-426b-9eb3-c63a268346b5",
"kind": "text",
"position": {
"x": -272.0,
"y": -216.0
},
"size": {
"width": 400.0,
"height": 48.0
},
"text": "This is an annotation",
"layer": -1,
"properties": {
"stroke": "#023010",
"lineWidth": 3.0,
"lineStyle": "dash",
"fill": "none",
"fontSize": 18.0,
"color": "#023010",
"routing": "angled",
"waypoints": []
}
}
]
}
}
}
]
}