Skip to content

Graph Runtime/Scheduler #7

@zhzLuke96

Description

@zhzLuke96

Graph Scheduler: Provide graph connection parsing based on graph theory, decompose component, and control different component(sub-graphs)

Background

litegraph core 除了渲染部分其实还包含了要给 js-graph-runtime,并且有一个内部的调度逻辑,但是其实不是 core 必须的
我觉得 core 内核应该只关注渲染,应该拆分为 runderer-rumtime + js-runtime

所以,有必要解离出 runtime 的逻辑,同时增强 runtime 的逻辑,比如提供 scheduler
因为 graph 中可能存在多个 componet ,但是不同 component 的执行顺序其实是随机(根据节点创建顺序)

TODOs

  • 重构 js-runtime / runderer-runtime
  • improve js-runtime-scheduler

Metadata

Metadata

Assignees

No one assigned

    Labels

    FRfeature request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions