User:Marcus.hanwell: Difference between revisions

From KitwarePublic
Jump to navigationJump to search
(Do we have graphviz?)
 
mNo edit summary
 
(24 intermediate revisions by the same user not shown)
Line 1: Line 1:
<graphviz renderer='neato' caption='Hello Neato'>
== 2D API ==
graph G {
 
  run -- intr;
 
  intr -- runbl;
 
  runbl -- run;
<graphviz renderer='neato' caption='Chart Classes'>
  run -- kernel;
digraph Charts {
  kernel -- zombie;
  node [
  kernel -- sleep;
    fontsize = 10
  kernel -- runmem;
    fontname = Helvetica
  sleep -- swap;
    shape = record
  swap -- runswap;
    height = 0.1
  runswap -- new;
  ]
  runswap -- runmem;
 
  new -- runmem;
  edge [
  sleep -- runmem;
    fontsize = 10
    fontname = Helvetica
  ]
 
  // Classes
  vtk2DActor
  vtk2DPainter
 
  vtkChart
  vtkChartXY
  vtkChartParallel
  vtkChartPie
 
  vtkPlot
  vtkPlotLine
  vtkPlotStacked
  vtkPlotBar
 
  vtkPlotGrid
  vtkAxis
  vtkLegend
 
// Subclass relationships
//
// A -> B means
// A is the superclass of B
// The notation is a bit counterintuitive but required to obtain
// the desired top-to-bottom layout
edge [
  arrowtail = onormal
  arrowhead = none
]
  vtkChart -> vtkChartXY
  vtkChart -> vtkChartParallel
  vtkChart -> vtkChartPie
 
  vtkPlot -> vtkPlotLine
  vtkPlot -> vtkPlotStacked
  vtkPlot -> vtkPlotBar
 
// "owns the lifetime of"
edge [
  arrowtail = diamond
  arrowhead = none
]
 
// "has a pointer to"
edge [
  arrowtail = odiamond
  arrowhead = none
]
 
  vtkChartXY -> vtkPlot
  vtkChartXY -> vtkPlotGrid
  vtkChartXY -> vtkAxis
  vtkChartXY -> vtkLegend
 
  vtk2DActor -> vtkChart
  vtk2DActor -> vtk2DPainter
}
}
</graphviz>
</graphviz>

Latest revision as of 17:29, 21 October 2009

2D API

Chart Classes