Files
Ranska 1d486fc58d ajout numerotation workflows, lefthook, CI et docs PR
- numerotation 01_ a 10_ des workflows par complexite croissante
- lefthook pre-commit avec mamba pour bloquer si tests cassent
- github actions CI (python 3.10/3.11/3.12) sur push et PR
- docs/pr-conventions.md pour les conventions de messages PR
- mise a jour README section Contribute (tests, CI, git flow)
- ajout coverage et lefthook dans requirements-dev.txt
2026-02-14 17:11:45 +01:00

459 lines
7.8 KiB
JSON

{
"last_node_id": 11,
"last_link_id": 8,
"nodes": [
{
"id": 1,
"type": "Note",
"pos": [
0,
0
],
"size": [
350,
200
],
"flags": {},
"order": 0,
"mode": 0,
"title": "Note FR",
"properties": {
"Node name for S&R": "Note"
},
"widgets_values": [
"🇫🇷 FRANÇAIS\n─────────────\nDémonstration des 3 dispositions (layouts) de PaletteView :\n- grid : grille avec colonnes configurables\n- horizontal : bande horizontale\n- vertical : bande verticale\nLe mode grille active show_hex et show_indices pour montrer les options.\n\n⚡ Nodes utilisés : CreateColorFromRGBNode, CreateGradientPaletteNode, PaletteViewNode"
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 2,
"type": "Note",
"pos": [
0,
240
],
"size": [
350,
200
],
"flags": {},
"order": 1,
"mode": 0,
"title": "Note EN",
"properties": {
"Node name for S&R": "Note"
},
"widgets_values": [
"🇬🇧 ENGLISH\n─────────────\nDemonstration of all 3 PaletteView layouts:\n- grid: configurable column grid\n- horizontal: horizontal strip\n- vertical: vertical strip\nGrid mode has show_hex and show_indices enabled to showcase options.\n\n⚡ Nodes used: CreateColorFromRGBNode, CreateGradientPaletteNode, PaletteViewNode"
],
"color": "#223",
"bgcolor": "#335"
},
{
"id": 3,
"type": "CreateColorFromRGBNode",
"pos": [
0,
500
],
"size": [
250,
170
],
"flags": {},
"order": 2,
"mode": 0,
"outputs": [
{
"name": "color",
"type": "PIXEL_COLOR",
"links": [
1
]
}
],
"title": "Orange",
"properties": {
"Node name for S&R": "CreateColorFromRGBNode"
},
"widgets_values": [
255,
100,
0,
"Orange"
]
},
{
"id": 4,
"type": "CreateColorFromRGBNode",
"pos": [
0,
700
],
"size": [
250,
170
],
"flags": {},
"order": 3,
"mode": 0,
"outputs": [
{
"name": "color",
"type": "PIXEL_COLOR",
"links": [
2
]
}
],
"title": "Bleu ciel",
"properties": {
"Node name for S&R": "CreateColorFromRGBNode"
},
"widgets_values": [
0,
100,
255,
"Bleu ciel"
]
},
{
"id": 5,
"type": "CreateGradientPaletteNode",
"pos": [
320,
580
],
"size": [
280,
130
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [
{
"name": "color_start",
"type": "PIXEL_COLOR",
"link": 1
},
{
"name": "color_end",
"type": "PIXEL_COLOR",
"link": 2
}
],
"outputs": [
{
"name": "gradient_palette",
"type": "PIXEL_PALETTE",
"links": [
3,
5,
7
]
}
],
"title": "Gradient 12 (HSV)",
"properties": {
"Node name for S&R": "CreateGradientPaletteNode"
},
"widgets_values": [
12,
"hsv"
]
},
{
"id": 6,
"type": "PaletteViewNode",
"pos": [
660,
460
],
"size": [
280,
200
],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [
{
"name": "palette",
"type": "PIXEL_PALETTE",
"link": 3
}
],
"outputs": [
{
"name": "image",
"type": "IMAGE",
"links": [
4
]
}
],
"title": "View (grid)",
"properties": {
"Node name for S&R": "PaletteViewNode"
},
"widgets_values": [
"grid",
48,
4,
false,
true,
true
]
},
{
"id": 7,
"type": "PreviewImage",
"pos": [
1000,
380
],
"size": [
250,
280
],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 4
}
],
"title": "Preview",
"properties": {
"Node name for S&R": "PreviewImage"
},
"widgets_values": []
},
{
"id": 8,
"type": "PaletteViewNode",
"pos": [
660,
680
],
"size": [
280,
200
],
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"name": "palette",
"type": "PIXEL_PALETTE",
"link": 5
}
],
"outputs": [
{
"name": "image",
"type": "IMAGE",
"links": [
6
]
}
],
"title": "View (horizontal)",
"properties": {
"Node name for S&R": "PaletteViewNode"
},
"widgets_values": [
"horizontal",
40,
12,
false,
false,
false
]
},
{
"id": 9,
"type": "PreviewImage",
"pos": [
1000,
600
],
"size": [
250,
280
],
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 6
}
],
"title": "Preview",
"properties": {
"Node name for S&R": "PreviewImage"
},
"widgets_values": []
},
{
"id": 10,
"type": "PaletteViewNode",
"pos": [
1300,
460
],
"size": [
280,
200
],
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "palette",
"type": "PIXEL_PALETTE",
"link": 7
}
],
"outputs": [
{
"name": "image",
"type": "IMAGE",
"links": [
8
]
}
],
"title": "View (vertical)",
"properties": {
"Node name for S&R": "PaletteViewNode"
},
"widgets_values": [
"vertical",
40,
1,
false,
false,
false
]
},
{
"id": 11,
"type": "PreviewImage",
"pos": [
1300,
680
],
"size": [
250,
280
],
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 8
}
],
"title": "Preview",
"properties": {
"Node name for S&R": "PreviewImage"
},
"widgets_values": []
}
],
"links": [
[
1,
3,
0,
5,
0,
"PIXEL_COLOR"
],
[
2,
4,
0,
5,
1,
"PIXEL_COLOR"
],
[
3,
5,
0,
6,
0,
"PIXEL_PALETTE"
],
[
4,
6,
0,
7,
0,
"IMAGE"
],
[
5,
5,
0,
8,
0,
"PIXEL_PALETTE"
],
[
6,
8,
0,
9,
0,
"IMAGE"
],
[
7,
5,
0,
10,
0,
"PIXEL_PALETTE"
],
[
8,
10,
0,
11,
0,
"IMAGE"
]
],
"groups": [],
"config": {},
"extra": {
"ds": {
"scale": 1,
"offset": [
0,
0
]
},
"info": {
"title": "Test — PaletteViewNode (3 layouts)"
}
},
"version": 0.4
}