simple graph and tree visualization