连线作为数据流可视化语言编辑器的重要组成部分,一方面要表示逻辑上的数据依赖关系,另一方面自身要以容易理解的物理形式展示出来。为了有机地整合这两个属性,该文提出了线树的概念,利用线树的结构表示逻辑属性,线树的节点表示物理属性,使得两个属性既相互关联又相互独立,从而为解析运行提供完整的逻辑信息且容易进行编辑和优化。该设计已在面向虚拟仪器开发的数据流可视化语言LabScene中实现。
Wiring is a very important component of editor in dataflow visual programming languages. On the one hand, wiring should represent logical data dependencies: on the other hand, it should be show in an easily comprehended physical form. In order to organically integrate these attributes, the conception of wire-tree is proposed. The relationships of two attributes become both reliant and independent because of using the structure of wire-tree to represent logical attribute and nodes to represent physical attribute. Therefore, wiring supplies enough logical info of interpretive execution and is easy to edit and optimize. This design has been independently implemented in dataflow visual programming language LabScene, which can develop virtual instruments.