Skip to content
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

Customizing Layout Algorithms in d3-graphviz for Scene-Specific Operations #332

Open
cong1223 opened this issue Mar 10, 2025 · 0 comments
Open

Comments

@cong1223
Copy link

I am writing to inquire whether it is possible to modify the internal layout algorithms of the d3-graphviz library to customize node positions for specific scenarios.

In various applications, there are instances where default layouts do not meet the specific requirements of the visualization. For example:

Hierarchical Data Representation: In cases where we need to display hierarchical relationships with varying levels of importance, it may be beneficial to manually adjust the positions of nodes to highlight key nodes or clusters, ensuring they stand out.
Dynamic User Interfaces: In interactive applications, user preferences may dictate the arrangement of nodes. Allowing for custom layouts can enhance user experience by enabling users to visualize data in a way that makes the most sense to them.
Complex Network Visualizations: In scenarios such as social networks or transportation systems, certain nodes might need to be positioned closer to convey relationships or flow more effectively, rather than relying on the automatic layout.
Graph Aesthetics: In some cases, aesthetic considerations need to be prioritized. A customized layout might help achieve a more visually appealing graph that adheres to branding guidelines or design standards.
I believe that enabling the modification of layout algorithms would greatly enhance the versatility of d3-graphviz, allowing it to cater to a broader range of use cases. Any insights or guidance on how to approach this would be greatly appreciated. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant