Browse Source

added tasks

pull/3324/head
Holger Schmidt 1 year ago
parent
commit
f4cb4db8d9
  1. 1
      ICSharpCode.ILSpyX/MermaidDiagrammer/ClassDiagrammerFactory.cs
  2. 2
      ICSharpCode.ILSpyX/MermaidDiagrammer/html/script.js

1
ICSharpCode.ILSpyX/MermaidDiagrammer/ClassDiagrammerFactory.cs

@ -47,6 +47,7 @@ namespace ICSharpCode.ILSpyX.MermaidDiagrammer @@ -47,6 +47,7 @@ namespace ICSharpCode.ILSpyX.MermaidDiagrammer
{
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
};

2
ICSharpCode.ILSpyX/MermaidDiagrammer/html/script.js

@ -321,6 +321,8 @@ @@ -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

Loading…
Cancel
Save