• <xmp id="om0om">
  • <table id="om0om"><noscript id="om0om"></noscript></table>
  • Compute Graph Framework SDK Reference  5.6
    All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
    JSON Descriptor

    A JSON Descriptor is a JSON file containing information describing a specific entity, e.g. a node, a graphlet, or (part of) an application.

    For each entity type a JSON schema <type>.schema.json describes the data format. The schema provides a human readable documentation about each key as well enables validating that JSON files adhere to the schema.

    JSON schemas can only express a subset of constraints for the data in a JSON file and are also limited to validate a single file. Therefore a custom validation script perform additional constraint checking as well as checking cross-file constraints.

    Graphlets and applications are exclusively described in JSON and can be visualized and edited using a graphical UI.

    Node Descriptor

    The information in a node descriptor can be extracted from the C++ API of an implemented node using the command line tool nodedescriptor. Since the JSON information is derived in this case, the graphical tool doesn't offer editing the node information.

    If no implementation of a node exists yet, it can be designed from scratch in the graphical UI. This enables designing nodes, graphlets, and entire applications to e.g. analyze the scheduling without having to implement any code. The command line tool nodestub can generate C++ stub headers and sources from a node descriptor file to speed up the start of the implementation.

    人人超碰97caoporen国产