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

How to randomize data in ngid/canvas #27

Open
subhasispanda98 opened this issue Mar 17, 2022 · 5 comments
Open

How to randomize data in ngid/canvas #27

subhasispanda98 opened this issue Mar 17, 2022 · 5 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@subhasispanda98
Copy link

subhasispanda98 commented Mar 17, 2022

How to randomize data in ngid/canvas. While i try to change object its not updating view. please help

@chigix
Copy link
Owner

chigix commented Aug 1, 2022

@aysha-statvalu
Sorry that replies late. Could you give me a sample snippet showing how you expect to "randomize data in ngld/canvas"?

The rendered data is open in a GraphContainer interface:

Each Container of Graph Data in rendering can be accessed from the d3Graph property in the ngld/canvas component object:

Hope this introduction helps.

@subhasis98
Copy link

that thing i fixed now i want to give plus and minus button for zoom in and zoom out how to do that?

@chigix
Copy link
Owner

chigix commented Aug 4, 2022

You want to attach new buttons to control the canvas behaviour?

@subhasis98
Copy link

subhasis98 commented Aug 4, 2022

yes i want to control zoom in and zoom out canvas behaviour with buttons

@chigix
Copy link
Owner

chigix commented Aug 9, 2022

This is exactly nice to expose the following event listener as a general method to access:

Would you be interested in implementing it as a contribution?

@chigix chigix added enhancement New feature or request good first issue Good for newcomers labels Aug 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants