-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Typescript definition for node/edge data #1359
Labels
Comments
sim51
changed the title
Typescript definition for node data on program's process function
Typescript definition for node/edge data
May 16, 2023
@sim51 has recently worked on that for v3, there is a branch |
sim51
added a commit
that referenced
this issue
Feb 8, 2024
sim51
added a commit
that referenced
this issue
Feb 8, 2024
jacomyal
pushed a commit
that referenced
this issue
Mar 7, 2024
jacomyal
added a commit
that referenced
this issue
Mar 7, 2024
Details: - Makes the Attributes override optional everywhere - Puts the UNIFORMS as the first generic for all programs
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Program process function
Sigma allows developer to create node's program, but the definition of the
NodeDisplayData
can't be extended.For example, if I want to write a program that do a circle and a border with their color and size managed by the data, it's not possible. I can't add the attributs
borderSize
andborderColor
for example.For now, TS allows to extend the
NodeDisplayData
in program's process function.TS compile, even if in pure object conception, it should not.
Propagation of the graph type
The graph types are not propagated deeply in the code base of sigma, like in the node/edge reducer for example
The text was updated successfully, but these errors were encountered: