源代码的气球视图及其多伸缩字体模式

Chun-Cheng Lin, H. Yen
{"title":"源代码的气球视图及其多伸缩字体模式","authors":"Chun-Cheng Lin, H. Yen","doi":"10.1109/IV.2007.30","DOIUrl":null,"url":null,"abstract":"The majority of program editors available on the market support the view of a directory-explorer style to display only those code lines of interest. Among them, the fisheye and the fractal views of source code (in which each line has a value reflecting the degree of interest and importance) have received a lot of attention in the literature. In information visualization, drawing trees based on fractal theory also plays an interesting role as the so-called balloon drawing of hierarchical data includes two models: the fractal and the SNS (subtrees with nonuniform sizes) models. It is therefore natural to consider a new source code visualization style based on the SNS model of balloon drawing. A main feature of the SNS view is that the value of each line reflects the number of its descendants when the source code is viewed as a tree structure. Unlike the view of a directory- explorer style, the multiscalable font mode (which was originally utilized in the fractal view of source code) displays all the lines in such a way that each line has the font size proportional to its value. In this paper, we investigate various issues concerning the multiscalable font modes of the fish- eye, the fractal, and the SNS views of source code, in hope of providing guidelines for the programmer to better comprehend the program code in practice.","PeriodicalId":177429,"journal":{"name":"2007 11th International Conference Information Visualization (IV '07)","volume":"44 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2007-07-04","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Balloon Views of Source Code and Their Multiscalable Font Modes\",\"authors\":\"Chun-Cheng Lin, H. Yen\",\"doi\":\"10.1109/IV.2007.30\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"The majority of program editors available on the market support the view of a directory-explorer style to display only those code lines of interest. Among them, the fisheye and the fractal views of source code (in which each line has a value reflecting the degree of interest and importance) have received a lot of attention in the literature. In information visualization, drawing trees based on fractal theory also plays an interesting role as the so-called balloon drawing of hierarchical data includes two models: the fractal and the SNS (subtrees with nonuniform sizes) models. It is therefore natural to consider a new source code visualization style based on the SNS model of balloon drawing. A main feature of the SNS view is that the value of each line reflects the number of its descendants when the source code is viewed as a tree structure. Unlike the view of a directory- explorer style, the multiscalable font mode (which was originally utilized in the fractal view of source code) displays all the lines in such a way that each line has the font size proportional to its value. In this paper, we investigate various issues concerning the multiscalable font modes of the fish- eye, the fractal, and the SNS views of source code, in hope of providing guidelines for the programmer to better comprehend the program code in practice.\",\"PeriodicalId\":177429,\"journal\":{\"name\":\"2007 11th International Conference Information Visualization (IV '07)\",\"volume\":\"44 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2007-07-04\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2007 11th International Conference Information Visualization (IV '07)\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/IV.2007.30\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2007 11th International Conference Information Visualization (IV '07)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/IV.2007.30","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

摘要

市场上可用的大多数程序编辑器都支持目录管理器样式的视图,以便仅显示感兴趣的代码行。其中,源代码的鱼眼视图和分形视图(其中每一行都有一个反映兴趣程度和重要性的值)在文献中受到了很多关注。在信息可视化中,基于分形理论的树的绘制也发挥了有趣的作用,所谓的分层数据的气球绘制包括两种模型:分形模型和SNS(大小不均匀的子树)模型。因此,考虑基于气球绘制的SNS模型的新的源代码可视化样式是很自然的。SNS视图的一个主要特征是,当将源代码视为树结构时,每行的值反映了其后代的数量。与目录资源管理器样式的视图不同,多可伸缩字体模式(最初用于源代码的分形视图)以这样一种方式显示所有行,即每行的字体大小与其值成比例。本文研究了鱼眼、分形和SNS源码的多伸缩字体模式,以期为程序员在实践中更好地理解程序代码提供指导。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
Balloon Views of Source Code and Their Multiscalable Font Modes
The majority of program editors available on the market support the view of a directory-explorer style to display only those code lines of interest. Among them, the fisheye and the fractal views of source code (in which each line has a value reflecting the degree of interest and importance) have received a lot of attention in the literature. In information visualization, drawing trees based on fractal theory also plays an interesting role as the so-called balloon drawing of hierarchical data includes two models: the fractal and the SNS (subtrees with nonuniform sizes) models. It is therefore natural to consider a new source code visualization style based on the SNS model of balloon drawing. A main feature of the SNS view is that the value of each line reflects the number of its descendants when the source code is viewed as a tree structure. Unlike the view of a directory- explorer style, the multiscalable font mode (which was originally utilized in the fractal view of source code) displays all the lines in such a way that each line has the font size proportional to its value. In this paper, we investigate various issues concerning the multiscalable font modes of the fish- eye, the fractal, and the SNS views of source code, in hope of providing guidelines for the programmer to better comprehend the program code in practice.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信