mitro42 / graphstudio Goto Github PK
View Code? Open in Web Editor NEWEdits graphs and visualizes graph algorithms
License: MIT License
Edits graphs and visualizes graph algorithms
License: MIT License
Sticking with 32 bit is not required now, that the QuickTimeLib was removed.
The (mostly)static parts of the algorithm animations should be rendered only when changed
Probably a smaller, 4:3 image with the same line width and arrow setting would do it for smaller graphs.
For larger graphs configurable settings may be necessary.
The params panel, legend and captions should be hidden.
The step-by-step animation broke the stopping of the animation. Now once the animation is started it is not possible to go back to the editing mode.
Done
The GraphHandler class is intended to handle the UI events which directly manipulate the graph. E.g create and move nodes, reorder all nodes, create new graph (though maybe this should be extracted too).
Create separate graph drawing class hierarchy. One class should handle basic graph drawing like nodes, directed and undirected edges, highlights, weights/labels.
One class should be aware of animations, states and such in general.
For the different graph algorithms separate classes should be created (possibly inherited from the latter) which should handle the specifics of the given algorithms.
Add a new mode in which the nodes are moving with slow speed in slowly changing directions, while the result of the current algorithm is always displayed.
The graph should always have an unambiguous directed state. It should always be rendered in accordance with this state and only the appropriate algorithms should be selectable. A conversion option may be offered, which should actually modify the graph (change the edges) as needed.
They should be the same...
It is not enough to minimise the window, hide it completely.
Instead of a spearately generated algorithm result the last state of the algorithm run should be displayed.
Not working properly:
Edge Width
Highlighted Edge Width
Show Edge/Node Labels
Algorithm starting node, one animation was started and stopped
Add text descriptions to each step of the algorithms
The missing file and defaults are not handled properly
After the animation is finished switch back to the one-state algorithm result display.
Alternatively replace the latter with displaying the last step of the animation (TBD)
Now the .graph file contains the edges created in step 1 and step 4.
Save images to a temporary folder, automatically call ffmpeg to create the video, remove the images, and copy the graph files next to the result, with the same filename.
Edge weights of hundreds are not very helpful for visualisation. It is probably safe to divide them by 10 but make it configurable. Change the actual weights, not just the display.
If a new graph was created save should call save as, otherwise it should overwrite the file the graph was loaded from.
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.