microsoft / microsoft/automatic-graph-layout
Adding an edge to GViewer with label
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 1.5k
- Forks
- 319
- Avg merge
- 38m
- Merged PRs (30d)
- 1
Description
Hi,
Right now I'm adding edges to a GViewer with
dEdge=viewer.AddEdge (srcNode,dstNode,true);
dEdge.LabelText="Hello";
dEdge.Attr.Color=Microsoft.Msagl.Drawing.Color.Red;
the edge is inserted, but changing the label does not update the display. Changing the color, however, works (the color is changed but the label still does not appear)
How can I make the label appear?
Thanks!
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
Reproduce the issue through the GViewer.AddEdge entry point using the shown LabelText and Attr.Color assignments, then trace how edge labels reach the display. The work is done when the assigned label appears in the viewer while the existing color behavior remains intact.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- computer-graphics
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100