User Tools

Site Tools


groimp-platform:graphexplorerstructure

This is an old revision of the document!


Graph Explorer Plugin

Following the basics of the Graph Explorer plugin which holds GraphObjects and SecGraphs, are described.

Objects

GraphObject

The GraphObject has a very similar use case as the Object explorer. Both can be used to link reusable assets to a project. Yet while the object explorer resolves the given file and links the root as a node to the reference and therefore in the registry, the GraphObject references to its own GraphManager. The usage of an own GraphManager results in the fact that the nodes of the additional graph structure are not placed in the same graph as the simulation, which increases the speed of

SecGraph

UI

The plugin creates

Class relationships

The objects follow the structure of references commonly used in GroIMP, therefore the functionalities of are implemented interfaces (SecGraph, GraphObject) which then are implemented each by an implementation that holds the “real” function as a Reference class that can be accessed an used the reslove() function to forward the function calls to the *impl class.

ShareableBaseSelectabletoSelection()RegistryContextgetRegistry()GraphObjectgetGraph()getRootNode()cloneGraph()reload()GraphObjectImplGraphManager gmGraphObjectRefGraphObjectImpl resolve()SecGraphInitialProducerSecGraphtoInstance()getInitalProducer()setCurrent()releaseCurrent()clear()SecGraphImplGraphManager gmshow()show2d()SecGraphRefSecGraphImpl resolve()ItemReference

groimp-platform/graphexplorerstructure.1731059625.txt.gz · Last modified: 2024/11/08 10:53 by tim