add graph functionality

Signed-off-by: flaquitobello <thebiochemguy@gmail.com>