func (a *API) DeleteGraph(cfg *Graph) (bool, error) {
	if cfg == nil {
		return false, fmt.Errorf("Invalid graph config [nil]")
	}
	return a.DeleteGraphByCID(CIDType(&cfg.CID))
}
func (a *API) DeleteGraph(cfg *Graph) (bool, error) {
	if cfg == nil {
		return false, fmt.Errorf("Invalid graph config [nil]")
	}
	return a.DeleteGraphByCID(CIDType(&cfg.CID))
}
func ( a * API ) DeleteGraph ( cfg * Graph ) ( bool , error ) { if cfg == nil { return false , fmt . Errorf ( " " ) } return a . DeleteGraphByCID ( CIDType ( & cfg . CID ) ) }
// DeleteGraph deletes passed graph.
DeleteGraph deletes passed graph .