MCPcopy Index your code
hub / github.com/ecomfe/zrender

github.com/ecomfe/zrender @6.1.0 sqlite

repository ↗ · DeepWiki ↗ · release 6.1.0 ↗
2,298 symbols 5,200 edges 148 files 256 documented · 11% 3 cross-repo links
README

ZRender

A lightweight graphic library which provides 2d draw for Apache ECharts.

Commits Since 4.0.0

Documentation

https://ecomfe.github.io/zrender-doc/public/

License

BSD 3-Clause License

Copyright (c) 2017, Baidu Inc. All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  • Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

  • Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

  • Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Notice

The Apache Software Foundation Apache ECharts, ECharts, Apache, the Apache feather, and the Apache ECharts project logo are either registered trademarks or trademarks of the Apache Software Foundation.

Extension points exported contracts — how you extend this code

PainterBase (Interface)
(no doc) [3 implementers]
src/PainterBase.ts
GroupLike (Interface)
(no doc) [3 implementers]
src/graphic/Group.ts
PathRebuilder (Interface)
(no doc) [2 implementers]
src/core/PathProxy.ts
CombineMorphingPath (Interface)
(no doc) [2 implementers]
src/tool/morphPath.ts
ProcessEnv (Interface)
(no doc)
src/global.d.ts
ElementAnimateConfig (Interface)
(no doc)
src/Element.ts
ZRenderInitOpt (Interface)
(no doc)
src/zrender.ts
FontMeasureInfo (Interface)
(no doc)
src/contain/text.ts

Core symbols most depended-on inside this repo

lineTo
called by 81
src/core/PathProxy.ts
each
called by 77
src/core/util.ts
isNaN
called by 64
test/lib/dat.gui.js
moveTo
called by 63
src/core/PathProxy.ts
attr
called by 61
src/Element.ts
on
called by 55
src/zrender.ts
arc
called by 38
src/core/PathProxy.ts
closePath
called by 35
src/core/PathProxy.ts

Shape

Function 1,331
Method 680
Class 187
Interface 100

Languages

TypeScript100%

Modules by API surface

test/lib/d3.v4.min.js663 symbols
src/Element.ts85 symbols
test/lib/dat.gui.js69 symbols
src/animation/Animator.ts59 symbols
src/canvas/Painter.ts46 symbols
src/graphic/Path.ts45 symbols
src/core/PathProxy.ts45 symbols
src/zrender.ts41 symbols
src/graphic/Text.ts40 symbols
src/graphic/Displayable.ts40 symbols
src/tool/morphPath.ts37 symbols
src/dom/HandlerProxy.ts37 symbols

Used by 3 indexed graphs manifest dependencies, hub-wide

Dependencies from manifests, versioned

@microsoft/api-extractor7.7.2 · 1×
@rollup/plugin-node-resolve11.0.0 · 1×
@rollup/plugin-replace3.0.0 · 1×
@types/jest27.0.2 · 1×
@typescript-eslint/eslint-plugin4.33.0 · 1×
chalk3.0.0 · 1×
commander2.11.0 · 1×
eslint6.3.0 · 1×
fs-extra4.0.2 · 1×
globby11.0.4 · 1×
jest27.2.5 · 1×

For agents

$ claude mcp add zrender \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact