Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Graphic layout method applicable to software visualization process

A graphic layout and software technology, applied in the direction of program control devices, etc., can solve problems such as unfavorable system hierarchical structure, scattered node distribution, and no consideration of layout.

Inactive Publication Date: 2012-11-14
BEIJING INSTITUTE OF TECHNOLOGYGY
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0040] The disadvantages of the image layout method used in step 4 of this method are: ① when there are many nodes in the graph, there will be many cross lines (points) in the graph; ② the image layout method does not take into account other nodes connected to a certain node. The layout of multiple nodes in geometric space causes the distribution of these nodes in the graph to be scattered
The above problems will result in poor readability of the hierarchical system structure diagram automatically generated by the system, which is not conducive to intuitively reflecting the hierarchical structure of the system

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Graphic layout method applicable to software visualization process
  • Graphic layout method applicable to software visualization process
  • Graphic layout method applicable to software visualization process

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0081] The source code looks like this:

[0082] Source code file 1: carlib.java:

[0083] import java.io .*;

[0084] interface CAR

[0085] {

[0086] public void start();

[0087] public void stop();

[0088]}

[0089] class SmallCar implements CAR

[0090] {

[0091] public void start()

[0092] {

[0093] System.out.println("smallcar start...");

[0094] }

[0095] public void stop()

[0096] {

[0097] System.out.println("smallcar stop!");

[0098] }

[0099]}

[0100] class BigCar implements CAR

[0101] {

[0102] public void start()

[0103] {

[0104] System.out.println("bigcar start...");

[0105] }

[0106] public void stop()

[0107] {

[0108] System.out.println("bigcar stop!");

[0109] }

[0110]}

[0111] Source code file 2: Linklist.j ava:

[0112] public class Linklist {

[0113] public Link first;

[0114] / / Number of data items in the linked list

[0115] public in...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a graphic layout method applicable to a software visualization process, which belongs to the technical field of software visualization. The method comprises: firstly, setting the left upper corner of canvas as the origin of coordinate, performing deep search of a to-be-processed digraph obtained in the software visualization process, and obtaining the coordinate of the left upper coroner of each node frame according to the search result; secondly, acquiring the frame length and width information of each node according to the set text content and type of each node; and finally, obtaining the coordinate of the central point of a frame rectangle according to the coordinate of the left upper corner of each node frame and the frame length and width information of each node. In the invention, when the digraph has a large number of nodes, the intercrossed lines are reduced as much as possible; and the layout of other nodes connected with a node in a geometric space istaken into full consideration, the positions of the nodes in the digraph are concentrated relatively, and the readability of a hierarchic system structure chart is high.

Description

technical field [0001] The invention relates to a graphic layout method, in particular to a graphic layout method suitable for a software visualization process, and belongs to the technical field of software visualization. Background technique [0002] Software visualization usually uses software automation to summarize various attributes of the software system (including keywords, inter-class relationships, etc.) The internal structure of the system, the evolution information of the software, and the behavioral characteristics of the software realize the automatic analysis and abstraction of the source code, and generate a highly generalized graphical representation that can reflect the internal structure of the software or other measurement information. By visualizing the software system, the high-level abstraction of the software can be obtained, and it is convenient to quickly obtain the understanding of the software design level. [0003] The significance of software v...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F9/44
Inventor 胡昌振王国强王崑声王志刚郭刚洪孝金万颖
Owner BEIJING INSTITUTE OF TECHNOLOGYGY
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products