shamshirz / code_vis Goto Github PK
View Code? Open in Web Editor NEWTools for visualizing elixir programs
Tools for visualizing elixir programs
Filtering in the graph
Orient In another way
Other Graph View options
not knowing anything about the codebase, i found myself wanting to learn more about what these functions are trying to do - had the urge to mouse over a node and see if the docstring would pop up
you may consider a horizontal flow to the visualization - i'm finding myself wanting to look at the 1st generation children of the root node in order, to get an idea of the flow of logic
Lots of information on the page
β¦very difficult to make sense of in graph form (although I would claim that they're likely at least as difficult to make sense of in source code form, probably more)
Provide a way to select what's important (filter by depth)
But I think what I'd want is basic filtering functionality E.g. to be able to specify the number of edge traversals from the originating function node visible at once on the graph
1
, for example, would mean show me all of the functions called directly by this one2
βall functions called directly by this one and all functions called directly by thoseFilter by branch
But yeah. I'd also like to be able to filter by just one "branch" of the original function
Can we provide "areas of interest" based on what a good graph pattern might be
I think it could be huge if you could come up with some heuristics like that. At that point you could do even better than say "look at this graph to see if you have lots of the same arrow pointing between the same two nodes," you could encode it!!
How?
Is the graph intuitive? - need user feedback
Once you understand the graph, what can you do with that knowledge? - user feedback
This includes removing the original mix visualize mfa()
task
Big elixir projects and small ones too!
https://www.notion.so/CodeVis-Research-80bf562a401f4a109ccfe279eff20e23
Thought I fixed it, but I didn't - create test case
Get this in the hands of users
CodeVis
doesmfa()
by heart~1 min to compile CB, 1 sec to run ngrok, 10 sec to copy & paste url
Can it be put into a script?
Yeah, but I can also just leave it running and not worry about it lol
mix code_vis.server
ngrok http 1337
First pass: sam & rj
:ets
-> Intermediate (map)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.