microsoft / microsoft/automatic-graph-layout
Allow for Node ToolTip that is differnt from its label text
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 1.5k
- Forks
- 319
- Avg merge
- 38m
- Merged PRs (30d)
- 1
Description
Right now there is no easy way using Microsoft.Msagl.WpfGraphControl.AutomaticGraphLayoutControl to set a ToolTip text that is not the same as the label text. VNode.CreateNodeBoundaryPath simply uses the LabelText as the ToolTip text witch just seams odd to me.
Would this project be open to the idea of adding a deticated ToolTip Property to Microsoft.Msagl.Drawing.Node to allow for custom ToolTips to be set? I would be willing to make the change and create a Pull request!
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading Microsoft.Msagl.WpfGraphControl.AutomaticGraphLayoutControl and VNode.CreateNodeBoundaryPath, then inspect Microsoft.Msagl.Drawing.Node to understand how label text currently becomes the tooltip. Add support for a separate Node tooltip value and verify that custom tooltip text can differ from the label while existing behavior remains unchanged.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- desktop
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 64/100