MaterialXLab API
0.0.1
APIs For MaterialXLab Libraries
|
Go to the source code of this file.
Classes | |
class | MxGraphBuilder |
Class which will build node graph connectivity information from a MaterialX document. More... | |
class | MxMermaidGraphExporter |
Class which will export a graph to Mermaid format. More... | |
class | MxDefinitionCreator |
Class which will create a MaterialX definition from a node graph. More... | |
Functions | |
function | createMermaidGraphFromDocument (doc, opts) |
Create a Mermaid graph from a MaterialX document. | |
function | createMaterialXDefinitionFromNodeGraph (doc, nodeGraphName, options=null) |
Utility to create a MaterialX definition from a node graph. | |
function createMaterialXDefinitionFromNodeGraph | ( | doc, | |
nodeGraphName, | |||
options = null ) |
Utility to create a MaterialX definition from a node graph.
{doc | MaterialX document |
nodeGraphName | Name of the node graph |
options | Options for the definition creation. Default value is null. |
Definition at line 931 of file JsMaterialXGraph.js.
function createMermaidGraphFromDocument | ( | doc, | |
opts ) |
Create a Mermaid graph from a MaterialX document.
{doc | MaterialX document |
opts | Write options. This includes:
|
Definition at line 674 of file JsMaterialXGraph.js.