Skip to content

Commit

Permalink
re-generate graph schema with minor style updates
Browse files Browse the repository at this point in the history
  • Loading branch information
KuechA committed Apr 5, 2024
1 parent 06cf8d0 commit dd1f80e
Show file tree
Hide file tree
Showing 3 changed files with 2,820 additions and 2,619 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,8 @@ class Schema {
}

if (inheritedRels[entityLabel]?.isNotEmpty() == true) {
out.println("<details markdown><summary>Inherited Relationships</summary>")
out.println("<div class=\"papers\" markdown>")
out.println("??? info \"Inherited Relationships\"")
out.println()
removeLabelDuplicates(inheritedRels[entityLabel])?.forEach { inherited ->
var current = classInfo
Expand All @@ -379,14 +380,15 @@ class Schema {
}
hierarchy[current]?.first?.let { current = it }
}
out.print(" ")
out.println(
getBoxWithClass(
"inherited-relationship",
"[${inherited.second}](#${toConcatName(toLabel(baseClass) + inherited.second)})"
)
)
}
out.println("</details>")
out.println("</div>")
out.println()
}

Expand All @@ -403,12 +405,13 @@ class Schema {
out.println()
}
if (inheritedProperties[entityLabel]?.isNotEmpty() == true) {
out.println("<details markdown><summary>Inherited Properties</summary>")
out.println("<div class=\"papers\" markdown>")
out.println("??? info \"Inherited Properties\"")
removeLabelDuplicates(inheritedProperties[entityLabel])?.forEach {
out.println("${it.second} : ${it.first}")
out.println(" ${it.second} : ${it.first}")
out.println()
}
out.println("</details>")
out.println("</div>")
out.println()
}
}
Expand Down
Loading

0 comments on commit dd1f80e

Please sign in to comment.