unit
vue-flow
Our great sponsors
unit | vue-flow | |
---|---|---|
12 | 8 | |
2,491 | 2,894 | |
- | - | |
9.7 | 9.8 | |
8 days ago | 11 days ago | |
TypeScript | TypeScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
unit
- Unit – Next Generation Visual Programming System
-
Visual Node Graph with ImGui
https://github.com/samuelmtimbo/unit recently, which at least uses some kind of hinted auto-layout (besides the more propriety fancy)
I really want to see more graphical coding for years, but node/graph-based and blockly seem to be the only approaches that got sone traction so far. So I like this thread and it seems at the right place.
I'd wish to see
- Next Generation Visual Programming System
-
Unit (Visual Programming System) [video]
Interesting, and clearly a lot of work's gone into this (60,000 lines of Typescript), particularly the UI, which is impressive (if, sometimes, over the top). I've been developing a similar system (http://www.fmjlang.co.uk/fmj/tutorials/TOC.html) and it's interesting to note the similarities and differences.
Similarities: code as directed graphs (less obvious in FMJ); can only connect outputs to units of compatible type; if and wait (looping is handled differently); sticky values; sliders. These design decisions are practically forced on you, but are often absent in earlier visual dataflow languages (e.g. Prograph, LabVIEW).
Differences: (1) inputs are named in Unit, ordered in FMJ (though they're named in formulas and edges can be labelled). (2) I experimented with automatic code layout but found this was too slow and not always what I wanted. Well done for getting this to work. (3) FMJ is now fully homoiconic - this maybe isn't a priority for Unit.
The Unit design philosophy is explained in https://github.com/samuelmtimbo/unit/blob/main/src/docs/conc... . This doesn't mention earlier approaches (e.g. the Manchester Dataflow Computer, Prograph) and it seems to be based on vaguely similar ideas developed more recently (Morrison's Flow Based programming; possibly React and similar systems for web development - I'm unfamiliar with these).
I have a number of questions:
(1) How does the type system work? Is it Dependently typed, Hindley-Milner, or something more basic? (FMJ is Hindley-Milner, with dependent typing partially implemented). How are new types be defined?
(2) How is the visual representation stored? One criticism I faced was that people wanted a readable textual representation which would work well with existing version control systems, a problem I have now largely solved.
(3) How are runtime errors handled?
(4) Is recursion supported? (I assume yes, but I didn't see any examples.) What about macros?
(5) What does Unit compile to? (FMJ has an experimental compiler where programs are compiled by running their source without evaluating their inputs, output is Lisp.)
- Unit.land
-
A personal history of visual programming environments (2021)
I enjoyed reading this. I knew of quartz composer but I never did anything with it.
I love visual tools and I think they are underutilized today. I cut my teeth in ~2005 with Houdini[0] and Fusion[1] which are both heavily graph / node based (and procedural).
Most recently I have been rekindling my love for visual programming and flow based programming and plan to spend some time in January and February doing more research around flow based programming for infrastructure management.
I plan to get this sort of info published on my website which I have neglected for half a decade or more but if you are interested in visual programming you might enjoy checking these out:
Unit from Samuel TimbĂł:
https://github.com/samuelmtimbo/unit
https://ioun.it/
A video of me exploring what I figured out about it (while also learning to stream) https://www.youtube.com/watch?v=vwknTfGVDq8
Behave-Graph from Ben Houston:
https://github.com/bhouston/behave-graph
And the products I learned so long ago
[0] Houdini https://www.sidefx.com/products/houdini/
[1] Fusion https://www.blackmagicdesign.com/products/fusion
-
Ask HN: More “experimental“ UIs for editing/writing code?
https://github.com/samuelmtimbo/unit
- A code drawn in unit is simply a Directed Graph.
- Programming can be partially performed by Gesture and by Voice.
- Unit: Next Generation Visual Programming Platform
vue-flow
- Show HN: Svelte Flow – a library for creating node-based UIs
-
Visual Node Graph with ImGui
Several out there. Pick your poison https://vueflow.dev/ or https://reactflow.dev/
-
Interactive Nodes-and-edges graph in Vue
For some use cases, I think vue-flow would count as a graph library. In your case, this is probably a good library to use.
-
[Showoff Saturday] I made an AI powered diagram creator.. just describe your diagram using language
I'm using vue-flow (https://vueflow.dev/). it's excellent, based on react-flow
- Migrating from Vue 2 to Svelte
-
Is there a JS library that will let me create a flow diagram like GitHub’s visualization graph? (Removed my similar and confusing question from earlier today)
Hey, idk if you are familiar with react but there is https://reactflow.dev/ https://vueflow.dev/ https://github.com/sidharth-anand/svelte-flow
-
Diagramming Library
Would Vue Flow not provide the necessary functionality?
-
Improving drag'n'drop
How about vue-flow? I just stumbled across it a couple of days ago but it seems to be a well-written package and they have a discord if you need help.
What are some alternatives?
lisperanto - Lisperanto is a spatial canvas for programming; Lisperanto is a spatial canvas for knowledge; Lisperanto is a spatial canvas for ideas;
Drawflow - Simple flow library 🖥️🖱️
impulse - Impossible Dev Tools for React and Tailwind
leader-line - Draw a leader line in your web page.
metadesk
laravel-vue-i18n - Allows to connect your `Laravel` Framework translation files with `Vue`.
newspeak - Newspeak is a live object-capability language in the Smalltalk tradition
curved-arrows - Draw S-curved arrows between points or shapes
nodezator - A multi-purpose visual node editor for the Python programming language
svelte-flow
t3 - Tooll 3 is an open source software to create realtime motion graphics.
react-diagrams - a super simple, no-nonsense diagramming library written in react that just works