Skip to content
This repository was archived by the owner on Jun 1, 2023. It is now read-only.

Don't render href on nodes for unknown symbols for child relationships #178

Merged
merged 3 commits into from
Sep 18, 2020

Conversation

MattKiazyk
Copy link
Contributor

When rendering the GraphViz diagram, when a symbol has a relationship of an Unknown type, the code was still rendering those with href attributes, causing links be created to invalid links.

A check was added on the base node for Unknown types, however no check was added to the relationship loop. This PR adds that.

Before:

Screen Shot 2020-09-04 at 9 22 49 AM

**After: **
Screen Shot 2020-09-04 at 9 13 15 AM

@mattt
Copy link
Contributor

mattt commented Sep 18, 2020

Great work, @MattKiazyk. Thanks so much for this. I'll merge this in as soon as CI finishes.

@mattt mattt merged commit 81de0cd into SwiftDocOrg:master Sep 18, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants