ebnf2railroad
Advanced tools
Comparing version 1.11.0 to 1.11.1
@@ -9,2 +9,8 @@ # Changelog | ||
## [1.11.1] - 2020-09-23 | ||
## Fixes | ||
- Overview diagrams should also optimize its sub elements | ||
## [1.11.0] - 2020-09-23 | ||
@@ -11,0 +17,0 @@ |
{ | ||
"name": "ebnf2railroad", | ||
"version": "1.11.0", | ||
"version": "1.11.1", | ||
"description": "EBNF to Railroad diagram", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -273,4 +273,8 @@ const { | ||
expanded.push(item); | ||
const renderNested = | ||
options.optimizeDiagrams === false | ||
? nested | ||
: optimizeProduction(nested); | ||
return Group( | ||
productionToDiagram(nested.definition, { | ||
productionToDiagram(renderNested.definition, { | ||
...baseOptions, | ||
@@ -277,0 +281,0 @@ renderNonTerminal |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
101370
2667