![]() | mxGraphModel Class |
Namespace: imbSCI.Graph.MXGraph.model
[XmlRootAttribute("mxGraphModel")] public class mxGraphModel : mxIGraphModel
The mxGraphModel type exposes the following members.
Name | Description | |
---|---|---|
![]() | mxGraphModel |
Constructs a new empty graph model.
|
![]() | mxGraphModel(Object) |
Constructs a new graph model. If no root is specified
then a new root mxCell with a default layer is created.
|
Name | Description | |
---|---|---|
![]() | IsCreateIds |
Sets or returns if the model automatically creates Ids and resolves Id
collisions.
|
![]() | IsMaintainEdgeParent |
Sets of returns if edges should automatically be moved into the
nearest common ancestor of their terminals.
|
![]() | Root |
Name | Description | |
---|---|---|
![]() | Add | |
![]() | BeginUpdate |
see com.mxgraph.mxIGraphModel.BeginUpdate()
|
![]() | Clear |
Sets a new root using createRoot.
|
![]() | CloneCells | |
![]() | Contains | |
![]() | CreateId |
Creates a new Id for the given cell and increments the global counter
for creating new Ids.
|
![]() | CreateRoot |
Creates a new root cell with a default layer (child 0).
|
![]() | EndUpdate |
see com.mxgraph.mxIGraphModel.EndUpdate()
|
![]() | GetCell | |
![]() | GetChildAt | |
![]() ![]() | getChildCells |
Returns the children of the given cell that are vertices and/or edges
depending on the arguments.
|
![]() | GetChildCount | |
![]() ![]() | getChildEdges |
Returns the child edges of the given parent.
|
![]() ![]() | getChildVertices |
Returns the child vertices of the given parent.
|
![]() ![]() | GetConnections |
Returns all edges connected to this cell without loops.
|
![]() ![]() | GetDirectedEdgeCount(mxIGraphModel, Object, Boolean) |
Returns the number of incoming or outgoing edges.
|
![]() ![]() | GetDirectedEdgeCount(mxIGraphModel, Object, Boolean, Object) |
Returns the number of incoming or outgoing edges, ignoring the given
edge.
|
![]() | GetEdgeAt |
see com.mxgraph.mxIGraphModel.GetEdgeAt(Object, int)
|
![]() | GetEdgeCount |
see com.mxgraph.mxIGraphModel.GetEdgeCount(Object)
|
![]() ![]() | GetEdges(mxIGraphModel, Object) |
Returns all edges connected to this cell including loops.
|
![]() ![]() | GetEdges(mxIGraphModel, Object, Boolean, Boolean, Boolean) |
Returns all distinct edges connected to this cell. If at least one of
incoming or outgoing is true, then loops are ignored, otherwise if both
are false, then all edges connected to the given cell are returned
including loops.
|
![]() ![]() | GetEdgesBetween(mxIGraphModel, Object, Object) |
Returns all edges between the given source and target mxCells. If the
optional boolean directed argument is false, then a matching edge is
returned regardless of its direction.
|
![]() ![]() | GetEdgesBetween(mxIGraphModel, Object, Object, Boolean) |
Returns all edges between the given source and target mxCells. If the
optional boolean directed argument is false, then a matching edge is
returned regardless of its direction.
|
![]() | GetGeometry |
see com.mxgraph.mxIGraphModel.GetGeometry(Object)
|
![]() ![]() | GetIncomingEdges |
Returns the incoming edges of the given cell without loops.
|
![]() | GetNearestCommonAncestor |
Returns the nearest common ancestor for the specified cells.
|
![]() ![]() | GetOpposites |
Returns all opposite vertices wrt terminal for the given edges, only$
returning sources and/or targets as specified. The result is returned as
an array of mxCells.
|
![]() | GetOrigin |
Returns the absolute, cummulated origin for the children inside the
given parent.
|
![]() ![]() | GetOutgoingEdges |
Returns the outgoing edges of the given cell without loops.
|
![]() | GetParent | |
![]() | GetStyle |
see com.mxgraph.mxIGraphModel.GetStyle(Object)
|
![]() | GetTerminal | |
![]() | GetValue |
see com.mxgraph.mxIGraphModel.GetValue(Object)
|
![]() | IsAncestor | |
![]() | IsCollapsed |
see com.mxgraph.mxIGraphModel.IsCollapsed(Object)
|
![]() | IsConnectable |
see com.mxgraph.mxIGraphModel.IsConnectable(Object)
|
![]() | IsEdge |
see com.mxgraph.mxIGraphModel.IsEdge(Object)
|
![]() | IsVertex |
see com.mxgraph.mxIGraphModel.IsVertex(Object)
|
![]() | IsVisible |
see com.mxgraph.mxIGraphModel.IsVisible(Object)
|
![]() | MergeChildren |
Merges the children of the given cell into the given target cell inside
this model. All cells are cloned unless there is a corresponding cell in
the model with the same id, in which case the source cell is ignored and
all edges are connected to the corresponding cell in this model. Edges
are considered to have no identity and are always cloned unless the
cloneAllEdges flag is set to false, in which case edges with the same
id in the target model are reconnected to reflect the terminals of the
source edges.
|
![]() | Remove |
see com.mxgraph.mxIGraphModel.Remove(Object)
|
![]() | SetCollapsed |
see com.mxgraph.mxIGraphModel.SetCollapsed(Object, bool)
|
![]() | SetGeometry |
see com.mxgraph.mxIGraphModel.SetGeometry(Object, mxGeometry)
|
![]() | SetStyle |
see com.mxgraph.mxIGraphModel.SetStyle(Object, string)
|
![]() | SetTerminal | |
![]() ![]() | SetTerminals |
Sets the source and target of the given edge in a single atomic change.
|
![]() | SetValue |
see com.mxgraph.mxIGraphModel.SetValue(Object, Object)
|
![]() | SetVisible |
see com.mxgraph.mxIGraphModel.SetVisible(Object, bool)
|
![]() | UpdateEdgeParent |
Inner helper method to update the parent of the specified edge to the
nearest-common-ancestor of its two terminals.
|
![]() | UpdateEdgeParents(Object) |
Updates the parents of the edges connected to the given cell and all its
descendants so that each edge is contained in the nearest common ancestor.
|
![]() | UpdateEdgeParents(Object, Object) |
Updates the parents of the edges connected to the given cell and all its
descendants so that the edge is contained in the nearest-common-ancestor.
|
Name | Description | |
---|---|---|
![]() | GraphModelChange |
Fires when the graph model has changed.
|
Name | Description | |
---|---|---|
![]() | BuildDataShema |
Builds the data table.
(Defined by PropertyDataStructureTools.) |
![]() | buildDataTable(String, DataTableBuildersbuildDataTableOptions, PropertyCollectionExtended, String, ILogBuilder) | Overloaded.
2017:: Builds horizontal data table with columns mapping properties of the type.
(Defined by DataTableBuilders.) |
![]() | buildDataTable(String, Boolean, Boolean, Boolean, PropertyCollectionExtended, String) | Overloaded.
Builds the horizontal data table
(Defined by DataTableBuilders.) |
![]() | buildDataTableVerticalSummaryTable |
Builds the vertical table with all data
(Defined by DataTableBuilders.) |
![]() | buildPCE | (Defined by imbPropertyCollectionExtensions.) |
![]() | buildPropertyCollectionT |
Create or update property collection out of object properties
(Defined by imbPropertyCollectionExtensions.) |
![]() | changeValueAsInt32 |
Changes the value as int32.
(Defined by imbValueChangers.) |
![]() | changeValueDouble |
Step je 0.01
(Defined by imbValueChangers.) |
![]() | ConstructTableWithRandomContent |
Constructs the data table and populates with random content of the table with.
(Defined by imbDataTableExtensions.) |
![]() | getDataTypeSafe |
V3.5> Experimentalna funkcija - na osnovu tipa vrsi konverziju
(Defined by imbStringCommonTools.) |
![]() | GetDefaultValueT |
Vraca tipiziranu podrazumevanu vrednost
(Defined by imbTypologyHelpers.) |
![]() | getDescriptionForDictionary |
Gets the description for dictionary, property table etc
(Defined by settingsEntriesInfoModelApi.) |
![]() | getDictionaryFromMappedSource |
Vraca recnik sa vrednostima iz objekta.
(Defined by propertyMappingTools.) |
![]() | getEnumMemberPath |
Vraca enum member path koji moze da se koristi za preuzimanje enumeracije i njenog tipa
(Defined by imbEnumExtendBase.) |
![]() | GetExpressionResolved |
Resolves the specified expresion path, having host as starting node
(Defined by PropertyExpressionTools.) |
![]() | getPathForObject |
2014c: Univerzalni konstruktor putanje
(Defined by resourcePathGenerator.) |
![]() | getPathForObjectAndParent |
Univerzalni konstruktor putanje za bilo koji tip i parent
(Defined by resourcePathGenerator.) |
![]() | getProperty |
Retrieves PropertyInfo found on path specified
(Defined by imbTypeQueryExtensions.) |
![]() | getSPEC | (Defined by imbTypeQueryExtensions.) |
![]() | getStringValue |
2013a> bezbedno vraca string verziju prosledjene vrednosti - Kreira stringValue
(Defined by imbDataExecutor.) |
![]() | GetUserManual |
Generates property manual
(Defined by settingsEntriesTools.) |
![]() | GetUserManualSaved |
Gets the user manual saved:
(Defined by settingsEntriesTools.) |
![]() | getValuesFromMappedSource | (Defined by propertyMappingTools.) |
![]() | imbAttributeToProperties |
Prebacuje vrednost iz atributa u propertije - u skladu sa podesenim mapiranjem (imbAttributeName.metaValueFromAttribute)
(Defined by imbAttributeTools.) |
![]() | imbConvertValueSafe |
2014c> bezbedna konverzija vrednosti
(Defined by imbTypeExtensions.) |
![]() | imbConvertValueSafeTypedT | (Defined by imbTypeExtensions.) |
![]() | imbGetAllProperties |
Vraca sve propertije iz objekta koji su Public i Instance. Vraca i nasledjene propertije ali ako su pregazeni onda vraca samo najnoviji
(Defined by imbTypologyPropertyGetSet.) |
![]() | imbGetAllValues |
Vraca sve vrednosti iz svih propertija koji su Public i Instance
(Defined by imbTypologyPropertyGetSet.) |
![]() | imbGetCodeMark | (Defined by imbStringExtensions.) |
![]() | imbGetPropertySafe(String, Object, String) | Overloaded.
2013> Sigurno preuzimanje vrednosti objekta - podržava path:
(Defined by imbTypologyPropertyGetSet.) |
![]() | imbGetPropertySafe(PropertyInfo, Object, Boolean, Object) | Overloaded.
2013> Sigurno preuzimanje vrednosti objekta - podržava path:
(Defined by imbTypologyPropertyGetSet.) |
![]() | imbGetPropertySafe(PropertyInfo, Object, Boolean, Object, Boolean) | Overloaded. (Defined by imbTypologyPropertyGetSet.) |
![]() | imbGetPropertySafeT(PropertyInfo) | Overloaded.
2014:Maj - uzima property i odmah vrsi bezbednu konverziju!
(Defined by imbTypologyPropertyGetSet.) |
![]() | imbPropertyToString |
Sigurno iscitavanje stringa
(Defined by imbTypologyPropertyGetSet.) |
![]() | imbSetPropertyConvertSafe |
Algoritam sa konverzijom koja podrzava i Collection objekta koji imaju Add method.
(Defined by imbTypologyPropertyGetSet.) |
![]() | imbSetPropertySafe(String, Object, Boolean, Object, Boolean) | Overloaded.
2013> Sigurano postavljanje vrednosti objekta
(Defined by imbTypologyPropertyGetSet.) |
![]() | imbSetPropertySafe(PropertyInfo, Object, Boolean, Object, Boolean) | Overloaded.
2013> Sigurano postavljanje vrednosti objekta
(Defined by imbTypologyPropertyGetSet.) |
![]() | imbToBoolean |
Konvertuje bilo koju vrednost u Boolean
(Defined by imbTypeExtensions.) |
![]() | imbToEnumeration(Type, Enum) | Overloaded.
Convers an value to the best fit Enumeration member
(Defined by imbTypeEnumExtensions.) |
![]() | imbToEnumerationT | Overloaded. (Defined by imbTypeEnumExtensions.) |
![]() | imbToInstance |
Konvertuje u potrebni tip. Ukoliko postoji konstruktor sa parametrom koji je IsInstanceOfType(input) onda ce koristit njega
(Defined by imbTypeExtensions.) |
![]() | imbToNumber(Type) | Overloaded.
Konvertuje u broj prema zadatom tipu
(Defined by imbTypeExtensions.) |
![]() | imbToNumberT(Type) | Overloaded. (Defined by imbTypeExtensions.) |
![]() | isCoreColumn | (Defined by PropertyEntryColumnExtensions.) |
![]() | isNullOrEmpty | (Defined by imbSciStringExtensions.) |
![]() | isNullOrEmptyString |
Proverava da li je input null, ako je string onda ga proverava kao string ako je neki drugi objekat onda ga predvara u string pa proverava
(Defined by imbSciStringExtensions.) |
![]() | keyToString | (Defined by imbPropertyCollectionExtensions.) |
![]() | renderToTemplate |
Vraca string koji definise placeholder u template stringu
(Defined by stringTemplateTools.) |
![]() | resolvePath(String, pathResolveFlag) | Overloaded.
Najčešće korišćen metod za upit nad putanjom i objektom
(Defined by resourcePathResolver.) |
![]() | resolvePathT(String, pathResolveFlag) | Overloaded. (Defined by resourcePathResolver.) |
![]() | saveObjectToXML | (Defined by objectSerialization.) |
![]() | setObjectByMappedSource |
Primenjuje prosledjenu property mapu
(Defined by propertyMappingTools.) |
![]() | setObjectBySource |
Sets the object by source.
(Defined by imbTypeObjectOperations.) |
![]() | setObjectValueTypesBySource |
Sets the object by source, but only ValueTypes and string and only properties declared at top inherence level. Returns dictionary with updated properties (only if value changed)
(Defined by imbTypeObjectOperations.) |
![]() | setValuesToMappedTarget |
Postavlja vednosti iz recnika u dati ciljani objekat - da bi bilo kompatibilno niz mora biti u istom rasporedu kao i u property mapu
(Defined by propertyMappingTools.) |
![]() | sumValues |
Supports> String, Int32, any number via Double and Boolean
(Defined by imbTypeExtensions.) |
![]() | toExpressionString |
Returns expression-ready string, wrapped in proper quotes if required
(Defined by imbStringFormats.) |
![]() | toStringSafe | Overloaded. (Defined by imbStringFormats.) |
![]() | toStringSafe(String) | Overloaded. (Defined by imbStringFormats.) |
![]() | toStringSafe(String, String) | Overloaded.
Bezbedna konverzija u String -- ako je null onda valueForNull
(Defined by imbStringFormats.) |