Code Monkey home page Code Monkey logo

Comments (4)

Aarebecca avatar Aarebecca commented on July 20, 2024 1
  1. ports 设置连接点
ports: [ {placement: 'center'}]
  1. 在 style 中设置字体,如设置标签字体:labelFontFamily
    如果使用 Typescript 开发,你直接在 style 中输入 fontFamily 就能列出所有可配置字体部分
image
  1. 状态样式是在默认样式的基础上计算得到的
  2. 这是目前的计算逻辑所决定的,当前计算的包围盒会考虑边框宽度。后续根据社区反馈再决定是否要调整。
  3. 这个后面会进行修正

from g6.

theDoinb avatar theDoinb commented on July 20, 2024
  1. ports 设置连接点
ports: [ {placement: 'center'}]
  1. 在 style 中设置字体,如设置标签字体:labelFontFamily
    如果使用 Typescript 开发,你直接在 style 中输入 fontFamily 就能列出所有可配置字体部分
image 3. 状态样式是在默认样式的基础上计算得到的 4. 这是目前的计算逻辑所决定的,当前计算的包围盒会考虑边框宽度。后续根据社区反馈再决定是否要调整。 5. 这个后面会进行修正

可以看看我写的demo,就3的,我选中node或combo时,label字号会变化,combo也会变化,而且我本地还有选中时combo飘移的。
codesandbox

顺便吐槽下,你们这官网图表实例,hover那个codesandbox按钮,tooltip导致滚动来回出现,没法点击。

from g6.

Aarebecca avatar Aarebecca commented on July 20, 2024
  1. ports 设置连接点
ports: [ {placement: 'center'}]
  1. 在 style 中设置字体,如设置标签字体:labelFontFamily
    如果使用 Typescript 开发,你直接在 style 中输入 fontFamily 就能列出所有可配置字体部分
image 3. 状态样式是在默认样式的基础上计算得到的 4. 这是目前的计算逻辑所决定的,当前计算的包围盒会考虑边框宽度。后续根据社区反馈再决定是否要调整。 5. 这个后面会进行修正

可以看看我写的demo,就3的,我选中node或combo时,label字号会变化,combo也会变化,而且我本地还有选中时combo飘移的。 codesandbox

顺便吐槽下,你们这官网图表实例,hover那个codesandbox按钮,tooltip导致滚动来回出现,没法点击。

你提供的示例无法打开。另外你提到的按钮滚动的问题应该是模版的问题,麻烦去这里提个 Issue 呢:https://github.com/antvis/dumi-theme-antv/ 这个问题应该跟显示设备有关系

from g6.

theDoinb avatar theDoinb commented on July 20, 2024
  1. ports 设置连接点
ports: [ {placement: 'center'}]
  1. 在 style 中设置字体,如设置标签字体:labelFontFamily
    如果使用 Typescript 开发,你直接在 style 中输入 fontFamily 就能列出所有可配置字体部分
image 3. 状态样式是在默认样式的基础上计算得到的 4. 这是目前的计算逻辑所决定的,当前计算的包围盒会考虑边框宽度。后续根据社区反馈再决定是否要调整。 5. 这个后面会进行修正

可以看看我写的demo,就3的,我选中node或combo时,label字号会变化,combo也会变化,而且我本地还有选中时combo飘移的。 codesandbox
顺便吐槽下,你们这官网图表实例,hover那个codesandbox按钮,tooltip导致滚动来回出现,没法点击。

你提供的示例无法打开。另外你提到的按钮滚动的问题应该是模版的问题,麻烦去这里提个 Issue 呢:https://github.com/antvis/dumi-theme-antv/ 这个问题应该跟显示设备有关系

好的,示例忘放开了:codesandbox

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.