Package com.mxgraph.analysis
Class mxGraphProperties
- java.lang.Object
-
- com.mxgraph.analysis.mxGraphProperties
-
public class mxGraphProperties extends java.lang.ObjectConstants for graph structure properties
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classmxGraphProperties.GraphType
-
Field Summary
Fields Modifier and Type Field Description static booleanDEFAULT_DIRECTEDstatic booleanDEFAULT_TRAVERSE_VISIBLEstatic java.lang.StringDIRECTEDWhether or not to take into account the direction on edges.static java.lang.StringTRAVERSE_VISIBLEWhether or not to navigate the graph raw graph structure or the visible structure.
-
Constructor Summary
Constructors Constructor Description mxGraphProperties()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleanisDirected(java.util.Map<java.lang.String,java.lang.Object> properties, boolean defaultValue)static booleanisTraverseVisible(java.util.Map<java.lang.String,java.lang.Object> properties, boolean defaultValue)static voidsetDirected(java.util.Map<java.lang.String,java.lang.Object> properties, boolean isDirected)static voidsetTraverseVisible(java.util.Map<java.lang.String,java.lang.Object> properties, boolean isTraverseVisible)
-
-
-
Field Detail
-
TRAVERSE_VISIBLE
public static java.lang.String TRAVERSE_VISIBLE
Whether or not to navigate the graph raw graph structure or the visible structure. The value associated with this key should evaluate as a string to1or0
-
DEFAULT_TRAVERSE_VISIBLE
public static boolean DEFAULT_TRAVERSE_VISIBLE
-
DIRECTED
public static java.lang.String DIRECTED
Whether or not to take into account the direction on edges. The value associated with this key should evaluate as a string to1or0
-
DEFAULT_DIRECTED
public static boolean DEFAULT_DIRECTED
-
-
Method Detail
-
isTraverseVisible
public static boolean isTraverseVisible(java.util.Map<java.lang.String,java.lang.Object> properties, boolean defaultValue)- Parameters:
properties-defaultValue-- Returns:
-
setTraverseVisible
public static void setTraverseVisible(java.util.Map<java.lang.String,java.lang.Object> properties, boolean isTraverseVisible)- Parameters:
properties-isTraverseVisible-
-
isDirected
public static boolean isDirected(java.util.Map<java.lang.String,java.lang.Object> properties, boolean defaultValue)- Parameters:
properties-- Returns:
-
setDirected
public static void setDirected(java.util.Map<java.lang.String,java.lang.Object> properties, boolean isDirected)- Parameters:
properties-isTraverseVisible-
-
-