A prototype webapp for easily visualising link routes in published Twine files.
Drop in to an existing folder served by a web server, or run for local testing:
python -m http.server # Visit http://localhost:8000/twine-vis.html to view.
A route visualiser for twine story files
When in linear display mode, "foreground" nodes can sometimes appear behind faded "background" nodes, which makes mouse interactions wrong/wonky. I gather this is because SVG uses element definition order directly as z-level.
Should fix this by using d3 to order foreground nodes after background nodes.
Display and/or calcs can get pretty hairy when the app attempts to display a loop in the graph structure. Currently there's just a gap in later occurrences of where a given node should be whenever this happens.
I suppose it would be nice to show something like a virtual node that says "loop to", perhaps with a different colour/shape to true nodes, and that shows a link back to the upstream connection point.
Feedback from beta tester: rather than having the app trace through a route to the end straight off the bat, it would be more intuitive to walk a desired route by selecting each node along the way one-by-one, having it reveal potential 'next-step' child nodes each time.
When using the load form to open a new file (or reload the same one), some nodes seem to keep some/all attributes from the previous file (e.g. name).
Should flatten the whole programme state whenever a file is loaded.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.