generated from oracle/template-repo
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #60 from zahariev-oracle/new_diagram_layout
fix: changed auto layout using rappid's DirectedGraph layout, Resolves #41
- Loading branch information
Showing
14 changed files
with
243 additions
and
1,513 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,6 +20,8 @@ You need to add the following dependencies to your HTML: | |
- jQuery | ||
- lodash | ||
- Backbone JS | ||
- graphlib | ||
- dagre | ||
|
||
## ERD Browser ESM Example | ||
|
||
|
@@ -53,6 +55,8 @@ You need to add the following dependencies to your HTML: | |
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/jquery.min.js" integrity="sha256-/JqT3SQfawRcv/BIHPThkBvs0OEvtFFmqPF/lYI/Cxo=" crossorigin="anonymous"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/[email protected]/lodash.min.js" integrity="sha256-qXBd/EfAdjOA2FGrGAG+b3YBn2tn5A6bhz+LSgYD96k=" crossorigin="anonymous"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/[email protected]/backbone-min.min.js"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/graphlib.core.min.js"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/dagre.core.min.js"></script> | ||
|
||
<!-- Assuming you put the rappid.min.js file in this path --> | ||
<script src="./examples/diagram-generator/libs/rappid.min.js"></script> | ||
|
@@ -119,6 +123,8 @@ view emp_v departments employees | |
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/jquery.min.js" integrity="sha256-/JqT3SQfawRcv/BIHPThkBvs0OEvtFFmqPF/lYI/Cxo=" crossorigin="anonymous"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/[email protected]/lodash.min.js" integrity="sha256-qXBd/EfAdjOA2FGrGAG+b3YBn2tn5A6bhz+LSgYD96k=" crossorigin="anonymous"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/[email protected]/backbone-min.min.js"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/graphlib.core.min.js"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/dagre.core.min.js"></script> | ||
|
||
<!-- Assuming you put the rappid.min.js file in this path --> | ||
<script src="./examples/diagram-generator/libs/rappid.min.js"></script> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,6 +13,8 @@ | |
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/jquery.min.js" integrity="sha256-/JqT3SQfawRcv/BIHPThkBvs0OEvtFFmqPF/lYI/Cxo=" crossorigin="anonymous"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/[email protected]/lodash.min.js" integrity="sha256-qXBd/EfAdjOA2FGrGAG+b3YBn2tn5A6bhz+LSgYD96k=" crossorigin="anonymous"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/[email protected]/backbone-min.min.js"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/graphlib.core.min.js"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/dagre.core.min.js"></script> | ||
|
||
<!-- Assuming you put the rappid.min.js file in this path --> | ||
<script src="libs/rappid.min.js"></script> | ||
|
@@ -66,7 +68,7 @@ | |
<div id="sql"> | ||
<pre></pre> | ||
</div> | ||
<div id="quickERD" style="width: 100%; height: 100%;"></div> | ||
<div id="quickERD" style="width: 85%; height: 100%;"></div> | ||
</div> | ||
|
||
<script type="module"> | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.