ManimCommunity / ManimCommunity/manim

DiGraph edges don't animate opacity/fades correctly

Open
#3,258 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
40.9k
Forks
3.1k
Avg merge
3d 12h
Merged PRs (30d)
25

Description

## Description of bug / unexpected behavior
When using FadeIn/out or animating opacity on DiGraph edges (or the whole graph), only the arrow tip actually changes opacity, and the line segment doesn't.

## Expected behavior
The tip and line should fade properly.

## How to reproduce the issue
Please see this issue on discord, where I have compiled some data on the problem, including code to reproduce it: [Discord thread](https://discord.com/channels/581738731934056449/1111672784905568439/1111672784905568439)

## System specifications

Happens on both my machine and on the Manimator

## Additional comments
Good luck!

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked Discord thread and its reproduction code, then trace how DiGraph edges render their arrow tip and line segment during opacity or FadeIn/FadeOut animations. The fix is complete when both parts of an edge, and edges of the whole graph, fade together as expected.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
computer-graphics
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.