microsoft / microsoft/automatic-graph-layout

Allow for Node ToolTip that is differnt from its label text

Open
#395 1 comment 0 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.