News for hackers. Stuff that matters.
Re:Diagrammr - create diagrams by writing sentences by sage_joch on Saturday December 12, 2009 @11:23PM (#992396)
Well it was useful for visualizing some of Yoda's lines: http://imgur.com/OZOxG.png
Re:Diagrammr - create diagrams by writing sentences by gnosis on Saturday December 12, 2009 @11:32PM (#992408)
Re:Diagrammr - create diagrams by writing sentences by gottlieb on Sunday December 13, 2009 @01:15AM (#992485)
Works better as a sequence diagram: http://www.diagrammr.com/edit?key=dEWNUvFXUEy
Re:Diagrammr - create diagrams by writing sentences by diN0bot on Sunday December 13, 2009 @01:58AM (#992507)
it's also worth checking out

http://www.websequencediagrams.com/

i've found it very useful in the past. offers more features, which was crucial (grouping, notes). the theming is also nice.

Re:Diagrammr - create diagrams by writing sentences by dangrossman on Saturday December 12, 2009 @11:05PM (#992381)
This would've been useful in college. Drawing and labeling all the little arrows in Dia for classes was a real time waster.

"Kushal wrote Chartbeat to make it easier for people to communicate diagrams"

So it was originally called Chartbeat?

The reliance on Google Accounts makes me think they want Google to buy this out.

Re:Diagrammr - create diagrams by writing sentences by zaidf on Saturday December 12, 2009 @11:36PM (#992418)

  The reliance on Google Accounts makes me think they want Google to buy this out.
It might be because they are using Google App Engine. I don't think any significant number of sites built on App Engine are trying to be Google acquisition bait.
Re:Diagrammr - create diagrams by writing sentences by est on Sunday December 13, 2009 @02:32AM (#992526)
> Drawing and labeling all the little arrows in Dia for classes was a real time waster.

Try yEd

http://www.yworks.com/products/yed/

Re:Diagrammr - create diagrams by writing sentences by ggrot on Sunday December 13, 2009 @02:10AM (#992515)
I totally agree. I can remember so many times when writing documentation where a little image like this would make things much clearer, but I didn't bother because starting up Dia or the like would be too much hassle/work.
Re:Diagrammr - create diagrams by writing sentences by krave on Sunday December 13, 2009 @12:09AM (#992439)
Oops, typo. Fixed. I work at Chartbeat and have it on my mind a lot. :)
Re:Diagrammr - create diagrams by writing sentences by omouse on Saturday December 12, 2009 @10:33PM (#992354)
What's this coded in? Is the source available?
Re:Diagrammr - create diagrams by writing sentences by codexon on Saturday December 12, 2009 @10:48PM (#992366)
It looks like it's written in Java.

By my guess, it simply takes the first and last words of each sentence and treats them as nodes while everything inbetween is a directed edge. This is probably then passed into graphviz.

Re:Diagrammr - create diagrams by writing sentences by flashgordon on Sunday December 13, 2009 @12:46AM (#992466)
actually thats what i found too... i typed in "how are who and what related?" and what you mentioned was exactly how it got rendered :D
Re:Diagrammr - create diagrams by writing sentences by omouse on Sunday December 13, 2009 @01:24AM (#992491)
Hmm, sounds naive. Maybe there should be a list of keywords that specifically create connectors...
Re:Diagrammr - create diagrams by writing sentences by ThinkWriteMute on Sunday December 13, 2009 @01:44AM (#992502)
Use <->, <-, ->, and --.

Example:

Fear -> Dark Side Fear -> Hate -> Suffering -- Dark Side

OR

Fear -> Dark Side Fear -> Hate Hate -> Suffering Suffering -- Dark Side

Re:Diagrammr - create diagrams by writing sentences by jordyhoyt on Sunday December 13, 2009 @01:49AM (#992505)
You can also specify a phrase as a node by putting it in quotes
Re:Diagrammr - create diagrams by writing sentences by krave on Sunday December 13, 2009 @12:09AM (#992438)
Yup, it's Java, partially on App Engine, and calling out to Dot. Still deciding whether to OS it...
Re:Diagrammr - create diagrams by writing sentences by araneae on Sunday December 13, 2009 @12:25AM (#992452)
Please do ^-^
Re:Diagrammr - create diagrams by writing sentences by waldrews on Sunday December 13, 2009 @02:06PM (#992983)
Sorry, what's Dot? Can't exactly google it :).
Re:Diagrammr - create diagrams by writing sentences by RiderOfGiraffes on Sunday December 13, 2009 @02:08PM (#992985)
Part of the GraphViz package.
Re:Diagrammr - create diagrams by writing sentences by socratees on Saturday December 12, 2009 @11:04PM (#992379)
They might be using mscgen http://www.mcternan.me.uk/mscgen/ but I'm not sure.
Re:Diagrammr - create diagrams by writing sentences by anthonyb on Sunday December 13, 2009 @08:09AM (#992712)
http://www.yuml.me/ is pretty good too, and the charts that it generates are much better than the graphviz-style ones (IMHO).
Re:Diagrammr - create diagrams by writing sentences by NathanKP on Saturday December 12, 2009 @10:17PM (#992333)
If you want to use a two word node you can surround the two words with quotes. It feels a little slow to respond but other than that it seems to work nicely.
Re:Diagrammr - create diagrams by writing sentences by mawhidby on Sunday December 13, 2009 @12:30AM (#992458)
Thanks for pointing that out. That was my only complaint - perhaps the author should put that on the page where you create your diagrams rather than on the "About" page.

Otherwise it's a neat little app. Love the "How I Met Your Mother" reference on the example diagram. Great show.

Re:Diagrammr - create diagrams by writing sentences by SingAlong on Saturday December 12, 2009 @10:24PM (#992341)
ah yes! I figured that out by just trying it out :)

But I wanted to have nothing next to those arrows. Just the boxes. so i tried just 2 words and it doesn't work. Seems like there has to be some word to refer to those arrows

Re:Diagrammr - create diagrams by writing sentences by NathanKP on Saturday December 12, 2009 @10:38PM (#992356)
Yeah that is a downside. I don't usually like words next to the arrows either.
Re:Diagrammr - create diagrams by writing sentences by swirlee on Saturday December 12, 2009 @10:41PM (#992358)
It will take an empty set of quotes for that, e.g. 'chicken "" egg'.
Re:Diagrammr - create diagrams by writing sentences by mcav on Saturday December 12, 2009 @10:52PM (#992370)
Or two spaces -- Obj1 space space Obj2
Re:Diagrammr - create diagrams by writing sentences by DenisM on Saturday December 12, 2009 @10:26PM (#992344)
Fascinating stuff. Although I can't come up with any uses right now, I'm sure it will come in handy. Are you using Graphviz?

This reminds of a time when I used a perl script to extract includes from my Objective-C app and then used Graphviz to visualize dependency graph in my app. I was going to make an XCode plugin out of it, but then gave up on the idea. Still, Graphviz rocks for this sort of stuff.

Re:Diagrammr - create diagrams by writing sentences by gvb on Sunday December 13, 2009 @08:01AM (#992707)
Doxygen http://www.stack.nl/~dimitri/doxygen/features.html supports Objective-C and many more languages. It generates lots of good information without its special tags, and even more with tags.

Doxygen can use Graphvis to generate dependency graphs. http://www.stack.nl/~dimitri/doxygen/diagrams.html You can also embed graphvis documentation (e.g. sequence diagrams) in the comments. Good stuff.

Re:Diagrammr - create diagrams by writing sentences by DenisM on Sunday December 13, 2009 @01:05PM (#992937)
Yes, I was planning to play with doxygen instead of the perl script next time I get a free few hours. :-)

What I would really like to achieve is replace the file list in XCode with a dependency graph so that I can start thinking in terms of components - "where do I add this code next? where does it belong in my dependency diagram?"

Re:Diagrammr - create diagrams by writing sentences by chanux on Sunday December 13, 2009 @02:56AM (#992538)
I kept a sqworl of few diagramming tools http://sqworl.com/97021w
Re:Diagrammr - create diagrams by writing sentences by Arun2009 on Sunday December 13, 2009 @11:16AM (#992817)
It's a neat idea, but a bit more awareness about grammar would have been nice. I tried, "Mathematics requires hard work" and it gave me, "Mathematics --(requires hard)-> work".

Edit: Ah, I see that items can be grouped together using quotes.

Re:Diagrammr - create diagrams by writing sentences by alttab on Sunday December 13, 2009 @01:59PM (#992973)
Neat idea. Imagine if we could use this to create more descriptive models and frameworks.

Projecting forward, you could model business processes or government simply by consuming and interpreting contracts, tax code, or law.

Re:Diagrammr - create diagrams by writing sentences by moss on Sunday December 13, 2009 @11:48AM (#992856)
Re:Diagrammr - create diagrams by writing sentences by sage_joch on Saturday December 12, 2009 @11:35PM (#992412)
My one complaint is that the the "embed image" link includes the key to let anyone edit it.
Re:Diagrammr - create diagrams by writing sentences by krave on Sunday December 13, 2009 @12:09AM (#992437)
If you sign in on the front page, you can control access to the diagram better.
Re:Diagrammr - create diagrams by writing sentences by joseakle on Sunday December 13, 2009 @01:24AM (#992490)
i tried including accents but they were shown in a weird way, take a look http://www.diagrammr.com/edit?key=dJdweCWOpEC
Re:Diagrammr - create diagrams by writing sentences by winter_blue on Sunday December 13, 2009 @05:36AM (#992634)
Awesome! If only creating UML diagrams was this easy...
Re:Diagrammr - create diagrams by writing sentences by dhimes on Sunday December 13, 2009 @09:04AM (#992736)
this is pretty easy: http://www.umlet.com/
Re:Diagrammr - create diagrams by writing sentences by akkartik on Sunday December 13, 2009 @03:10AM (#992549)
Re:Diagrammr - create diagrams by writing sentences by blehn on Sunday December 13, 2009 @03:20AM (#992561)
given hacker news lacks a search feature, I don't think it's appropriate to point out dupes (unless it's some sort of breaking news that is already appearing in the top/new pages)

and searching google for "site:news.ycombinator.com 'diagrammr'" is not a reasonable expectation for users.

Re:Diagrammr - create diagrams by writing sentences by shrikant on Sunday December 13, 2009 @04:41AM (#992606)
Re:Diagrammr - create diagrams by writing sentences by akkartik on Sunday December 13, 2009 @02:50PM (#993025)
I didn't mean it as criticism. It was three months ago, so it'd be fine to repost even if there was search. I just wanted to cite earlier discussion.
Re:Diagrammr - create diagrams by writing sentences by jauco on Sunday December 13, 2009 @03:33AM (#992568)
I think that's a perfectly reasonable expectation for hacker news users
Re:Diagrammr - create diagrams by writing sentences by SlyShy on Saturday December 12, 2009 @10:14PM (#992326)
Sorry, I can't get over the incredible irony of a web application about English grammar not being spelled correctly. Someone has a good sense of humor.
Re:Diagrammr - create diagrams by writing sentences by miles on Saturday December 12, 2009 @10:30PM (#992348)
The misspelling does make finding info about it much easier in search engines.
Re:Diagrammr - create diagrams by writing sentences by pbhjpbhj on Saturday December 12, 2009 @11:22PM (#992392)