Skip to content

Commit

Permalink
resolves yuzutech#405 add support for diagrams.net
Browse files Browse the repository at this point in the history
  • Loading branch information
ggrossetie committed Feb 15, 2022
1 parent 6bc5620 commit 2070cbe
Show file tree
Hide file tree
Showing 1,034 changed files with 814,850 additions and 0 deletions.
1 change: 1 addition & 0 deletions diagrams.net/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules/
1 change: 1 addition & 0 deletions diagrams.net/assets/export-fonts.css
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/* Add any special fonts css for export3.html (mainly PDF export) */
Binary file added diagrams.net/assets/images/button.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added diagrams.net/assets/images/close.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added diagrams.net/assets/images/collapsed.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added diagrams.net/assets/images/error.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added diagrams.net/assets/images/expanded.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added diagrams.net/assets/images/maximize.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added diagrams.net/assets/images/minimize.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added diagrams.net/assets/images/normalize.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added diagrams.net/assets/images/point.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added diagrams.net/assets/images/resize.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added diagrams.net/assets/images/separator.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added diagrams.net/assets/images/submenu.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added diagrams.net/assets/images/transparent.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added diagrams.net/assets/images/warning.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added diagrams.net/assets/images/warning.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added diagrams.net/assets/images/window-title.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added diagrams.net/assets/images/window.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
27 changes: 27 additions & 0 deletions diagrams.net/assets/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script src="js/export-init.js"></script>
<!-- CSS for print output is needed for using current window -->
<style type="text/css">
span.MathJax_SVG svg {
shape-rendering: crispEdges;
}

table.mxPageSelector {
display: none;
}

hr.mxPageBreak {
display: none;
}
</style>
<link rel="stylesheet" href="mxgraph/css/common.css" charset="UTF-8" type="text/css">
<link rel="stylesheet" href="export-fonts.css" charset="UTF-8" type="text/css">
<script src="js/app.min.js"></script>
<script src="js/export.js"></script>
</head>
<body style="margin:0px;overflow:hidden">
</body>
</html>
12,289 changes: 12,289 additions & 0 deletions diagrams.net/assets/js/app.min.js

Large diffs are not rendered by default.

17 changes: 17 additions & 0 deletions diagrams.net/assets/js/export-init.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
var isLocalStorage = false;
var mxLoadStylesheets = false;

function getUrlParam(param)
{
var result = (new RegExp(param + '=([^&]*)')).exec(window.location.search);

if (result != null && result.length > 0)
{
return decodeURIComponent(result[1].replace(/\+/g, '%20'));
}

return null;
};

var remoteMath = getUrlParam('remoteMath') == '1';
var fallbackFont = getUrlParam('fallbackFont');
Loading

0 comments on commit 2070cbe

Please sign in to comment.