Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
s0l0ist
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
Faster ULID Generation in Rust
(medium.com)
1 points
by
s0l0ist
1y ago
|
0 comments
2.
▲
Ferroid: High-Throughput Snowflake-Like ID Generator in Rust
(old.reddit.com)
3 points
by
s0l0ist
1y ago
|
0 comments
3.
▲
by
s0l0ist
2y ago
I'm working on a python library for Vizdom to be released later this year, but in the mean time, you can use this python library which uses Graphviz under the hood. - https://diagrams.mingrammer.com/
4.
▲
by
s0l0ist
2y ago
Hey that's me! Thanks for mentioning it. So far it has automatic layout that will position (and create a rendering) for hierarchical graphs - even if your data isn't hierarchical in nature. This is how the algorithm works internal
5.
▲
by
s0l0ist
2y ago
Cool I’ll put this on my roadmap
6.
▲
by
s0l0ist
2y ago
Yeah not really competition as I see it. If you create graphs rarely or need to craft one manually then there are better tools out there. Maybe my landing page is terrible, but you don’t need an account to download the npm package and start
7.
▲
by
s0l0ist
2y ago
Thank you for pointing this out - it was an error. I actually even forgot to credit the dependencies the binary was built from! However, that is now resolved. The latest distribution has license mentions for: - Dagrejs - NotoSans Font - *Ot
8.
▲
by
s0l0ist
2y ago
Also, if you're using python today, take a look at https://diagrams.mingrammer.com/ It's pretty good - uses Graphviz under the hood, but supports many cloud icons/logos. Not completely sure if it allows you t
9.
▲
by
s0l0ist
2y ago
Yeah that and http://magjac.com/graphviz-visual-editor/ are decent. But they will crash on medium/large graphs because the WebAssembly build of Graphviz that they use under the hood isn't compiled to allow me
10.
▲
by
s0l0ist
2y ago
If you're already happy with Graphviz wrappers, then the only real benefit is that you can sync the graph to a Vizdom account so you don't have to build anything to view the diagram somewhere outside of local development - it save
11.
▲
by
s0l0ist
2y ago
Thank you! Custom icons - not yet. I’ve been mulling over how to do it on server and client that isn’t hacky and that plays nice with edge intersections (how edges will point to the bounding box of the icon/logos) It’s definitely somet
12.
▲
by
s0l0ist
2y ago
Yeah I’ll admit, that isn’t clear. I used DOT to test it a while back and opened that up for folks who also wanted to mess with DOT, but that isn’t the value prop today. You can create and render as many graphs as you like with the package
13.
▲
by
s0l0ist
2y ago
You know what? You’re right! That’s confusing. I’ll try and make it better. Really good feedback and I’m being serious. Wish I saw that earlier.
14.
▲
by
s0l0ist
2y ago
Definitely!
15.
▲
by
s0l0ist
2y ago
Yes exactly!
16.
▲
by
s0l0ist
2y ago
Tradeoffs are real. My example displays a few more knobs and yes, it’s more verbose. I’d say my premise isn’t that “DSLs are bad”, but more along the lines of if a DSL isn’t what you’re looking for, I may have something for you. Particularl
17.
▲
by
s0l0ist
2y ago
Ah yeah while I do have a live editor for playing with DOT, it’s not a graphviz replacement nor is it primarily what Vizdom is all about. I actually launched a tech preview earlier this year and those two pages were all I really had.
18.
▲
by
s0l0ist
2y ago
I also wanted to give a shoutout to Greg who built the amazing Leptos rust framework that powers everything. Read more here: https://leptos.dev/
19.
▲
by
s0l0ist
2y ago
Neat product! I like the interactivity. For me (and my narrow use-case), I just couldn’t find a simple tool to sync my graph to somewhere that I could view it easily - especially after I’ve instrumented my application and deployed to the cl
20.
▲
by
s0l0ist
2y ago
Ah yeah, it’s been bugging me as well lol. I definitely need to update that at some point.
21.
▲
by
s0l0ist
2y ago
Thanks! Love your product! I didn’t mean to say you don’t have it. I’ll edit my other post.
22.
▲
by
s0l0ist
2y ago
I’d say for the majority use-case (as I see it), they’re excellent for manual diagram curation. Especially, D2 for software arch diagrams. Mermaid is great at many things. It’s kind of hard to write up a fair comparison - it’s apples to ora
23.
▲
by
s0l0ist
2y ago
I wrote some functionality to parse DOT to feed it into the layout engine before I got everything working. It was a great way to validate more complex graphs with a DSL that is already prevalent. So for now it’s only present in the webapp.
24.
▲
by
s0l0ist
2y ago
Sure! It’s Apache 2.0 licensed, but yes the binary wasm blob is what does all the work and is closed source for the time being. It’s about 25k lines of rust code compiled to do the following: - Layout/position a directed graph - Comput
25.
▲
by
s0l0ist
2y ago
The npm package is free to use, but closed source until I have bandwidth. To be clear, you don’t need an account to use the npm package which has all of the functionality to perform layout and rendering. An account is only needed if you wan
26.
▲
by
s0l0ist
2y ago
I’m the author, I just got tired of using a DSL and wanted a way to programmatically write/build a graph and quickly see the rendering. DLS-based diagramming tools like Terrastruct, mermaid, or graphviz definitely have their perks and
27.
▲
Vizdom: Diagrams as Code
(vizdom.dev)
110 points
by
s0l0ist
2y ago
|
64 comments
28.
▲
Vizdom: A Fast and Declarative Graph Layout and Rendering Library
(old.reddit.com)
5 points
by
s0l0ist
2y ago
|
0 comments