Giter Club home page Giter Club logo

Comments (7)

TomHuangCN avatar TomHuangCN commented on April 28, 2024 2

@antv/g6 是外部版的。已经升级到 1.1.1。升级一下版本,能解决你这个问题

from g6.

dxq613 avatar dxq613 commented on April 28, 2024

@antv/g6 是内部的版本,拿不到 g6 包的 npm 所有权所以没发到npm 上

from g6.

meikidd avatar meikidd commented on April 28, 2024

希望提供npm版本哦。如果拿不到 g6 的包名,是不是可以考虑换一个包名,G6 或者 antv-g6 之类的。

from g6.

wizali avatar wizali commented on April 28, 2024

@dxq613 @meikidd
是的,对于React项目,还挺麻烦的,建议提供npm版本

from g6.

wizali avatar wizali commented on April 28, 2024

补充一个问题,自定义图形的"size"属性怎么设置呢?

from g6.

TomHuangCN avatar TomHuangCN commented on April 28, 2024

cfg.size 含有 size 信息。自定义图形整个都是由你自己控制的,用其绘图属性控制它形状

from g6.

chaserstrong avatar chaserstrong commented on April 28, 2024

@TomHuangCN 我的版本是@antv/g6 3.1.0,也有这个问题,请问有解决办法吗?

from g6.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.