News for hackers. Stuff that matters.
Re:Create and share diagrams by writing sentences by keyist on Thursday August 27, 2009 @11:00AM (#789310)
May be fun to play with, but rather limited, as tools based on natural language tend to be.

For more flexible diagram work try the Artist-mode/ditaa combination (http://www.emacswiki.org/cgi-bin/wiki/ArtistMode, http://ditaa.sourceforge.net)

Or course once you get really serious you'd use Graphviz http://www.graphviz.org

Diagrams in text = version controlled = win!

Re:Create and share diagrams by writing sentences by bockris on Thursday August 27, 2009 @11:44AM (#789392)
It's just a guess but I'll bet it's using Graphviz under the covers. I wrote something similar to create ERD's on the fly from a schema.
Re:Create and share diagrams by writing sentences by almost on Thursday August 27, 2009 @11:10AM (#789335)
artist-mode to create maybe, but then how do you edit? Concepts such as "make this box bigger" or even "move this box over here" get kind of difficult when it's all just pixels or all just ascii chars.

Graphviz is pretty cool though. But saying that I tend to have to spend too much time tweaking it just so that all the labels don't overlap.

Re:Create and share diagrams by writing sentences by sh1mmer on Thursday August 27, 2009 @04:22PM (#789954)
You should note the security model here sucks. You embed your diagram with the same unique Id that is used to edit it. However, editing isn't authenticated. So anyone who can see your diagram can figure out the edit page and alter it.
Re:Create and share diagrams by writing sentences by ShabbyDoo on Thursday August 27, 2009 @10:03AM (#789184)
Re:Create and share diagrams by writing sentences by karanbhangui on Thursday August 27, 2009 @10:55PM (#790640)
I'm currently using this tool for a web application setup. It's use is invaluable.
Re:Create and share diagrams by writing sentences by binarycheese on Thursday August 27, 2009 @10:45AM (#789286)
you beat me to it
Re:Create and share diagrams by writing sentences by d4nt on Thursday August 27, 2009 @09:30AM (#789142)
That is quite cool, but I found I had to give a bit too much though to plural/singular in order to get a diagram that made sense. If it could understand that "templates" and "template" are the same thing it would make a big impact on usability.
Re:Create and share diagrams by writing sentences by bockris on Thursday August 27, 2009 @09:57AM (#789176)
The exact same thing happened to me. I wish that you could edit a sentence rather than delete and re-add it with corrections.
Re:Create and share diagrams by writing sentences by phr on Thursday August 27, 2009 @12:17PM (#789453)
Very cool. Here's one for Jane Austen's Pride and Prejudice:

http://diagrammr.com/edit?key=dvvAjKyVhCs

Re:Create and share diagrams by writing sentences by JayNeely on Thursday August 27, 2009 @03:58PM (#789909)
It maxed out at 18 sentences for me, but I didn't notice it was just overwriting the last one until after I had typed another 25 or so. D'oh.

Was using it to map out and notate the people I'm following on twitter: http://diagrammr.com/edit?key=dXUsqPIKKKP

Re:Create and share diagrams by writing sentences by ivankirigin on Thursday August 27, 2009 @12:18PM (#789457)
I think I just won the game: http://diagrammr.com/png?key=dVDri1xYrbp
Re:Create and share diagrams by writing sentences by ssn on Thursday August 27, 2009 @11:32AM (#789375)
Also worth seeing: http://yuml.me
Re:Create and share diagrams by writing sentences by bsaunder on Thursday August 27, 2009 @10:23AM (#789235)
Yup, I think the world of visual programming is approaching... I know we've tried and failed before, but all the new people trying again don't know that. sssh

Pretty cool stuff.

Re:Create and share diagrams by writing sentences by tmd on Thursday August 27, 2009 @11:03AM (#789316)
This is actually closer to the reverse of visual programming -- we create diagrams by providing their textual representation. I really like the idea. Every time I need to deal with some UML or diagram application I have an impression that generating diagrams from skeleton source code would be easier than the other way round. Tools like the built-in Visual Studio modeler, which updates the diagrams in real time, are also a step in good direction.
Re:Create and share diagrams by writing sentences by vaporstun on Friday August 28, 2009 @12:02AM (#790705)
Very cool, one problem I found is that you can't have 2 word objects.

Example: Router connects to Web Server

It uses Router and Server as the objects with "connects to Web" as the connection. Putting the 2 word object (Web Server) in quotes confused it:

Example: Router connects to "Web Server"

It should be possible to have a 2 word object with some kind of escape character to create an object with more than one word without having it think you are supplying it with part of a connection.

Re:Create and share diagrams by writing sentences by udfalkso on Thursday August 27, 2009 @06:48PM (#790312)
While very neat, I'm not sure entering these with text is the easiest approach. As soon as the automation fails to pick the right flow, you're basically stuck. A combination of text input and graphical manipulation might work better.

For a nice graphical approach, I've found http://lucidchart.com to be excellent.

Re:Create and share diagrams by writing sentences by zmimon on Thursday August 27, 2009 @10:54PM (#790636)
Lucidchart is awesome. Google would do well to make an acquisition there - I really feel the pain of not having any diagramming integrated with google docs.
Re:Create and share diagrams by writing sentences by lucidchart on Friday August 28, 2009 @05:21PM (#792312)
I agree. But then, I might be a little biased.

Ben Dilts Founder, LucidChart

Re:Create and share diagrams by writing sentences by fnid on Thursday August 27, 2009 @11:36AM (#789378)
Anyone know of anything like this for data models? I'd love to build something like:

  Customers have a name, address, and phone
  customers have many orders
  orders have many items
  items have a name, description and price
Something like that.
Re:Create and share diagrams by writing sentences by ssn on Thursday August 27, 2009 @01:06PM (#789552)
Maybe http://yuml.me will help you.
Re:Create and share diagrams by writing sentences by fnid on Thursday August 27, 2009 @01:48PM (#789638)
yuml.me is exactly what I'm looking for. Very nice. Thank you.
Re:Create and share diagrams by writing sentences by bockris on Thursday August 27, 2009 @11:47AM (#789396)
If you lock your vocabulary down e.g.

  entity 'have a' comma-sep-attr-list
  entity 'have many' referenced-entity
etc and create dot files for Graphviz this would be very easy.
Re:Create and share diagrams by writing sentences by fnid on Thursday August 27, 2009 @01:49PM (#789642)
That's an excellent program. I downloaded it per your suggestion, but I really wanted a web based version. Thank you though, I will find many uses for this program as well.
Re:Create and share diagrams by writing sentences by wooby on Thursday August 27, 2009 @04:11PM (#789931)
Dot itself is also a command line tool, so it's easy to make documents and presentations with TeX that have text-format diagrams in the dot language. You can also do things like generate call graphs for programs, or parse log files into sequence diagrams by parsing input somehow and generating dot files.
Re:Create and share diagrams by writing sentences by diN0bot on Thursday August 27, 2009 @03:14PM (#789823)
i have a script that reads django models.py files and constructs OmniGraffle object models. hmm...could be neat to go the other way since i usually make the diagrams first...i wrote the script because once the main idea is figured out then i'll make lots of iterative changes in the code and not want to update the diagram so carefully..

i'm still working out the details. but i'll post here as soon as that's all good :-) not sure if anyone else is interested, i guess.

Re:Create and share diagrams by writing sentences by almost on Thursday August 27, 2009 @11:13AM (#789338)
Would be great if you could export as Graphviz dot files (which it looks like it's using behind the scenes). That way it would be useful sketching out the basics but you wouldn't have to throw all that away once you needed more features.
Re:Create and share diagrams by writing sentences by bockris on Thursday August 27, 2009 @11:51AM (#789404)
I tend to generate my dot file from separate data anyway.

To me, this lowers the barrier on getting something out there quickly. I can think of a lot of simple improvements to what is there now.

Re:Create and share diagrams by writing sentences by chanux2 on Thursday August 27, 2009 @11:50AM (#789403)
it's like graphviz (http://www.graphviz.org) with natural language
Re:Create and share diagrams by writing sentences by sho on Thursday August 27, 2009 @04:44PM (#790001)
I think it is obviously graphviz with a smart front end.
Re:Create and share diagrams by writing sentences by fburnaby on Thursday August 27, 2009 @01:42PM (#789626)
"I ate a popsicle, which was melting into a pot of cold soda."

It thought I was melting!

Re:Create and share diagrams by writing sentences by tamersalama on Thursday August 27, 2009 @11:35AM (#789377)
Anyone knows how the natural language detection work (especially that fast). Resources?
Re:Create and share diagrams by writing sentences by bockris on Thursday August 27, 2009 @11:38AM (#789383)
It doesn't understand what you are typing. It probably just splits on words and tries to match what it has seen before. I'll bet if you abuse it you can break it.

Edit: It seems to do a split on spaces and then takes the first word and the last word as the nodes and labels the edge with what is in the middle.

http://diagrammr.com/edit?key=dkCDRHJUJA7

Re:Create and share diagrams by writing sentences by bockris on Thursday August 27, 2009 @02:06PM (#789685)
note: The diagrams are not locked in any way so my carefully crafted test is no longer there.

it was something along the lines of

  a b c
  a c d
  d ef g
Re:Create and share diagrams by writing sentences by coliveira on Thursday August 27, 2009 @10:06AM (#789194)
Really cool