GraphToMarker¶
-
MLModule¶ author MeVis Medical Solutions AGpackage MeVisLab/Standarddll MLGraphEditingdefinition MLGraphEditing.def
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.
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¶
Branch Nodes: Bool |
Cyclic Edges: Bool |
edges: Bool |
End Nodes: Bool |
nodes: Bool |
Non Cyclic Edges: Bool |
Root Nodes: Bool |
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.