What are some good programs or web-based applications that can be used (preferrably (but not necessarily) for free) to create diagrams for computer science articles or dissertations?
Particularly, I'm looking to represent data structures such as stacks, linked lists, trees, etc..
Any ideas?