05f2e54ed1
- Graph: nodes are draggable via pointer events. Snap back with spring transition on release (cubic-bezier 0.34,1.56,0.64,1) - Removed hover bounce animation (was distracting) - Page controls (minimize/close): now fixed position in viewport (top-right, z-index 100), not inside the deck-page scroll area. Created once in sync_page_controls() on show/hide deck. Controls detect active page when data-minimize/close-page is empty. - Hash routing → history.pushState: URLs are /estudio/aire etc. popstate listener handles back/forward. Initial path read on boot. - Added PointerEvent feature to gioser-graph-web Cargo.toml - Added History feature to gioser-web Cargo.toml
41 lines
779 B
TOML
41 lines
779 B
TOML
[package]
|
|
name = "gioser-graph-web"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
authors.workspace = true
|
|
publish.workspace = true
|
|
|
|
[dependencies]
|
|
wasm-bindgen.workspace = true
|
|
wasm-bindgen-futures.workspace = true
|
|
js-sys.workspace = true
|
|
serde.workspace = true
|
|
serde_json.workspace = true
|
|
|
|
[dependencies.web-sys]
|
|
workspace = true
|
|
features = [
|
|
"Window",
|
|
"Document",
|
|
"Element",
|
|
"HtmlElement",
|
|
"SvgElement",
|
|
"SvgsvgElement",
|
|
"SvgCircleElement",
|
|
"SvgLineElement",
|
|
"SvgTextElement",
|
|
"SvgTextContentElement",
|
|
"SvgGraphicsElement",
|
|
"SvgRectElement",
|
|
"Node",
|
|
"Response",
|
|
"CssStyleDeclaration",
|
|
"DomRect",
|
|
"Event",
|
|
"EventTarget",
|
|
"MouseEvent",
|
|
"PointerEvent",
|
|
"console",
|
|
]
|