How to conditionally update sub-shapes in G6 v5 when overriding the drawOtherShapes method #5537
Unanswered
Chrishaneus
asked this question in
Q&A
Replies: 1 comment
-
I'm sorry that it is not currently possible to control the drawing conditions of sub-shapes. However, we are currently restructuring the logic of element drawing. The new plan has already taken this issue into consideration, and we will provide a solution to the above problem in the future. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am currently working on a project that visualizes systems such as the figure shown above. I have seen that rendering images takes a lot of toll memory-wise so I was wondering if there are ways to conditionally draw shapes every time a node updates (particularly through the graph.updateData method). I am currently using g6 v5.0.0 beta.28.
In version 4, there are methods when registering nodes that we can specifically specify so that we can conditionally update the group shapes.
Beta Was this translation helpful? Give feedback.
All reactions