GraphToMarker¶
- MLModule¶
author
package
dll
definition
Purpose¶
The module GraphToMarker extracts the selected types of nodes and/or edges from the attached Graph as an XMarkerList.
Usage¶
Connect a Graph object to the Base input and select the types of nodes and/or edges that should be extracted.
Details¶
The directions of the edges are available in the vec component of the XMarker.
Windows¶
Default Panel¶
Input Fields¶
inGraph¶
- name: inGraph, type: Graph(MLBase)¶
An MLGraph object (derived from MLBase).
For accessing this object via scripting, see the Scripting Reference:
MLGraphWrapper.
Output Fields¶
outputMarkerList¶
- name: outputMarkerList, type: XMarkerList(MLBase)¶
An XMarkerList containing the extracted nodes and/or edges.
For accessing this object via scripting, see the Scripting Reference:
MLXMarkerListWrapper.
Parameter Fields¶
Field Index¶
|
|
|
|
|
|
|
Visible Fields¶
Root Nodes¶
- name: rootNodes, type: Bool, default: FALSE¶
If checked, nodes that do not have any incoming non-cyclic edges are added to the XMarkerList.
Branch Nodes¶
- name: branchNodes, type: Bool, default: FALSE¶
If checked, nodes that are neither root nodes nor end nodes are added to the XMarkerList.
End Nodes¶
- name: endNodes, type: Bool, default: FALSE¶
If checked, nodes that do not have any outgoing edges are added to the XMarkerList.
Non Cyclic Edges¶
- name: nonCyclicEdges, type: Bool, default: FALSE¶
If checked, edges that are not marked as cyclic are added to the XMarkerList.
Cyclic Edges¶
- name: cyclicEdges, type: Bool, default: FALSE¶
If checked, edges that are marked as cyclic are added to the XMarkerList.