gioser-graph: grid layout 3 cols, line brightness by weight, breathing animation
- Replaced force-directed layout with explicit grid: 3 columns wide, rows based on node count (minimum 3 visual rows) - Nodes are larger: 170x44px with 8px radius - Lines: color brightness + stroke opacity based on normalized weight (weight 1.0 → white #ffff, 0.5 → dimmer rgb) - CSS animation 'graph-breathe': opacity pulses slowly (4.2s ease-in-out) - Hover: drop-shadow glow + fill-opacity increase - Glow circle behind each node (subtle)
This commit is contained in:
@@ -297,6 +297,16 @@ function __wbg_get_imports() {
|
||||
const ret = result;
|
||||
return ret;
|
||||
},
|
||||
__wbg_instanceof_SvgCircleElement_b8f3b45ab1053e3e: function(arg0) {
|
||||
let result;
|
||||
try {
|
||||
result = getObject(arg0) instanceof SVGCircleElement;
|
||||
} catch (_) {
|
||||
result = false;
|
||||
}
|
||||
const ret = result;
|
||||
return ret;
|
||||
},
|
||||
__wbg_instanceof_SvgElement_46537942d3e1376d: function(arg0) {
|
||||
let result;
|
||||
try {
|
||||
@@ -560,33 +570,33 @@ 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: 176, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
||||
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_1398);
|
||||
// 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_1408);
|
||||
return addHeapObject(ret);
|
||||
},
|
||||
__wbindgen_cast_0000000000000002: function(arg0, arg1) {
|
||||
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [F64], shim_idx: 2, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
||||
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_218);
|
||||
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_219);
|
||||
return addHeapObject(ret);
|
||||
},
|
||||
__wbindgen_cast_0000000000000003: function(arg0, arg1) {
|
||||
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("Event")], shim_idx: 6, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
||||
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_217);
|
||||
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_218);
|
||||
return addHeapObject(ret);
|
||||
},
|
||||
__wbindgen_cast_0000000000000004: function(arg0, arg1) {
|
||||
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("KeyboardEvent")], shim_idx: 6, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
||||
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_217_3);
|
||||
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_218_3);
|
||||
return addHeapObject(ret);
|
||||
},
|
||||
__wbindgen_cast_0000000000000005: function(arg0, arg1) {
|
||||
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("MouseEvent")], shim_idx: 137, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
||||
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_494);
|
||||
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_496);
|
||||
return addHeapObject(ret);
|
||||
},
|
||||
__wbindgen_cast_0000000000000006: function(arg0, arg1) {
|
||||
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("MouseEvent")], shim_idx: 170, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
||||
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_593);
|
||||
// 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_602);
|
||||
return addHeapObject(ret);
|
||||
},
|
||||
__wbindgen_cast_0000000000000007: function(arg0, arg1) {
|
||||
@@ -627,30 +637,30 @@ function __wasm_bindgen_func_elem_288(arg0, arg1) {
|
||||
wasm.__wasm_bindgen_func_elem_288(arg0, arg1);
|
||||
}
|
||||
|
||||
function __wasm_bindgen_func_elem_217(arg0, arg1, arg2) {
|
||||
wasm.__wasm_bindgen_func_elem_217(arg0, arg1, addHeapObject(arg2));
|
||||
function __wasm_bindgen_func_elem_218(arg0, arg1, arg2) {
|
||||
wasm.__wasm_bindgen_func_elem_218(arg0, arg1, addHeapObject(arg2));
|
||||
}
|
||||
|
||||
function __wasm_bindgen_func_elem_217_3(arg0, arg1, arg2) {
|
||||
wasm.__wasm_bindgen_func_elem_217_3(arg0, arg1, addHeapObject(arg2));
|
||||
function __wasm_bindgen_func_elem_218_3(arg0, arg1, arg2) {
|
||||
wasm.__wasm_bindgen_func_elem_218_3(arg0, arg1, addHeapObject(arg2));
|
||||
}
|
||||
|
||||
function __wasm_bindgen_func_elem_494(arg0, arg1, arg2) {
|
||||
wasm.__wasm_bindgen_func_elem_494(arg0, arg1, addHeapObject(arg2));
|
||||
function __wasm_bindgen_func_elem_496(arg0, arg1, arg2) {
|
||||
wasm.__wasm_bindgen_func_elem_496(arg0, arg1, addHeapObject(arg2));
|
||||
}
|
||||
|
||||
function __wasm_bindgen_func_elem_593(arg0, arg1, arg2) {
|
||||
wasm.__wasm_bindgen_func_elem_593(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_289(arg0, arg1, arg2) {
|
||||
wasm.__wasm_bindgen_func_elem_289(arg0, arg1, addHeapObject(arg2));
|
||||
}
|
||||
|
||||
function __wasm_bindgen_func_elem_1398(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_1398(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) {
|
||||
@@ -661,8 +671,8 @@ function __wasm_bindgen_func_elem_1398(arg0, arg1, arg2) {
|
||||
}
|
||||
}
|
||||
|
||||
function __wasm_bindgen_func_elem_218(arg0, arg1, arg2) {
|
||||
wasm.__wasm_bindgen_func_elem_218(arg0, arg1, arg2);
|
||||
function __wasm_bindgen_func_elem_219(arg0, arg1, arg2) {
|
||||
wasm.__wasm_bindgen_func_elem_219(arg0, arg1, arg2);
|
||||
}
|
||||
|
||||
function addHeapObject(obj) {
|
||||
|
||||
Reference in New Issue
Block a user