3b1b / 3b1b/manim

Feature request: Graph theory loops, weighted edges

未关闭
#1,993 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Python
星标
93.8k
派生
7.7k
PR 合并指标
PR 指标待抓取

描述

Hello. I would like to animate several algorithms used in computer science. I've noticed it is not possible to add loop edges (edge from a node to itself) and it is not possible to assign weights to edges (decimal numbers). Can you add this functionality?

贡献指南

这个仓库没有索引到贡献指南

调研方向

Look at the graph theory module in manim, likely under manim/mobject/graph.py or similar. Examine how edges and nodes are currently defined and rendered. Determine how to modify the data structures to support loops and edge weights, and update the rendering logic to display them. Check existing tests for graph functionality to ensure changes don't break existing behavior.

由索引模型根据 Issue 内容生成。

评估

技术栈
python
领域
computer-graphics, data-visualization
Issue 类型
功能
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
45/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。