nicsys license
This commit is contained in:
13
buildoz.js
13
buildoz.js
@@ -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 {
|
||||
constructor(){
|
||||
|
||||
18
bzGraflow.js
18
bzGraflow.js
@@ -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{
|
||||
dirVect = {
|
||||
n: { x: 0, y: -1 },
|
||||
@@ -415,12 +428,9 @@ class BZgraflow extends Buildoz{
|
||||
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
|
||||
this._virtualLinks = new Map()
|
||||
this.flow.longLinks = this.findLongLinks(this.flow.links)
|
||||
for(const llink of this.flow.longLinks){
|
||||
let fakeParent = llink.link.from[0]
|
||||
|
||||
Reference in New Issue
Block a user