Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(GraphModel, MiniMap): 新增MiniMap组件跟随的当前容器一起缩放 #1961

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Commits on Nov 13, 2024

  1. feat(GraphModel, MiniMap): 新增MiniMap组件跟随的当前容器一起缩放

    使用ResizeObserver监听GraphModel中的rootEl大小变化,并新增抛出“graph:resize”事件,MiniMap监听“graph:resize”实现跟随缩放
    
    Closes didi#1957
    tianmingjian committed Nov 13, 2024
    Configuration menu
    Copy the full SHA
    ba1f993 View commit details
    Browse the repository at this point in the history
  2. feat(EventEmitter): 新增 EventEmitter的on和once函数支持链式调用和返回清除函数

    新增功能:现在EventEmitter的on和once返回一个新的函数,直接执行时,会清除这次注册的事件,同时在此函数上挂载了新的on和once方法,用法和EventEmitter一致
    tianmingjian committed Nov 13, 2024
    Configuration menu
    Copy the full SHA
    341a537 View commit details
    Browse the repository at this point in the history

Commits on Nov 14, 2024

  1. feat(NodeSelection): 新增 NodeSelection 支持自节点移动或resize时自动更新大小,新增resize …

    …NodeSelection 节点时,自动缩放其关联的子节点
    tianmingjian committed Nov 14, 2024
    Configuration menu
    Copy the full SHA
    373b033 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    93c594f View commit details
    Browse the repository at this point in the history
  3. Merge branch 'master' of github.com:admin1949/LogicFlow

    tianmingjian committed Nov 14, 2024
    Configuration menu
    Copy the full SHA
    0131fe9 View commit details
    Browse the repository at this point in the history