返回顶部
v

vvvv-fileformat vvvv文件格式

Describes the .vl XML file format used by vvvv gamma — document structure, element hierarchy, ID system (base62 GUIDs), NodeReference/Choice patterns, Pins, Pads (IOBoxes), Links, ProcessDefinition/Fragment lifecycle, regions (If/ForEach/Cache), type definitions, TypeAnnotations, and property serialization. Use when generating, parsing, or modifying .vl files programmatically, or when understanding the structure of vvvv patches at the XML level."

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
301
下载量
免费
免费
0
收藏
概述
安装方式
版本历史

vvvv-fileformat

VL 文件格式 (.vl)

概述

.vl 文件是一个 XML 文档,用于编码 vvvv gamma 的可视化数据流程序。关键元素:

  • - Document — 根元素,包含依赖项和一个顶级 Patch
  • Patch — 可视化元素(节点、Pad、链接、画布)的容器
  • Node — 操作调用、类型定义或区域
  • Pin — 节点上的输入/输出(在定义位置定义)
  • Pad — 用于显示/编辑值的可视化数据元素(IOBox)
  • Link — 通过引用 ID 连接两个端点
  • Canvas — 可视化分组容器(无逻辑作用域)
  • ProcessDefinition — 通过 Fragment 的生命周期定义(创建、更新)
  • Slot — 类型定义中的状态字段

XML 根元素和命名空间

xml

LanguageVersion=2024.6.0 Version=0.128>

前缀URI用途
pproperty必需。 复杂属性作为子元素(<p:NodeReference>)
r
reflection | 可选。仅在使用 r:IsNull=true 表示显式空值时 |

根属性:Id(base62 GUID)、LanguageVersion(例如 2024.6.0)、Version(始终为 0.128)。

ID 系统

每个元素都有一个唯一的 Id — 使用 [0-9A-Za-z] 的 22 字符 base62 编码 GUID。所有 ID 在文档中必须唯一。通过 GUIDEncoders.GuidTobase62(Guid.NewGuid()) 生成。

链接 Ids 属性:逗号分隔的 sourceId,sinkId(输出在前,输入在后)。

元素层次结构

Document
├── NugetDependency (0..n)
├── DocumentDependency (0..n)
├── PlatformDependency (0..n)
└── Patch (恰好 1 个,顶级)
├── Canvas (DefaultCategory, CanvasType=FullCategory)
└── Node (Name=Application)
└── Patch (内部)
├── Canvas (CanvasType=Group)
│ ├── Node (操作调用)
│ ├── Pad (IOBox)
│ └── ...
├── Patch (Name=Create)
├── Patch (Name=Update)
├── ProcessDefinition
│ ├── Fragment → Create patch
│ └── Fragment → Update patch
└── Link (0..n)

关键:依赖项是 Document 的直接子元素,而不是在 Patch 内部。

依赖项

xml


几乎每个文档都需要 VL.CoreLib。使用 IsForward=true 将类型重新导出给使用者。

NodeReference 系统(选择)

属性定义了节点是什么。它包含标识目标符号的 元素。

操作调用

xml



  • - 第一个 Choice:Kind=NodeFlag 且 Fixed=true(形状指示器)
  • 第二个 Choice:ProcessAppFlag(有状态)或 OperationCallFlag(无状态)

类型定义

xml






区域

xml


区域使用 StatefulRegion 作为第一个 Choice(而不是 NodeFlag)。对于 If/ForEach 使用 ApplicationStatefulRegion,对于 Cache 使用 ProcessStatefulRegion。

Node 元素

xml

...


关键属性:Id、Name、Bounds(X,Y 或 X,Y,W,H)、Summary、Tags。

Pin 元素

xml

Kind 值:InputPin、OutputPin、StateInputPin、StateOutputPin、ApplyPin。

可见性:Visible(默认)、Optional、OnCreateDefault、Hidden。

Pad 元素(IOBox)

xml
Comment=My Value>



注意 isIOBox 中的小写 i。常见类型:Boolean、Int32、Float32、Float64、String、Vector2、Vector3。

注释 Pad

xml
Value=Title text here>


14
Comment

Link 元素

xml

Ids 格式:sourceId,sinkId — 输出在前,输入在后。对于反馈循环使用 IsFeedback=true

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 vvvv-fileformat-1776205313 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 vvvv-fileformat-1776205313 技能

通过命令行安装

skillhub install vvvv-fileformat-1776205313

下载

⬇ 下载 vvvv-fileformat v1.0.0(免费)

文件大小: 13.82 KB | 发布时间: 2026-4-15 12:08

v1.0.0 最新 2026-4-15 12:08
Initial public release of the vvvv-fileformat skill.

- Provides a technical description of the .vl XML file format used by vvvv gamma
- Documents element hierarchy, ID system (base62 GUIDs), NodeReference/Choice patterns, Pins, Pads (IOBoxes), Links, and ProcessDefinition/Fragment lifecycle
- Explains regions (If/ForEach/Cache), type definitions, TypeAnnotations, and property serialization
- Includes examples and key conventions for generating, parsing, or modifying .vl files programmatically
- Useful for understanding the XML structure of vvvv patches or developing compatible tools

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部