usable graph generation from php.