HNHacker News
TopNewBestAskShowJobs

escot

2,332 karma · joined October 8, 2013

Building a keyboard driven flowchart editor: https://knotend.com

https://www.scottantipa.com

twitter.com/ScottyAntipa

scott@scottantipa.com

submissionscomments
escot··on How to store your app's entire state in the url
I've been working on the app for over a year. The state-in-url thing was a pretty small portion of time, although I've fixed/updated it several times in that year to make it better. Thanks for the feedback. Did you make a flowchart?
escot··on How to store your app's entire state in the url
URLs are great because you can share them. I may also add support for local storage, but it won't remove the ability to share via URL.
escot··on How to store your app's entire state in the url
I just updated knotend to use the hashmark, see my comment above!
escot··on How to store your app's entire state in the url
I just updated knotend so that it now uses the hashmark. I think this is a great idea, and it just loses the ability to get the urls server side, which in my case is totally fine. I also updated the blog post and acknowledged your comment, so thank you!
escot··on How to store your app's entire state in the url
Thanks!
escot··on How to store your app's entire state in the url
This is a great point, but also depends on what browsers you want to support. In my experience some browsers a) will truncate the url when you try to copy it from the browser bar (safari), and b) will not support any url including the hash past a certain cut off (like the SO comment states).
escot··on How to store your app's entire state in the url
You're right, its a limitation. Knotend also supports upload/download of a .knotend file to get around this.
escot··on How to store your app's entire state in the url
Hey all, I made this post to show a technique that I'm using in my keyboard-centric flowchart editor [0]. I really love urls, and the power that they hold, and would love to see more apps implement little hacks like this.

Also, another shout out to mermaidjs and flowchart.fun for also implementing similar url-based sharing.

[0] https://www.knotend.com

escot··on TreeSheets: Open Source Free Form Data Organizer
Shameless plug, I made https://www.knotend.com which is a keyboard-first directed graph editor. Supports trees and directed graphs (multiple parents).
escot··on Show HN: Circle Calendar
That would be super cool, you should do it.
escot··on D2, a diagram scripting language that turns text to diagrams, is now open source
dagrejs has a section on "Recommended Reading" which lists which algorithms from which papers they implement.

https://github.com/dagrejs/dagre/wiki#recommended-reading

escot··on Awesome Node-Based UIs
The cannnabis co? What were you using flowcharts for?
escot··on Awesome Node-Based UIs
Thanks! I just put up a PR for formatting the link.
escot··on Awesome Node-Based UIs
Plug: Im making a keyboard-centric flowchart editor designed for speed. Its node/wires but instead of being a canvas and mouse interaction, its a grid like a spreadsheet and has navigation and selection like a spreadsheet. Free to use (below). It would go in the Diagramming section.

https://www.knotend.com

escot··on Show HN: I built my own PM tool after trying Trello, Asana, ClickUp, etc.
You could try TreeAge for mapping out probabilities: https://www.treeage.com/

And just as a plug, I made https://www.knotend.com which is a keyboard-centric flowchart editor you can use to map dependencies. Im working in adding computation and probability like you say.

escot··on Show HN: Figr.app – a multi-user, notepad style calculator (desktop app)
If you'd like a flowchart editor that's keyboard-first you can try what I've made here: https://www.knotend.com.
escot··on Ask HN: Best way to let a user create a link inside a text input
I want the user to be able to highlight some text and add a url to it, like you would with cmd-k in gdocs, sheets, etc. Not just linkifying any detected urls in the text.
escot··on Ask HN: Best way to let a user create a link inside a text input
Yes I’d like it to work while editing
escot··on Ask HN: Best way to let a user create a link inside a text input
To clarify — Id like this to feel like rich text editing. I just dont need all the other rich text editing features like colors, bold, lists, etc. I just want to support highlighting some text, cmd-k to add a url, click to edit the url, etc. Like how adding links to text in gdocs works.
escot··on We need a flowchart editor that doesn't give you carpal tunnel
Knotend now can export to PlantUML
escot··on We need a flowchart editor that doesn't give you carpal tunnel
Ok, I fixed this. You can now Tab (etc) while editing a node to add a new node.
escot··on We need a flowchart editor that doesn't give you carpal tunnel
Thanks for the feedback. I ended up having shift-right-click do the default behavior of right-click so atleast theres a workaround.
escot··on We need a flowchart editor that doesn't give you carpal tunnel
Im working on this…its tough. I noticed several webapps make this mistake, like Miro. I think something clever is required since google sheets gets it right.
escot··on We need a flowchart editor that doesn't give you carpal tunnel
Knotend supports copy/paste of subgraphs tosay. I want to also support things like pattern replacement, snippets, autocomplete (that creates nodes not just text in a node). Like a text editor.

I agree with your take on the layout. It isnt an easy problem. I’m looking at adding a grouping concept so the user can add more hints about the layout.

escot··on We need a flowchart editor that doesn't give you carpal tunnel
Update: I implemented export to PlantUML
escot··on We need a flowchart editor that doesn't give you carpal tunnel
Thanks for your feedback solardev!

> On Windows, the tab and ctrl-enter shortcuts seem to be "captured" It's like this on alls systems at the moment. For example you can't use Tab to add a new node while you're currently editing the text of another node. I'm working on this but its a bit complicated because some shortcuts interfere with system shortcuts for text editing.

> * Box-selection I agree!

> * When you drag a node to move it, it's not immediately obvious what will happen to it. This is a really good idea. I was just a little lazy and didn't add any ux niceness here. I could probably add some phantom connection lines showing what edges would get aded.

> import/export UML I'll take a look on exporting to UML. I'd like to support as much import/export formats as is feasible.

> how the connections between nodes work The connections are simply an edge in the graph. There isn't any styling or way to convey meaning to an edge. One of the big differences with knotend and other diagramming systems, however, is that knotend isn't geared towards making particularly pretty diagrams. It's very much designed around speed. So for example it supports colors, but doesn't support any manual layout or custom shapes. To be honest I'm not sure if/when it will. But I'm happy to export to those systems. If you email me with any example diagrams that you've made using UML (or other systems) I can see how those may work in knotend now or in the future.

Thank you for all the great feedback, it really is super helpful!

escot··on We need a flowchart editor that doesn't give you carpal tunnel
Email anytime :)
escot··on We need a flowchart editor that doesn't give you carpal tunnel
Are you thinking of AWS step functions? They have a json format I could possibly export to but I haven’t looked deeply into it.
escot··on We need a flowchart editor that doesn't give you carpal tunnel
Do you know of any tools that export to airflow? I’d be happy to implement it. Would you want to write python code in the nodes, or just the names of functions (or modules)?
escot··on We need a flowchart editor that doesn't give you carpal tunnel
Someone made a web version of what you’re describing:

https://dreampuf.github.io/GraphvizOnline

← PreviousPage 2 of 7Next →