gioser-graph: edge colors blend from connected node caminos
- Each edge color is a 50/50 blend of its two nodes' camino colors - Extra brightness proportional to weight (higher weight = closer to white) - Edge opacity/width also varies by weight - Edges drawn before nodes in SVG (already behind them)
This commit is contained in:
+2
-2
@@ -9,11 +9,11 @@ export interface InitOutput {
|
||||
readonly memory: WebAssembly.Memory;
|
||||
readonly boot: () => void;
|
||||
readonly __wasm_bindgen_func_elem_216: (a: number, b: number, c: number) => void;
|
||||
readonly __wasm_bindgen_func_elem_1404: (a: number, b: number, c: number, d: number) => void;
|
||||
readonly __wasm_bindgen_func_elem_1408: (a: number, b: number, c: number, d: number) => void;
|
||||
readonly __wasm_bindgen_func_elem_215: (a: number, b: number, c: number) => void;
|
||||
readonly __wasm_bindgen_func_elem_215_3: (a: number, b: number, c: number) => void;
|
||||
readonly __wasm_bindgen_func_elem_492: (a: number, b: number, c: number) => void;
|
||||
readonly __wasm_bindgen_func_elem_598: (a: number, b: number, c: number) => void;
|
||||
readonly __wasm_bindgen_func_elem_602: (a: number, b: number, c: number) => void;
|
||||
readonly __wasm_bindgen_func_elem_285: (a: number, b: number, c: number) => void;
|
||||
readonly __wasm_bindgen_func_elem_284: (a: number, b: number) => void;
|
||||
readonly __wbindgen_export: (a: number, b: number) => number;
|
||||
|
||||
@@ -570,8 +570,8 @@ function __wbg_get_imports() {
|
||||
return ret;
|
||||
},
|
||||
__wbindgen_cast_0000000000000001: function(arg0, arg1) {
|
||||
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 179, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
||||
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_1404);
|
||||
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 180, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
||||
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_1408);
|
||||
return addHeapObject(ret);
|
||||
},
|
||||
__wbindgen_cast_0000000000000002: function(arg0, arg1) {
|
||||
@@ -595,8 +595,8 @@ function __wbg_get_imports() {
|
||||
return addHeapObject(ret);
|
||||
},
|
||||
__wbindgen_cast_0000000000000006: function(arg0, arg1) {
|
||||
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("MouseEvent")], shim_idx: 173, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
||||
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_598);
|
||||
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("MouseEvent")], shim_idx: 174, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
||||
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_602);
|
||||
return addHeapObject(ret);
|
||||
},
|
||||
__wbindgen_cast_0000000000000007: function(arg0, arg1) {
|
||||
@@ -649,18 +649,18 @@ function __wasm_bindgen_func_elem_492(arg0, arg1, arg2) {
|
||||
wasm.__wasm_bindgen_func_elem_492(arg0, arg1, addHeapObject(arg2));
|
||||
}
|
||||
|
||||
function __wasm_bindgen_func_elem_598(arg0, arg1, arg2) {
|
||||
wasm.__wasm_bindgen_func_elem_598(arg0, arg1, addHeapObject(arg2));
|
||||
function __wasm_bindgen_func_elem_602(arg0, arg1, arg2) {
|
||||
wasm.__wasm_bindgen_func_elem_602(arg0, arg1, addHeapObject(arg2));
|
||||
}
|
||||
|
||||
function __wasm_bindgen_func_elem_285(arg0, arg1, arg2) {
|
||||
wasm.__wasm_bindgen_func_elem_285(arg0, arg1, addHeapObject(arg2));
|
||||
}
|
||||
|
||||
function __wasm_bindgen_func_elem_1404(arg0, arg1, arg2) {
|
||||
function __wasm_bindgen_func_elem_1408(arg0, arg1, arg2) {
|
||||
try {
|
||||
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
||||
wasm.__wasm_bindgen_func_elem_1404(retptr, arg0, arg1, addHeapObject(arg2));
|
||||
wasm.__wasm_bindgen_func_elem_1408(retptr, arg0, arg1, addHeapObject(arg2));
|
||||
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
||||
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
||||
if (r1) {
|
||||
|
||||
Binary file not shown.
+2
-2
@@ -3,11 +3,11 @@
|
||||
export const memory: WebAssembly.Memory;
|
||||
export const boot: () => void;
|
||||
export const __wasm_bindgen_func_elem_216: (a: number, b: number, c: number) => void;
|
||||
export const __wasm_bindgen_func_elem_1404: (a: number, b: number, c: number, d: number) => void;
|
||||
export const __wasm_bindgen_func_elem_1408: (a: number, b: number, c: number, d: number) => void;
|
||||
export const __wasm_bindgen_func_elem_215: (a: number, b: number, c: number) => void;
|
||||
export const __wasm_bindgen_func_elem_215_3: (a: number, b: number, c: number) => void;
|
||||
export const __wasm_bindgen_func_elem_492: (a: number, b: number, c: number) => void;
|
||||
export const __wasm_bindgen_func_elem_598: (a: number, b: number, c: number) => void;
|
||||
export const __wasm_bindgen_func_elem_602: (a: number, b: number, c: number) => void;
|
||||
export const __wasm_bindgen_func_elem_285: (a: number, b: number, c: number) => void;
|
||||
export const __wasm_bindgen_func_elem_284: (a: number, b: number) => void;
|
||||
export const __wbindgen_export: (a: number, b: number) => number;
|
||||
|
||||
Reference in New Issue
Block a user