-
Notifications
You must be signed in to change notification settings - Fork 162
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
Add "Label By" dropdown for labeling nodes by attributes other than name
#1201
Labels
enhancement
New feature or request
Comments
batson
changed the title
Add dropdown for changing node labels from
Add dropdown for changing node labels from Aug 27, 2020
name
to any other attributename
to other node attributes
batson
changed the title
Add dropdown for changing node labels from
Add "Label By" dropdown for labeling nodes by attributes other than Aug 27, 2020
name
to other node attributesname
Bumping this :) |
I would love to see this as well. It would be great to be able to choose a label, and also great to be able to turn off labels altogether if things are too cluttered. |
It's in the queue 😉
Yup -- this is #916 -- also in the queue 😉 |
jameshadfield
added a commit
that referenced
this issue
Dec 18, 2020
Adds an additional dropdown box to allow users to change the attribute used as tip labels. This is similar in design to the branch label drop down. Currently attributes are limited to the colorings. The function which collects these, `collectAvailableTipLabelOptions` could be easily extended to produce further valid attributes. This should pave the way for smarter and more customisable logic around _when_ labels are displayed, and the dropdown should not be shown in the situation that labels aren't shown. For a full description, see #1201 Closes #1201
jameshadfield
added a commit
that referenced
this issue
Dec 20, 2020
Adds an additional dropdown box to allow users to change the attribute used as tip labels. This is similar in design to the branch label drop down. Currently attributes are limited to the colorings. The function which collects these, `collectAvailableTipLabelOptions` could be easily extended to produce further valid attributes. This should pave the way for smarter and more customisable logic around _when_ labels are displayed, and the dropdown should not be shown in the situation that labels aren't shown. For a full description, see #1201 Closes #1201
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Context
We would like to be able to label nodes with attributes other than their
name
. Uses:Description
An additional dropdown box called "Label By", under "Color By", in the navigation panel on the left, with the default set to
Name
. Attributes would appear in the drop-down. When selected, the nodes would be labelled by the value of the attribute instead of the currentname
field.Open question: should these be specified separately in the JSON as a
labelings
field? For backwards compatibility, we could also use the union offilters
andcolorings
OR simply the full set of node attributes iflabels
is not specified. Many name-like fields might not make sense as colorings or filters, so having an option to specify a might offer a better user experience.The text was updated successfully, but these errors were encountered: