Class: ShapeView

olympe.df.debug.d3. ShapeView


new ShapeView()

Members


mainDiv :HTMLElement

Type:
  • HTMLElement

Methods


Parameters:
Name Type Description
link olympe.df.debug.d3.D3JSLink

addShape(shape)

Parameters:
Name Type Description
shape olympe.df.debug.d3.D3JSShape

dragend(shape)

Parameters:
Name Type Description
shape olympe.df.debug.d3.D3JSShape

dragstart(shape)

Parameters:
Name Type Description
shape olympe.df.debug.d3.D3JSShape

draw all the links stored in the D3 structure


drawShapes()

draw all the shapes stored in the D3 structure


findFamily(link)

Parameters:
Name Type Description
link olympe.df.debug.d3.D3JSLink

getHeight()

Returns:
Type
number

Parameters:
Name Type Description
linkId string
Returns:
Type
olympe.df.debug.d3.D3JSLink | undefined

getShape(shapeId)

Parameters:
Name Type Description
shapeId string
Returns:
Type
olympe.df.debug.d3.D3JSShape | undefined

getWidth()

Returns:
Type
number

Parameters:
Name Type Description
link *

removeShape(shapeId)

Parameters:
Name Type Description
shapeId string

Parameters:
Name Type Description
svgLink *

updateScales(link)

Parameters:
Name Type Description
link olympe.df.debug.d3.D3JSLink