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.

Windows

Default Panel

../../../Projects/MLGraphEditing/Modules/mhelp/Images/Screenshots/GraphToMarker._default.png

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.

Non Cyclic Edges

name: nonCyclicEdges, type: Bool, default: FALSE

If selected, edges that are not marked as cyclic are added to the XMarkerList.

Cyclic Edges

name: cyclicEdges, type: Bool, default: FALSE

If selected, edges that are marked as cyclic are added to the XMarkerList.

Hidden Fields

nodes

name: nodes, type: Bool, default: FALSE

If selected, the selected types of nodes are added to the XMarkerList.

edges

name: edges, type: Bool, default: FALSE

If selected, the selected types of edges are added to the XMarkerList.