index of namespace ui
 
 index of project ui
 
 index of module MGraphForm

Class MGraphForm.ui::GraphForm


Synopsis

  Base classes:
  Functions:
  Methods:
  Constants:

Function CenterPoint
Signature
CenterPoint(Point2fp,
  Size2fs 
  )  
Arguments
Point2fp
Size2fs

 
 top of page
Function CenterPointLayer
Signature
CenterPointLayer(Point2fp,
  Objectl 
  )  
Arguments
Point2fp
Objectl

 
 top of page
Function GetGRAttrib
Signature
GetGRAttrib(HashTableht,
  Stringkey,
  StringdefValue 
  )  
 :String
Arguments
HashTableht
Stringkey
StringdefValue
Returns
String

 
 top of page
Function GetGRAttribFloat
Signature
GetGRAttribFloat(HashTableht,
  Stringkey,
  floatdefValue 
  )  
 :float
Arguments
HashTableht
Stringkey
floatdefValue
Returns
float

 
 top of page
Function GetGRAttribInt
Signature
GetGRAttribInt(HashTableht,
  Stringkey,
  intdefValue 
  )  
 :int
Arguments
HashTableht
Stringkey
intdefValue
Returns
int

 
 top of page
Function GetSVGColorString
Signature
GetSVGColorString(intc24)
 :String
Arguments
intc24
Returns
String

 
 top of page
Function GetSVGColorStringNoQuot
Signature
GetSVGColorStringNoQuot(intc24)
 :String
Arguments
intc24
Returns
String

 
 top of page
Function GetSVGStrokeOpacityString
Signature
GetSVGStrokeOpacityString(floatborderAlpha)
 :String
Arguments
floatborderAlpha
Returns
String

 
 top of page
Function GetSVGStyleStrokeColorAndOpacityString
Signature
GetSVGStyleStrokeColorAndOpacityString(intc24,
  floatborderAlpha 
  )  
 :String
Arguments
intc24
floatborderAlpha
Returns
String

 
 top of page
Function NewPortPanel
Signature
NewPortPanel():ui::Panel
Returns

 
 top of page
Function StringToSVG
Signature
StringToSVG(Stringtext)
 :String
Arguments
Stringtext
Returns
String

 
 top of page
Method addEdgeLabels
Signature
addEdgeLabels()

 
 top of page
Method addEdgeLabelsFromGraph
Signature
addEdgeLabelsFromGraph(graph::Graphgraph)
Arguments
graph::Graphgraph

 
 top of page
Method addEdgesFromGraph
Signature
addEdgesFromGraph()

 
 top of page
Method addNodes
Signature
addNodes()

 
 top of page
Method addNodesFromGraph_BorderLayout
Signature
addNodesFromGraph_BorderLayout()

 
 top of page
Method addNodesFromGraph_GridLayout
Signature
addNodesFromGraph_GridLayout(intbFixed)
Arguments
intbFixed

 
 top of page
Method addNodes_fixed_GridLayout
Signature
addNodes_fixed_GridLayout(HashTablehtSpacerOrNull,
  floatdefPaddingX,
  floatdefPaddingY 
  )  
Arguments
HashTablehtSpacerOrNull
floatdefPaddingX
floatdefPaddingY

 
 top of page
Method addNodes_GridLayout
Signature
addNodes_GridLayout(HashTablehtSpacerOrNull,
  floatdefPaddingX,
  floatdefPaddingY 
  )  
Arguments
HashTablehtSpacerOrNull
floatdefPaddingX
floatdefPaddingY

 
 top of page
Method addNode_GridLayout
Signature
addNode_GridLayout(graph::Noden,
  HashTablehtSpacerOrNull,
  ValuerethtAttribs,
  floatdefPaddingX,
  floatdefPaddingY,
  Valueretl 
  )  
 :ui::Layer
Arguments
graph::Noden
HashTablehtSpacerOrNull
ValuerethtAttribs
floatdefPaddingX
floatdefPaddingY
Valueretl
Returns

 
 top of page
Method addTableSubgraph
Signature
addTableSubgraph(graph::Graphsubgraph,
  ui::TableGraphPanelpTable 
  )  
Arguments
graph::Graphsubgraph
ui::TableGraphPanelpTable

 
 top of page
Method adjustPortButtonPositions
Signature
adjustPortButtonPositions()

 
 top of page
Method adjustPortButtonPositionsInGraph
Signature
adjustPortButtonPositionsInGraph(graph::Graphg)
Arguments

 
 top of page
Method appendSVGButtonsAndPanels
Signature
appendSVGButtonsAndPanels(Stringbuf,
  intbStartWithLabels 
  )  
Arguments
Stringbuf
intbStartWithLabels

 
 top of page
Method appendSVGEdges
Signature
appendSVGEdges(Stringbuf,
  intbDebug,
  intbMainGraph 
  )  
Arguments
Stringbuf
intbDebug
intbMainGraph

 
 top of page
Method assignRequiredPositionsToNodeLayers
Signature
assignRequiredPositionsToNodeLayers()

 
 top of page
Method beginXFMTag
Signature
beginXFMTag(ui::AbstractXMLFormform,
  HashTableattributes 
  )  
 :int
Arguments
ui::AbstractXMLFormform
HashTableattributes
Returns
int

 
 top of page
Method calcHeadPoint
Signature
calcHeadPoint(Point2fp,
  floatstartX,
  floatstartY,
  floatendX,
  floatendY,
  intcurEdgeIdx,
  intnumEdges,
  HashTablehtAttribs 
  )  
Arguments
Point2fp
floatstartX
floatstartY
floatendX
floatendY
intcurEdgeIdx
intnumEdges
HashTablehtAttribs

 
 top of page
Method copyBackgroundFromGRAttribsToPanel
Signature
copyBackgroundFromGRAttribsToPanel(HashTableht,
  ui::Panelp 
  )  
Arguments
HashTableht
ui::Panelp

 
 top of page
Method copyPanelShapeAndBorderAttribs
Signature
copyPanelShapeAndBorderAttribs(ui::PanelpSrc,
  ui::PanelpDst 
  )  
Arguments
ui::PanelpSrc
ui::PanelpDst

 
 top of page
Method createButtonForNodeOrLabel
Signature
createButtonForNodeOrLabel(graph::NodenOrNull,
  StringsLabel,
  HashTableht 
  )  
 :ui::Layer
Arguments
graph::NodenOrNull
StringsLabel
HashTableht
Returns

 
 top of page
Method createPanelForLayer
Signature
createPanelForLayer(graph::NodenOrNull,
  Objectl,
  HashTableht,
  intbDefAlignTopLeft 
  )  
 :ui::Panel
Arguments
graph::NodenOrNull
Objectl
HashTableht
intbDefAlignTopLeft
Returns

 
 top of page
Method createPortsLayerFor
Signature
createPortsLayerFor(graph::Noden,
  Objectl 
  )  
 :ui::Layer
Arguments
Returns

 
 top of page
Method drawEdges
Signature
drawEdges()

 
 top of page
Method drawGraphEdges
Signature
drawGraphEdges(floattx,
  floatty 
  )  
Arguments
floattx
floatty

 
 top of page
Method endXFMTag
Signature
endXFMTag(ui::AbstractXMLFormform,
  HashTableattributes 
  )  
Arguments
ui::AbstractXMLFormform
HashTableattributes

 
 top of page
Method exportSVG
Signature
exportSVG(Stringpathname,
  intbHTML 
  )  
 :int
Arguments
Stringpathname
intbHTML
Returns
int

 
 top of page
Method findGraphEdge
Signature
findGraphEdge(graph::Nodea,
  graph::Nodeb 
  )  
 :ui::GraphEdge
Arguments
Returns

 
 top of page
Method findLayerByPath
Signature
findLayerByPath(Stringpath)
 :ui::Layer
Arguments
Stringpath
Returns

 
 top of page
Method findLayerByPathAbs
Signature
findLayerByPathAbs(StringArrayaPath)
 :ui::Layer
Arguments
StringArrayaPath
Returns

 
 top of page
Method findLayerByPathRel
Signature
findLayerByPathRel(StringArrayaPath)
 :ui::Layer
Arguments
StringArrayaPath
Returns

 
 top of page
Method flattenEdges
Signature
flattenEdges()

 
 top of page
Method freeGraphEdges
Signature
freeGraphEdges()

 
 top of page
Method getDisplayedText
Signature
getDisplayedText():String
Returns
String

 
 top of page
Method getNodePosition
Signature
getNodePosition(graph::Noden,
  Point2fp,
  floatdistX,
  floatdistY 
  )  
Arguments
graph::Noden
Point2fp
floatdistX
floatdistY

 
 top of page
Method hasAreaZero
Signature
hasAreaZero(HashTableht)
 :int
Arguments
HashTableht
Returns
int

 
 top of page
Method initGraphForm
Signature
initGraphForm(ui::GraphFormparent)
Arguments
ui::GraphFormparent

 
 top of page
Method joinEdges
Signature
joinEdges(PointerArrayedges)
Arguments
PointerArrayedges

 
 top of page
Method layoutHierarchy
Signature
layoutHierarchy(intbInvalidateSizeCaches,
  intbLayoutFinal 
  )  
Arguments
intbInvalidateSizeCaches
intbLayoutFinal

 
 top of page
Method layoutTableLayers
Signature
layoutTableLayers(graph::Graphsubgraph,
  intmaxSpanW,
  intnumRows,
  intbLargestFirst,
  PointerArrayaSpanStartNodes 
  )  
Arguments
graph::Graphsubgraph
intmaxSpanW
intnumRows
intbLargestFirst
PointerArrayaSpanStartNodes

 
 top of page
Method lazyAddNodesFromGraph
Signature
lazyAddNodesFromGraph()

 
 top of page
Method onDraw
Signature
onDraw()

 
 top of page
Method onDrawChildPost
Signature
onDrawChildPost(ObjectchildLayer)
Arguments
ObjectchildLayer

 
 top of page
Method onDrawPost
Signature
onDrawPost()

 
 top of page
Method onResize
Signature
onResize()

 
 top of page
Method parseGraphForm
Signature
parseGraphForm(Stringbuf,
  Stringname 
  )  
 :int
Arguments
Stringbuf
Stringname
Returns
int

 
 top of page
Method recursiveBeginResize
Signature
recursiveBeginResize()

 
 top of page
Method recursiveDrawEdges
Signature
recursiveDrawEdges(floattx,
  floatty 
  )  
Arguments
floattx
floatty

 
 top of page
Method recursiveFlattenEdgesToMainGraph
Signature
recursiveFlattenEdgesToMainGraph(ui::GraphFormgwMain,
  floattx,
  floatty 
  )  
Arguments
ui::GraphFormgwMain
floattx
floatty

 
 top of page
Method reverseChildLayers
Signature
reverseChildLayers(ui::Panelp)
Arguments
ui::Panelp

 
 top of page
Method setIncludePaths
Signature
setIncludePaths(StringArraypaths)
Arguments
StringArraypaths

 
 top of page
Method setLabelConfigFromGRAttribs
Signature
setLabelConfigFromGRAttribs(ui::Labellb,
  StringsLabel,
  HashTableht 
  )  
Arguments
ui::Labellb
StringsLabel
HashTableht

 
 top of page
Method setLabelIconPaddingFromGRAttribs
Signature
setLabelIconPaddingFromGRAttribs(ui::Labell,
  HashTableht 
  )  
Arguments
ui::Labell
HashTableht

 
 top of page
Method setLabelIconPlacementFromGRAttribs
Signature
setLabelIconPlacementFromGRAttribs(ui::Labellb,
  HashTableht 
  )  
 :int
Arguments
ui::Labellb
HashTableht
Returns
int

 
 top of page
Method setLabelInnerPaddingFromGRAttribs
Signature
setLabelInnerPaddingFromGRAttribs(ui::Labell,
  HashTableht 
  )  
Arguments
ui::Labell
HashTableht

 
 top of page
Method setLabelTextPlacementFromGRAttribs
Signature
setLabelTextPlacementFromGRAttribs(ui::Labellb,
  HashTableht 
  )  
 :int
Arguments
ui::Labellb
HashTableht
Returns
int

 
 top of page
Method setLayerAlignmentFromGRAttribs
Signature
setLayerAlignmentFromGRAttribs(Objectl,
  HashTableht 
  )  
 :int
Arguments
Objectl
HashTableht
Returns
int

 
 top of page
Method setLayerColorAndTintFromGRAttribs
Signature
setLayerColorAndTintFromGRAttribs(Objectl,
  HashTableht 
  )  
Arguments
Objectl
HashTableht

 
 top of page
Method setLayerPaddingFromGRAttribs
Signature
setLayerPaddingFromGRAttribs(Objectl,
  HashTableht 
  )  
Arguments
Objectl
HashTableht

 
 top of page
Method setLayerRequiredSizeFromAttribs
Signature
setLayerRequiredSizeFromAttribs(Objectl,
  HashTableht 
  )  
Arguments
Objectl
HashTableht

 
 top of page
Method setLayerSizeFromGRAttribs
Signature
setLayerSizeFromGRAttribs(Objectl,
  HashTableht 
  )  
Arguments
Objectl
HashTableht

 
 top of page
Method setLayerSizeGroupFromGRAttribs
Signature
setLayerSizeGroupFromGRAttribs(Objectl,
  HashTableht 
  )  
Arguments
Objectl
HashTableht

 
 top of page
Method setPanelBackgroundPatternAndGradientFromGRAttribs
Signature
setPanelBackgroundPatternAndGradientFromGRAttribs(ui::Panelp,
  HashTableht 
  )  
Arguments
ui::Panelp
HashTableht

 
 top of page
Method setPanelBorderFromGRAttribs
Signature
setPanelBorderFromGRAttribs(ui::Panelp,
  HashTableht 
  )  
Arguments
ui::Panelp
HashTableht

 
 top of page
Method setPanelInnerPaddingFromGRAttribs
Signature
setPanelInnerPaddingFromGRAttribs(Objectl,
  HashTableht 
  )  
Arguments
Objectl
HashTableht

 
 top of page
Method setPortButtonClass
Signature
setPortButtonClass(ui::GraphPortButtonclass)
Arguments

 
 top of page
Method setToolTipFromGRAttribs
Signature
setToolTipFromGRAttribs(Objectl,
  HashTableht 
  )  
Arguments
Objectl
HashTableht

 
 top of page
Method splitTableSpan
Signature
splitTableSpan(graph::NodenLong,
  graph::NodenShort 
  )  
Arguments
graph::NodenLong
graph::NodenShort

 
 top of page
Method splitTableSpanAtSpan
Signature
splitTableSpanAtSpan(graph::NodenLong,
  graph::NodenOther 
  )  
Arguments
graph::NodenLong
graph::NodenOther

 
 top of page
Method translateFlattenedLayers
Signature
translateFlattenedLayers(floattx,
  floatty 
  )  
Arguments
floattx
floatty

 
 top of page
Method useNodeWidget
Signature
useNodeWidget(graph::Noden,
  HashTableht 
  )  
 :ui::Layer
Arguments
Returns

 
 top of page
Constant MAX_LABEL_ICON_PADDING (float)
Constant MAX_LABEL_INNER_PADDING (float)
Constant MAX_PADDING (float)
Constant ST_INIT_DONE (int)
Constant ST_INIT_EDGES (int)
Constant ST_INIT_NODES (int)

 

Project Modules:MAbstractXMLForm , MAcceleratorKey , MAcceleratorList , MAction , MActionConsumer , MActionProvider , MBezier01Edit , MBezierEdit , MButton , MCharFilter , MCharFilterBinary255Expr , MCharFilterFloat , MCharFilterFloatExpr , MCharFilterHex , MCharFilterHexExpr , MCharFilterHexShort , MCharFilterHexShortExpr , MCharFilterUFix16 , MCheckBox , MChoiceDialog , MCmdProvider , MColorBox , MColorButton , MComboBox , MComboBoxPopup , MComboBoxTM , MComboField , MComposite , MControl , MCursorShapes , MDial , MDialog , MDragHandleLabel , MDynamicPopupMenuAction , MFBO , MFloatAction , MFloatField , MFloatingLayer , MFloatParam , MFloatParamDialog , MFloatParamEditor , MFlowLayout , MFont , MFontCache , MFontResource , MForm , MFT2Face , MFT2FontResource , MFT2Glyph , MGeometry4f , MGraph , MGraphForm , MGridLayout , MHiddenPanel , MHSVColorPicker , MIcon , MIconCache , MInfoDialog , MIntAction , MKeyAction , MKeyboardMonitor , MKeyHelpDialog , MLabel , MLayer , MLayerSwitch , MLayout , MLogger , MLookAndFeel , MLookAndFeel_Dark , MLookAndFeel_Light , MLookAndFeel_Mono , MMouseEvent , MObjectAction , MOpaquePanel , MPanel , MPNGIcon , MPopupMenu , MPopupMenuBar , MPopupMenuBarButton , MPopupMenuButton , MPopupMenuCheckButton , MPopupMenuFolderButton , MPopupMenuSeparator , MPopupMenuWindowDock , MRadioButton , MRadioButtonGroup , MRectangle2f , MRepeatButton , MScroller , MScrollPane , MShader , MShader_ColorGrading , MShader_GradientH , MShader_GradientR , MShader_GradientV , MShader_InvertColor , MShader_PatternFill , MShader_PatternGradientH , MShader_PatternGradientR , MShader_PatternGradientV , MShader_SharpenFilter , MShader_SharpenFilterAndColorGrading , MShape , MShapePolyline , MSizeGroup , MSizeGroupX , MSizeGroupXY , MSizeGroupY , MSlider , MSpacer , MSplitPane , MStatusBar , MStringAction , MStringDialog , MSuperBorderLayout , MTableCellEditor , MTableCellEditorCheckBox , MTableCellEditorComboBox , MTableCellEditorFloatParam , MTableCellEditorString , MTableModel , MTableView , MTableViewData , MTableViewHeader , MTabSwitch , MTextEdit , MTextEditDialog , MTextField , MTextFieldIncDec , MTextInputDialog , MTextView , MTimerAction , MTitledPanel , MToolTip , MTransparentPanel , MTreeTableModel , MTreeTableNode , MUI , MUIConstants , MUIPluginLoader , MUIRenderer , MUserDataContainer , MValueAction , MView , MViewPane , MWindow , MWindowDock , MWindowTitleBar , MXFMObject , MXMLForm , MXYPad 
Project Classes:CmdProvider , ColorBox , graph::AttribsBase , graph::BBox , graph::Canvas , graph::Cell , graph::Edge , graph::GR , graph::Graph , graph::GRGradient , graph::GRPalette , graph::GRParseContext , graph::GRStyle , graph::GRUtils , graph::Node , graph::Port , graph::PortsBase , HSVColorPicker , ui::AbstractXMLForm , ui::AcceleratorKey , ui::AcceleratorList , ui::Action , ui::ActionConsumer , ui::ActionProvider , ui::Bezier01Edit , ui::BezierEdit , ui::BezierEditState , ui::BezierHistory , ui::BezierLUT01 , ui::BorderLayout , ui::Button , ui::CharFilter , ui::CharFilterBinary255Expr , ui::CharFilterFloat , ui::CharFilterFloatExpr , ui::CharFilterHex , ui::CharFilterHexExpr , ui::CharFilterHexShort , ui::CharFilterHexShortExpr , ui::CharFilterUFix16 , ui::CheckBox , ui::ChoiceDialog , ui::ColorButton , ui::ComboBox , ui::ComboBoxPopup , ui::ComboBoxTM , ui::ComboField , ui::Composite , ui::Control , ui::CursorShapes , ui::Dial , ui::Dialog , ui::DragHandleLabel , ui::DynamicPopupMenuAction , ui::FBO , ui::FloatAction , ui::FloatField , ui::FloatingLayer , ui::FloatParam , ui::FloatParamDialog , ui::FloatParamEditor , ui::FlowLayout , ui::Font , ui::FontCache , ui::FontResource , ui::Form , ui::FT2Face , ui::FT2FontResource , ui::FT2Glyph , ui::FT2LocalFileFontResource , ui::FT2PakFileFontResource , ui::Geometry4f , ui::GraphEdge , ui::GraphEdgeArrow , ui::GraphForm , ui::GraphPortButton , ui::GridLayout , ui::HiddenPanel , ui::Icon , ui::IconCache , ui::InfoDialog , ui::IntAction , ui::KeyAction , ui::KeyboardFocusListener , ui::KeyboardMonitor , ui::KeyboardMonitorEntry , ui::KeyHelpButton , ui::KeyHelpDialog , ui::KeyHelpToolTip , ui::KeyRepeatAction , ui::KeyRepeatConsumer , ui::Label , ui::Layer , ui::LayerSwitch , ui::Layout , ui::Logger , ui::LookAndFeel , ui::LookAndFeelDefs , ui::LookAndFeel_Dark , ui::LookAndFeel_Light , ui::LookAndFeel_Mono , ui::MouseEvent , ui::MouseHoldAction , ui::MouseHoldConsumer , ui::ObjectAction , ui::OpaquePanel , ui::Panel , ui::PNGIcon , ui::PopupMenu , ui::PopupMenuBar , ui::PopupMenuBarButton , ui::PopupMenuButton , ui::PopupMenuCheckButton , ui::PopupMenuFolderButton , ui::PopupMenuRadioButton , ui::PopupMenuSeparator , ui::PopupMenuWindowDock , ui::RadioButton , ui::RadioButtonGroup , ui::Rectangle2f , ui::RepeatButton , ui::Scroller , ui::ScrollPane , ui::Shader , ui::Shader_ColorGrading , ui::Shader_GradientH , ui::Shader_GradientR , ui::Shader_GradientV , ui::Shader_InvertColor , ui::Shader_PatternFill , ui::Shader_PatternGradientH , ui::Shader_PatternGradientR , ui::Shader_PatternGradientV , ui::Shader_SharpenFilter , ui::Shader_SharpenFilterAndColorGrading , ui::Shape , ui::ShapePolyline , ui::SizeGroup , ui::SizeGroupX , ui::SizeGroupXY , ui::SizeGroupY , ui::Slider , ui::Spacer , ui::SplitPane , ui::StatusBar , ui::StatusBarListener , ui::StatusBarMessage , ui::StringAction , ui::StringDialog , ui::StringDialogTextField , ui::SuperBorderLayout , ui::TableCellEditor , ui::TableCellEditorCheckBox , ui::TableCellEditorComboBox , ui::TableCellEditorFloatParam , ui::TableCellEditorString , ui::TableGraphPanel , ui::TableModel , ui::TableView , ui::TableViewData , ui::TableViewHeader , ui::TabSwitch , ui::TabSwitchLabelPanel , ui::TextEdit , ui::TextEditDialog , ui::TextEditPlugin , ui::TextEditUndoEntry , ui::TextField , ui::TextFieldIncDec , ui::TextInputDialog , ui::TextView , ui::TextViewSyntaxHighlighter , ui::TimerAction , ui::TitledPanel , ui::ToolTip , ui::TransparentPanel , ui::TreeTableModel , ui::TreeTableNode , ui::TriadKeyConsumer , ui::UI , ui::UIConstants , ui::UIRenderer , ui::UserDataContainer , ui::ValueAction , ui::View , ui::ViewPane , ui::Window , ui::WindowDock , ui::WindowTitleBar , ui::XFMObject , ui::XMLForm , ui::XYPad 
Project Functions:getTableViewStepCoarse , Screen_onApplicationActive , Screen_onClose , Screen_onDrainEventQueue , Screen_onDraw , Screen_onDropFiles , Screen_onExpose , Screen_onInputFocusActive , Screen_onKeyboard , Screen_onMouse , Screen_onMouseFocusActive , Screen_onMoveWindow , Screen_onOpen , Screen_onResize , Screen_onTimer , SetDebugLevel , SetDebugLevel , SetEnableProfiling 
All Namespaces:default , graph , ui 
All Projects:core , eqxmms , ShaderVG , ShaderVG_Text , tkanalogrytm , tkchipmunk , tkclap , tkfileutils , tkfreeglut , tkfreetype2 , tkfreeverb , tkmath , tkmidi , tkmidipipe , tkminnie , tkoldmath , tkopengl , tkportaudio , tkradiastools , tksamplechain , tksampleedit , tksampler , tksdl , tksdl_net , tksidplay2 , tkspeexdsp , tksqlite , tktriangulate , tkui , tkvst2 , tkzip , ui , yingtest 


auto-generated by "DOG", the TkScript document generator. Thu, 11/Dec/2025 13:42:00