some basic graph libraries