GraphToMarker¶
-
MLModule
¶ author MeVis Medical Solutions AG
package MeVisLab/Standard
dll MLGraphEditing
definition MLGraphEditing.def
Purpose¶
The module GraphToMarker
extracts the selected types of nodes and/or edges of the attached Graph as an XMarkerList.
Usage¶
Connect an MLGraph 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 vector parts of the XMarkers.
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 selected, nodes that do not have any incoming non-cyclic edges are added to the XMarkerList.
Branch Nodes¶
-
name:
branchNodes
, type:
Bool
, default:
FALSE
¶ If selected, nodes that are neither root nodes nor end nodes are added to the XMarkerList.
End Nodes¶
-
name:
endNodes
, type:
Bool
, default:
FALSE
¶ If selected, nodes that do not have any outgoing edges are added to the XMarkerList.