Skip to content

Commit

Permalink
feat(demo.isometric): new example of isometric projection (#2204)
Browse files Browse the repository at this point in the history
  • Loading branch information
kumilingus committed Jun 7, 2023
1 parent ff2acb9 commit 75a94c0
Show file tree
Hide file tree
Showing 38 changed files with 1,735 additions and 0 deletions.
2 changes: 2 additions & 0 deletions demo/isometric/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
package-lock.json
dist/
1 change: 1 addition & 0 deletions demo/isometric/assets/jj-logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 15 additions & 0 deletions demo/isometric/assets/router-icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 15 additions & 0 deletions demo/isometric/assets/switch-icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 16 additions & 0 deletions demo/isometric/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Isometric Diagram | JointJS</title>
</head>
<body>
<div id="canvas"></div>
<button id="toggle">Toggle 2D / Isometric View</button>
<a rel="noopener" target="_blank" href="https://www.jointjs.com">
<img title="JointJS Logo" id="logo" src="assets/jj-logo.svg" width="200" height="50"></img>
</a>
<script src="dist/bundle.js"></script>
</body>
</html>
26 changes: 26 additions & 0 deletions demo/isometric/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"name": "joint-isometric-architecture",
"version": "3.7.2",
"description": "",
"main": "index.js",
"scripts": {
"start": "webpack-dev-server",
"tsc": "tsc"
},
"author": "",
"license": "ISC",
"dependencies": {
"jointjs": "latest",
"@joint/decorators": "latest"
},
"devDependencies": {
"css-loader": "^6.8.1",
"raw-loader": "^4.0.2",
"style-loader": "^3.3.3",
"ts-loader": "^9.2.5",
"typescript": "^4.4.3",
"webpack": "^5.53.0",
"webpack-cli": "^4.8.0",
"webpack-dev-server": "^4.2.1"
}
}
4 changes: 4 additions & 0 deletions demo/isometric/src/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
module.exports = {
'extends': '../.eslintrc.js',
'parser': '@typescript-eslint/parser',
};
Loading

0 comments on commit 75a94c0

Please sign in to comment.