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

Webpage-based drawing and display method for power simulation diagram

A display method and a technology for simulating graphs, applied in the direction of drawing from basic elements, can solve problems such as inability to support mainstream browsers, achieve the effect of convenient drawing and other function extensions, and solve browser compatibility problems

Active Publication Date: 2015-07-15
STATE GRID CORP OF CHINA +2
View PDF1 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, vector graphics based on VML only support IE browser, and cannot support other mainstream browsers

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0015] The present invention will be further described below in conjunction with the examples, but not as a basis for limiting the present invention.

[0016] Example. A method for drawing and displaying a power simulation diagram based on a webpage, comprising the following steps:

[0017] Define the basic primitive type library and the electric primitive type library;

[0018] Set the attribute parameters of each primitive in the electric power simulation diagram to be drawn, and the primitives include electric primitives and basic primitives;

[0019] Call the Paper method of RaphaelJS to initialize the canvas engine;

[0020] RaphaelJS automatically reads the window.SVGAngle property of the current page and document.implementation.hasFeature("http: / / www.w3.org / TR / S VG11 / feature#BasicStructure", "1.1") to determine whether the browser supports SVG engine, otherwise the VML engine is used;

[0021] According to the ID of the power simulation diagram, RaphaelJS obtains al...

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 webpage-based drawing and display method for a power simulation diagram. The webpage-based drawing and display method incorporates RaphaelJS for the drawing and display of the power simulation diagram, and has the advantages that no plug-in needs to be installed on a client, and the browser compatibility is higher, so that the use convenience of users is greatly improved.

Description

technical field [0001] The invention relates to a method for drawing and displaying a power simulation diagram, in particular to a method for drawing and displaying a power simulation diagram based on a web page. Background technique [0002] At present, the power simulation diagram display based on the Web is generally realized by a single Flash technology, SVG technology or VML technology. The SWF file formed by Flash technology is a packaged binary code file, which cannot be edited and modified by others, and the client needs to install a proprietary plug-in to browse; SVG technology is formulated by W3C based on XML to describe two-dimensional vector graphics It is an open standard that uses a descriptive language in text format to describe image content, and is a vector graphics format that has nothing to do with image resolution. However, SVG images also require specific plug-ins to be viewed in IE8 and its earlier versions. VML is the abbreviation of The Vector Mark...

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 Applications(China)
IPC IPC(8): G06T11/20
Inventor 姜岷钱国春解俊峰屠伟东傅嘉辉潘毅李鸿吕小锋王徐山周淳晖金哲超
Owner STATE GRID CORP OF CHINA
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