Bluefish:用声明式关系组合图表
Bluefish: Composing Diagrams with Declarative Relations
AI总结:
Bluefish是一个受组件式UI库启发的图表框架,通过引入声明式、可组合的关系原语,解决了现有工具在表达力与易用性间的权衡,支持跨领域的高效图表创建。
摘要:
图表是解决问题和交流的重要工具,因为它们通过空间关系将概念结构外化。但在选择图表框架时,用户面临两难境地。他们可以使用高表达力但低级别的工具包,其API与他们特定领域的概念不匹配;或者选择高级别类型,它提供可识别的词汇,但支持有限范围的图表。为解决这一差距,我们引入Bluefish:一个受基于组件的用户界面(UI)库启发的图表框架。Bluefish允许用户使用关系来创建图表:关系是声明式的、可组合且可扩展的图表片段,它们放宽了UI组件的概念。与组件不同,关系不对其子元素拥有唯一所有权,也不需要完全指定它们的布局。为渲染图表,Bluefish将传统的基于树的场景图扩展为复合图,该图捕获节点之间的层次关系和相邻关系。为评估我们的系统,我们构建了一个多样化的示例库,涵盖数学、物理、计算机科学甚至烹饪等许多领域。我们表明Bluefish的关系是有效的图表声明式原语。Bluefish是开源的,我们旨在将其塑造为既可用工具又是研究平台。
英文摘要:
Diagrams are essential tools for problem-solving and communication as they externalize conceptual structures using spatial relationships. But when picking a diagramming framework, users are faced with a dilemma. They can either use a highly expressive but low-level toolkit, whose API does not match their domain-specific concepts, or select a high-level typology, which offers a recognizable vocabulary but supports a limited range of diagrams. To address this gap, we introduce Bluefish: a diagramming framework inspired by component-based user interface (UI) libraries. Bluefish lets users create diagrams using relations: declarative, composable, and extensible diagram fragments that relax the concept of a UI component. Unlike a component, a relation does not have sole ownership over its children nor does it need to fully specify their layout. To render diagrams, Bluefish extends a traditional tree-based scenegraph to a compound graph that captures both hierarchical and adjacent relationships between nodes. To evaluate our system, we construct a diverse example gallery covering many domains including mathematics, physics, computer science, and even cooking. We show that Bluefish's relations are effective declarative primitives for diagrams. Bluefish is open source, and we aim to shape it into both a usable tool and a research platform.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。