Skip to content

Commit

Permalink
added tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
h0lg committed Nov 14, 2024
1 parent e43aa05 commit 81959de
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ public ClassDiagrammerFactory(XmlDocumentationFormatter? xmlDocs)
{
this.xmlDocs = xmlDocs;

//TODO not sure LanguageVersion.Latest is the wisest choice here; maybe cap this for better mermaid compatibility?
decompilerSettings = new DecompilerSettings(Decompiler.CSharp.LanguageVersion.Latest) {
AutomaticProperties = true // for IsHidden to return true for backing fields
};
Expand Down
2 changes: 2 additions & 0 deletions ICSharpCode.ILSpyX/MermaidDiagrammer/html/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -321,6 +321,8 @@
}
},

/* TODO watch https://github.com/mermaid-js/mermaid/issues/6034 for a solution to render multiple self-references,
which is currently broken. E.g. for LightJson.JsonValue (compare console log) */
// renders HasOne and HasMany relations
renderRelations = (typeId, relations, many) => {
if (relations) // expecting object; only process if not null or undefined
Expand Down
1 change: 1 addition & 0 deletions ICSharpCode.ILSpyX/MermaidDiagrammer/html/template.html
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,7 @@ <h3>Looking for help with something else?</h3>
title="For off-line use, download a copy and save it in the diagrammer folder. At the bottom of the index.html you'll find a script with a reference to the mermaid CDN. Replace its 'src' with the file name of your local copy, e.g. 'mermaid.min.js'.">📥</a>
</span>
<span>
<!--TODO update these links, they're broken ATM-->
using <a class="project" target="_blank" href="{{RepoUrl}}#readme" title="🤿 get learned and find out about or 🔱 fork the project">ICSharpCode.ILSpyX</a> v{{BuilderVersion}}
<a target="_blank" href="{{RepoUrl}}/wiki/Diagramming" title="the manual">📜</a>
<a target="_blank" href="{{RepoUrl}}/discussions" title="🤔 ask questions, share and discuss 💡 ideas">💬</a>
Expand Down

0 comments on commit 81959de

Please sign in to comment.