- All Superinterfaces:
Graph,GraphContext,GraphManagerContext,RegistryContext,Selectable,WrappedGraph
- All Known Subinterfaces:
IntegratableWrappedGraphObj,InterpretableWrappedGraphObj,ProducableWrappedGraphObj,TWGraph
- All Known Implementing Classes:
GraphObject,NonEsoSecGraph,NonEsoThreadedSecGraph,NonEsoWrappedGraph,RewritableWrappedGraph,SecGraph,SharedWrappedGraph,ThreadedSecGraph
-
Method Summary
Modifier and TypeMethodDescriptiondefault DisposableIteratorapply(int count) default voidclear()Remove all edges from all roots in the DataGraph in an locked executiondefault XHashMapcloneAllNodes(EdgePattern edges, boolean cloneFields) Clone all Nodes into a hashMap: identical to cloneGraph in Nodedefault NodeReturn the root of a clone of the content of the DataGraph.default voidderive()Derive the queryGraph to apply its rulesstatic voidderiveQGraphList(Graph caller) static voiddefault StringFind the registry directory for the commands shown by the WrappedGraphSelectiondefault GraphManagergetGraph()default NodeReturn the root not of the DataGraphdefault voidsetRootNode(Node n) Push the Node n to be the root "MAIN_GRAPH" in the DataGraphdefault Instance3DtoInstance(boolean transfrom) default SelectiontoSelection(Context ctx) Create an instance of the WrappedGraphSelectiondefault voidview2d()default voidview3d()Open the 3d graph view of the GraphDescriptor of the WrappedGraph.Methods inherited from interface de.grogra.pf.registry.RegistryContext
getRegistryMethods inherited from interface de.grogra.graph.wrapped.WrappedGraph
canEnumerateEdges, canEnumerateNodes, createMatcher, createProducer, createQueryState, enumerateEdges, enumerateNodes, getDataGraph, getModel, getName, getQueryGraph, getRoot, reload, setDerivationMode
-
Method Details
-
getCommandDir
Find the registry directory for the commands shown by the WrappedGraphSelection- Returns:
- registry path
-
getGraph
- Specified by:
getGraphin interfaceGraphContext- Specified by:
getGraphin interfaceGraphManagerContext
-
toInstance
- Specified by:
toInstancein interfaceWrappedGraph
-
view2d
default void view2d()- Specified by:
view2din interfaceWrappedGraph
-
getRootNode
Return the root not of the DataGraph- Specified by:
getRootNodein interfaceWrappedGraph
-
setRootNode
Push the Node n to be the root "MAIN_GRAPH" in the DataGraph- Specified by:
setRootNodein interfaceWrappedGraph
-
derive
default void derive()Derive the queryGraph to apply its rules- Specified by:
derivein interfaceWrappedGraph
-
cloneGraph
Return the root of a clone of the content of the DataGraph.- Specified by:
cloneGraphin interfaceWrappedGraph- Throws:
CloneNotSupportedException
-
cloneAllNodes
default XHashMap cloneAllNodes(EdgePattern edges, boolean cloneFields) throws CloneNotSupportedException Clone all Nodes into a hashMap: identical to cloneGraph in Node- Parameters:
edges-cloneFields-- Returns:
- Throws:
CloneNotSupportedException
-
apply
- Specified by:
applyin interfaceWrappedGraph
-
emptyQGraphList
static void emptyQGraphList() -
deriveQGraphList
-
clear
default void clear()Remove all edges from all roots in the DataGraph in an locked execution- Specified by:
clearin interfaceWrappedGraph
-
toSelection
Create an instance of the WrappedGraphSelection- Specified by:
toSelectionin interfaceSelectable- Parameters:
ctx- the UI context- Returns:
- a selection, or
nullif this is not possible
-
view3d
default void view3d()Open the 3d graph view of the GraphDescriptor of the WrappedGraph. This is called from the command in WGUtils- Specified by:
view3din interfaceWrappedGraph
-