nicsys license

This commit is contained in:
STEINNI
2026-02-21 22:08:59 +00:00
parent 9e411c88bf
commit 187ac1951d
2 changed files with 27 additions and 6 deletions

View File

@@ -1,4 +1,15 @@
/**
* _ ___ Another
* / |/ (_)______ __ _____
* / / / __(_-</ // (_-<
* /_/|_/_/\__/___/\_, /___/
* /___/
* production !
*
* Licensed under the MIT License:
* This code is free to use and modify,
* as long as the copyright notice and license are kept.
*/
class Buildoz extends HTMLElement { class Buildoz extends HTMLElement {
constructor(){ constructor(){

View File

@@ -1,3 +1,16 @@
/**
* _ ___ Another
* / |/ (_)______ __ _____
* / / / __(_-</ // (_-<
* /_/|_/_/\__/___/\_, /___/
* /___/
* production !
*
* Licensed under the MIT License:
* This code is free to use and modify,
* as long as the copyright notice and license are kept.
*/
class BZgraflow extends Buildoz{ class BZgraflow extends Buildoz{
dirVect = { dirVect = {
n: { x: 0, y: -1 }, n: { x: 0, y: -1 },
@@ -415,12 +428,9 @@ class BZgraflow extends Buildoz{
layerWidths.push(totWidth) layerWidths.push(totWidth)
} }
// Temporary "virtual" links used only during autoPlace() to let reorderLayers()
// reason about placeholder nodes as if they were part of the original long-link.
// This prevents bogus swaps caused by missing port info on placeholders.
this._virtualLinks = new Map()
// If any long-links, create placeholders for skipped layers // If any long-links, create placeholders for skipped layers
this._virtualLinks = new Map()
this.flow.longLinks = this.findLongLinks(this.flow.links) this.flow.longLinks = this.findLongLinks(this.flow.links)
for(const llink of this.flow.longLinks){ for(const llink of this.flow.longLinks){
let fakeParent = llink.link.from[0] let fakeParent = llink.link.from[0]