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

create display name #4

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

datagoat-eddc
Copy link

Thanks for the demo code! This really helped me out. I had to sort out the UX for displaying a multi-model graph and came up with this change. It doesn't quite fit this demo, but thought I'd pass it along.

Display Name
For user experience, a "DisplayName" attribute is derived for all vertices by passing the dataframe column name to be displayed in the graph to the create_vertex_df function as display_name. The function pulls the attribute value from the dataframe by including it in the columns list in the following line of code. (Highlighted here because it was not included in any of the github examples.)
image

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

Successfully merging this pull request may close these issues.

1 participant