local examples

This commit is contained in:
STEINNI
2026-03-08 18:11:20 +00:00
parent f7d5f40c0f
commit 451d8ae191
15 changed files with 80 additions and 80 deletions

View File

@@ -39,7 +39,7 @@ class BZgraflow extends Buildoz{
static async getCoreCss(){
if(BZgraflow._coreCssPromise) return(await BZgraflow._coreCssPromise)
BZgraflow._coreCssPromise = (async() => {
const res = await fetch('/app/thirdparty/buildoz/buildoz.css')
const res = await fetch('/buildoz/buildoz.css')
const css = await res.text()
const m = css.match(/\/\*\s*BZGRAFLOW_CORE_START\s*\*\/([\s\S]*?)\/\*\s*BZGRAFLOW_CORE_END\s*\*\//)
const core = m ? m[1] : ''

View File

@@ -1,5 +1,5 @@
{
"nodesFile": "/app/thirdparty/buildoz/graflow_examples/nodesLib/nodesTest1.html",
"nodesFile": "/buildoz/graflow_examples/nodesLib/nodesTest1.html",
"flow": {
"nodes":[
{ "nodeType": "inc",
@@ -8,7 +8,7 @@
},
{ "nodeType": "inc",
"subflow": {
"url": "/app/thirdparty/buildoz/graflow_examples/flows/testFlowEic.json",
"url": "/buildoz/graflow_examples/flows/testFlowEic.json",
"portLinks": [
{ "refNodeType": "refnodein", "refnodePort": "out1",
"parentPort": "in1",

View File

@@ -1,5 +1,5 @@
{
"nodesFile": "/app/thirdparty/buildoz/graflow_examples/nodesLib/nodesTest1.html",
"nodesFile": "/buildoz/graflow_examples/nodesLib/nodesTest1.html",
"flow": {
"nodes":[
{ "nodeType": "inc",

View File

@@ -1,5 +1,5 @@
{
"nodesFile": "/app/thirdparty/buildoz/graflow_examples/nodesLib/nodes16ports.html",
"nodesFile": "/buildoz/graflow_examples/nodesLib/nodes16ports.html",
"flow": {
"nodes": [
{

View File

@@ -1,5 +1,5 @@
{
"nodesFile": "/app/thirdparty/buildoz/graflow_examples/nodesLib/nodesTest2.html",
"nodesFile": "/buildoz/graflow_examples/nodesLib/nodesTest2.html",
"flow": {
"nodes":[
{ "nodeType": "process",

View File

@@ -1,5 +1,5 @@
{
"nodesFile": "/app/thirdparty/buildoz/graflow_examples/nodesLib/nodesEIC.html",
"nodesFile": "/buildoz/graflow_examples/nodesLib/nodesEIC.html",
"flow": {
"nodes":[
{ "nodeType": "eicBasic",
@@ -29,7 +29,7 @@
},
"data": { "a": "a3", "b":"b3"},
"subflow": {
"url": "/app/thirdparty/buildoz/graflow_examples/flows/testFlowICMP.json",
"url": "/buildoz/graflow_examples/flows/testFlowICMP.json",
"portLinks": [
{ "refNodeType": "refnodein", "refnodePort": "out1",
"parentPort": "in1",

View File

@@ -1,5 +1,5 @@
{
"nodesFile": "/app/thirdparty/buildoz/graflow_examples/nodesLib/nodesEIC.html",
"nodesFile": "/buildoz/graflow_examples/nodesLib/nodesEIC.html",
"flow": {
"nodes":[
{ "nodeType": "eicBasic",

View File

@@ -1,5 +1,5 @@
{
"nodesFile": "/app/thirdparty/buildoz/graflow_examples/nodesLib/nodesEIC2.html",
"nodesFile": "/buildoz/graflow_examples/nodesLib/nodesEIC2.html",
"flow": {
"nodes":[
{ "nodeType": "eicBasic",

View File

@@ -4,18 +4,18 @@
<title>graflow</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
<link type="text/css" rel="stylesheet" href="/app/thirdparty/eicui/eicui-2.0.css">
<link type="text/css" rel="stylesheet" href="/app/thirdparty/buildoz/buildoz.css">
<script src="/app/thirdparty/buildoz/buildoz.js"></script>
<script src="/app/thirdparty/buildoz/bzGraflow.js"></script>
<link type="text/css" rel="stylesheet" href="/eicui/eicui-2.0.css">
<link type="text/css" rel="stylesheet" href="/buildoz/buildoz.css">
<script src="/buildoz/buildoz.js"></script>
<script src="/buildoz/bzGraflow.js"></script>
<style>
@font-face { /*FF does not indirectly load if inside a shawdow-dom */
font-family: 'glyphs';
src: url('/app/assets/styles/fonts/glyphs.eot');
src: url('/app/assets/styles/fonts/glyphs.eot') format('embedded-opentype'),
url('/app/assets/styles/fonts/glyphs.ttf') format('truetype'),
url('/app/assets/styles/fonts/glyphs.woff') format('woff'),
url('/app/assets/styles/fonts/glyphs.svg') format('svg');
src: url('/assets/styles/fonts/glyphs.eot');
src: url('/assets/styles/fonts/glyphs.eot') format('embedded-opentype'),
url('/assets/styles/fonts/glyphs.ttf') format('truetype'),
url('/assets/styles/fonts/glyphs.woff') format('woff'),
url('/assets/styles/fonts/glyphs.svg') format('svg');
font-weight: normal;
font-style: normal;
font-display: block;
@@ -76,7 +76,7 @@
</head>
<body>
<bz-graflow class="compunet" flow="/app/thirdparty/buildoz/graflow_examples/flows/testFlow1.1.json" tension="60" isolated>
<bz-graflow class="compunet" flow="/buildoz/graflow_examples/flows/testFlow1.1.json" tension="60" isolated>
<div class="demooptions"> <!-- just for demo purposes -->
<button data-trigger="onAutoplace1H">Auto-place Horizontal</button>
<button data-trigger="onAutoplace1V">Auto-place Vertical</button>

View File

@@ -4,18 +4,18 @@
<title>graflow</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
<link type="text/css" rel="stylesheet" href="/app/thirdparty/eicui/eicui-2.0.css">
<link type="text/css" rel="stylesheet" href="/app/thirdparty/buildoz/buildoz.css">
<script src="/app/thirdparty/buildoz/buildoz.js"></script>
<script src="/app/thirdparty/buildoz/bzGraflow.js"></script>
<link type="text/css" rel="stylesheet" href="/eicui/eicui-2.0.css">
<link type="text/css" rel="stylesheet" href="/buildoz/buildoz.css">
<script src="/buildoz/buildoz.js"></script>
<script src="/buildoz/bzGraflow.js"></script>
<style>
@font-face { /*FF does not indirectly load if inside a shawdow-dom */
font-family: 'glyphs';
src: url('/app/assets/styles/fonts/glyphs.eot');
src: url('/app/assets/styles/fonts/glyphs.eot') format('embedded-opentype'),
url('/app/assets/styles/fonts/glyphs.ttf') format('truetype'),
url('/app/assets/styles/fonts/glyphs.woff') format('woff'),
url('/app/assets/styles/fonts/glyphs.svg') format('svg');
src: url('/assets/styles/fonts/glyphs.eot');
src: url('/assets/styles/fonts/glyphs.eot') format('embedded-opentype'),
url('/assets/styles/fonts/glyphs.ttf') format('truetype'),
url('/assets/styles/fonts/glyphs.woff') format('woff'),
url('/assets/styles/fonts/glyphs.svg') format('svg');
font-weight: normal;
font-style: normal;
font-display: block;
@@ -76,7 +76,7 @@
</head>
<body>
<bz-graflow class="organi" flow="/app/thirdparty/buildoz/graflow_examples/flows/testFlow2.json" tension="60" isolated>
<bz-graflow class="organi" flow="/buildoz/graflow_examples/flows/testFlow2.json" tension="60" isolated>
<div class="demooptions">
<button data-trigger="onAutoplace3H">Auto-place Horizontal</button>
<button data-trigger="onAutoplace3V">Auto-place Vertical</button>

View File

@@ -4,18 +4,18 @@
<title>graflow</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
<link type="text/css" rel="stylesheet" href="/app/thirdparty/eicui/eicui-2.0.css">
<link type="text/css" rel="stylesheet" href="/app/thirdparty/buildoz/buildoz.css">
<script src="/app/thirdparty/buildoz/buildoz.js"></script>
<script src="/app/thirdparty/buildoz/bzGraflow.js"></script>
<link type="text/css" rel="stylesheet" href="/eicui/eicui-2.0.css">
<link type="text/css" rel="stylesheet" href="/buildoz/buildoz.css">
<script src="/buildoz/buildoz.js"></script>
<script src="/buildoz/bzGraflow.js"></script>
<style>
@font-face { /*FF does not indirectly load if inside a shawdow-dom */
font-family: 'glyphs';
src: url('/app/assets/styles/fonts/glyphs.eot');
src: url('/app/assets/styles/fonts/glyphs.eot') format('embedded-opentype'),
url('/app/assets/styles/fonts/glyphs.ttf') format('truetype'),
url('/app/assets/styles/fonts/glyphs.woff') format('woff'),
url('/app/assets/styles/fonts/glyphs.svg') format('svg');
src: url('/assets/styles/fonts/glyphs.eot');
src: url('/assets/styles/fonts/glyphs.eot') format('embedded-opentype'),
url('/assets/styles/fonts/glyphs.ttf') format('truetype'),
url('/assets/styles/fonts/glyphs.woff') format('woff'),
url('/assets/styles/fonts/glyphs.svg') format('svg');
font-weight: normal;
font-style: normal;
font-display: block;
@@ -76,7 +76,7 @@
</head>
<body>
<bz-graflow class="eic" flow="/app/thirdparty/buildoz/graflow_examples/flows/testFlowEic.json" tension="60">
<bz-graflow class="eic" flow="/buildoz/graflow_examples/flows/testFlowEic.json" tension="60">
<div class="demooptions"> <!-- just for demo purposes -->
<button data-trigger="onAutoplace2H">Auto-place Horizontal</button>
<button data-trigger="onAutoplace2V">Auto-place Vertical</button>

View File

@@ -4,18 +4,18 @@
<title>graflow</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
<link type="text/css" rel="stylesheet" href="/app/thirdparty/eicui/eicui-2.0.css">
<link type="text/css" rel="stylesheet" href="/app/thirdparty/buildoz/buildoz.css">
<script src="/app/thirdparty/buildoz/buildoz.js"></script>
<script src="/app/thirdparty/buildoz/bzGraflow.js"></script>
<link type="text/css" rel="stylesheet" href="/eicui/eicui-2.0.css">
<link type="text/css" rel="stylesheet" href="/buildoz/buildoz.css">
<script src="/buildoz/buildoz.js"></script>
<script src="/buildoz/bzGraflow.js"></script>
<style>
@font-face { /*FF does not indirectly load if inside a shawdow-dom */
font-family: 'glyphs';
src: url('/app/assets/styles/fonts/glyphs.eot');
src: url('/app/assets/styles/fonts/glyphs.eot') format('embedded-opentype'),
url('/app/assets/styles/fonts/glyphs.ttf') format('truetype'),
url('/app/assets/styles/fonts/glyphs.woff') format('woff'),
url('/app/assets/styles/fonts/glyphs.svg') format('svg');
src: url('/assets/styles/fonts/glyphs.eot');
src: url('/assets/styles/fonts/glyphs.eot') format('embedded-opentype'),
url('/assets/styles/fonts/glyphs.ttf') format('truetype'),
url('/assets/styles/fonts/glyphs.woff') format('woff'),
url('/assets/styles/fonts/glyphs.svg') format('svg');
font-weight: normal;
font-style: normal;
font-display: block;
@@ -76,7 +76,7 @@
</head>
<body>
<bz-graflow class="icmp" flow="/app/thirdparty/buildoz/graflow_examples/flows/testFlowICMP2.json" tension="20" align="first" wiretype="ortho" gapx="100" gapy="30">
<bz-graflow class="icmp" flow="/buildoz/graflow_examples/flows/testFlowICMP2.json" tension="20" align="first" wiretype="ortho" gapx="100" gapy="30">
<div class="demooptions"> <!-- just for demo purposes -->
<button data-trigger="onAutoplace4H">Auto-place Horizontal</button>
<button data-trigger="onAutoplace4V">Auto-place Vertical</button>

View File

@@ -4,18 +4,18 @@
<title>graflow</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
<link type="text/css" rel="stylesheet" href="/app/thirdparty/eicui/eicui-2.0.css">
<link type="text/css" rel="stylesheet" href="/app/thirdparty/buildoz/buildoz.css">
<script src="/app/thirdparty/buildoz/buildoz.js"></script>
<script src="/app/thirdparty/buildoz/bzGraflow.js"></script>
<link type="text/css" rel="stylesheet" href="/eicui/eicui-2.0.css">
<link type="text/css" rel="stylesheet" href="/buildoz/buildoz.css">
<script src="/buildoz/buildoz.js"></script>
<script src="/buildoz/bzGraflow.js"></script>
<style>
@font-face { /*FF does not indirectly load if inside a shawdow-dom */
font-family: 'glyphs';
src: url('/app/assets/styles/fonts/glyphs.eot');
src: url('/app/assets/styles/fonts/glyphs.eot') format('embedded-opentype'),
url('/app/assets/styles/fonts/glyphs.ttf') format('truetype'),
url('/app/assets/styles/fonts/glyphs.woff') format('woff'),
url('/app/assets/styles/fonts/glyphs.svg') format('svg');
src: url('/assets/styles/fonts/glyphs.eot');
src: url('/assets/styles/fonts/glyphs.eot') format('embedded-opentype'),
url('/assets/styles/fonts/glyphs.ttf') format('truetype'),
url('/assets/styles/fonts/glyphs.woff') format('woff'),
url('/assets/styles/fonts/glyphs.svg') format('svg');
font-weight: normal;
font-style: normal;
font-display: block;
@@ -97,7 +97,7 @@
<body>
<div class="container" style="padding:0;"">
<bz-graflow class="icmp" flow="/app/thirdparty/buildoz/graflow_examples/flows/testFlowICMP.json" tension="60">
<bz-graflow class="icmp" flow="/buildoz/graflow_examples/flows/testFlowICMP.json" tension="60">
<div class="demooptions">
<button data-trigger="onAutoplace4H">Auto-place Horizontal</button>
<button data-trigger="onAutoplace4V">Auto-place Vertical</button>

View File

@@ -4,18 +4,18 @@
<title>graflow</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
<link type="text/css" rel="stylesheet" href="/app/thirdparty/eicui/eicui-2.0.css">
<link type="text/css" rel="stylesheet" href="/app/thirdparty/buildoz/buildoz.css">
<script src="/app/thirdparty/buildoz/buildoz.js"></script>
<script src="/app/thirdparty/buildoz/bzGraflow.js"></script>
<link type="text/css" rel="stylesheet" href="/eicui/eicui-2.0.css">
<link type="text/css" rel="stylesheet" href="/buildoz/buildoz.css">
<script src="/buildoz/buildoz.js"></script>
<script src="/buildoz/bzGraflow.js"></script>
<style>
@font-face { /*FF does not indirectly load if inside a shawdow-dom */
font-family: 'glyphs';
src: url('/app/assets/styles/fonts/glyphs.eot');
src: url('/app/assets/styles/fonts/glyphs.eot') format('embedded-opentype'),
url('/app/assets/styles/fonts/glyphs.ttf') format('truetype'),
url('/app/assets/styles/fonts/glyphs.woff') format('woff'),
url('/app/assets/styles/fonts/glyphs.svg') format('svg');
src: url('/assets/styles/fonts/glyphs.eot');
src: url('/assets/styles/fonts/glyphs.eot') format('embedded-opentype'),
url('/assets/styles/fonts/glyphs.ttf') format('truetype'),
url('/assets/styles/fonts/glyphs.woff') format('woff'),
url('/assets/styles/fonts/glyphs.svg') format('svg');
font-weight: normal;
font-style: normal;
font-display: block;
@@ -76,7 +76,7 @@
</head>
<body>
<bz-graflow class="compunet" flow="/app/thirdparty/buildoz/graflow_examples/flows/testFlow1.json" tension="60" isolated edit="nodesmove,wires,dropnodes" >
<bz-graflow class="compunet" flow="/buildoz/graflow_examples/flows/testFlow1.json" tension="60" isolated edit="nodesmove,wires,dropnodes" >
<div class="demooptions"> <!-- just for demo purposes -->
<button data-trigger="onAutoplace1H">Auto-place Horizontal</button>
<button data-trigger="onAutoplace1V">Auto-place Vertical</button>

View File

@@ -4,18 +4,18 @@
<title>graflow</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
<link type="text/css" rel="stylesheet" href="/app/thirdparty/eicui/eicui-2.0.css">
<link type="text/css" rel="stylesheet" href="/app/thirdparty/buildoz/buildoz.css">
<script src="/app/thirdparty/buildoz/buildoz.js"></script>
<script src="/app/thirdparty/buildoz/bzGraflow.js"></script>
<link type="text/css" rel="stylesheet" href="/eicui/eicui-2.0.css">
<link type="text/css" rel="stylesheet" href="/buildoz/buildoz.css">
<script src="/buildoz/buildoz.js"></script>
<script src="/buildoz/bzGraflow.js"></script>
<style>
@font-face { /*FF does not indirectly load if inside a shawdow-dom */
font-family: 'glyphs';
src: url('/app/assets/styles/fonts/glyphs.eot');
src: url('/app/assets/styles/fonts/glyphs.eot') format('embedded-opentype'),
url('/app/assets/styles/fonts/glyphs.ttf') format('truetype'),
url('/app/assets/styles/fonts/glyphs.woff') format('woff'),
url('/app/assets/styles/fonts/glyphs.svg') format('svg');
src: url('/assets/styles/fonts/glyphs.eot');
src: url('/assets/styles/fonts/glyphs.eot') format('embedded-opentype'),
url('/assets/styles/fonts/glyphs.ttf') format('truetype'),
url('/assets/styles/fonts/glyphs.woff') format('woff'),
url('/assets/styles/fonts/glyphs.svg') format('svg');
font-weight: normal;
font-style: normal;
font-display: block;
@@ -78,7 +78,7 @@
</head>
<body>
<bz-graflow class="compunet" flow="/app/thirdparty/buildoz/graflow_examples/flows/testFlow16ports.json" tension="60" isolated edit="nodesmove" >
<bz-graflow class="compunet" flow="/buildoz/graflow_examples/flows/testFlow16ports.json" tension="60" isolated edit="nodesmove" >
<div class="demooptions"> <!-- just for demo purposes -->
<button data-trigger="onAutoplace1H">Auto-place Horizontal</button>
<button data-trigger="onAutoplace1V">Auto-place Vertical</button>