Copyright (C) Kevin Larke 2009-2020

This file is part of libcm.

libcm is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

libcm is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

See the GNU General Public License distributed with the libcm package or look here: .


cmDspPgmJsonToDot : Convert a JSON graph description to a DOT vector graphics file.

enum
{
  kOkDotRC = cmOkRC,
  kJsonFailDotRC,
  kJsonSyntaxErrDotRC,
  kInvalidArgDotRC,
  kLHeapFailDotRC,
  kFileFailDotRC
};

typedef unsigned cmDotRC_t;

cmDotRC_t cmDspPgmJsonToDot( cmCtx_t* ctx, const cmChar_t* inFn, const cmChar_t* outFn );