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

Displaying edge weight in adjacency list #27

Open
anand-2020 opened this issue Dec 29, 2021 · 0 comments
Open

Displaying edge weight in adjacency list #27

anand-2020 opened this issue Dec 29, 2021 · 0 comments
Labels
enhancement New feature or request syn-easy Easy level issue for synergise Up for Grabs

Comments

@anand-2020
Copy link
Collaborator

Is your feature request related to a problem? Please describe.
N/A

Describe the solution you'd like
For weighted graphs, also display the edge weights in the adjacency list. The font size of weight should be less than normal text and it should be put in parenthesis.
Consider the example:
Edge between vertices 1 and 5 having weight 45 , edge between vertices 1 and 3 having weight 12.
Here, in adjacency list, the row for vertex 1 would be as follows:
1 : 5(45) , 3(12)

Describe alternatives you've considered
N/A

Additional context
N/A

@anand-2020 anand-2020 added enhancement New feature or request syn-easy Easy level issue for synergise Up for Grabs labels Dec 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request syn-easy Easy level issue for synergise Up for Grabs
Projects
None yet
Development

No branches or pull requests

1 participant