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.

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.


scale 600 width
@startuml
Class ShareableBase
Interface Selectable {
toSelection()
}
Interface RegistryContext {
getRegistry()
}
Interface GraphObject {
getGraph()
getRootNode()
cloneGraph()
reload()
}
Class GraphObjectImpl{
GraphManager gm
}
Class GraphObjectRef {
GraphObjectImpl resolve()
}

Class SecGraphInitialProducer

Interface SecGraph {
toInstance()
getInitalProducer()
setCurrent()
releaseCurrent()
clear()
}
Class SecGraphImpl {
GraphManager gm
show()
show2d()
}
Class SecGraphRef {
SecGraphImpl resolve()
}

RegistryContext <|-- GraphObject
GraphObject <|-- SecGraph

GraphObject <|..GraphObjectImpl
ShareableBase <|-- GraphObjectImpl

GraphObject <|..GraphObjectRef
ItemReference <|-- GraphObjectRef

GraphObjectImpl --o GraphObjectRef

SecGraph <|.. SecGraphImpl
ShareableBase <|-- SecGraphImpl

SecGraph <|.. SecGraphRef
ItemReference <|-- SecGraphRef

SecGraphImpl --o SecGraphRef
SecGraphImpl <|.. Selectable

SecGraphInitialProducer --* SecGraphImpl


@enduml

groimp-platform/graphexplorerstructure.1730980917.txt.gz · Last modified: 2024/11/07 13:01 by tim