{"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}
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.