microsoft / microsoft/automatic-graph-layout

NodeId cannot have spaces in subgraph when reading/writing XML

Open
#375 0 comments 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

If a graph is saved as XML and then read back, a null key exception occurs when calling the "CreateGeometryGraph()" method. It appears the subgraph list of nodeIds are separated with a space in XML which causes an issue if your nodeId has a space.

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

Reproduce the XML save-and-read round trip with a nodeId containing a space, then follow the CreateGeometryGraph() entry point and the subgraph nodeId handling. Done means the graph reads back without a null key exception when subgraph nodeIds contain spaces.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, xml
Domain
computer-graphics
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.