new ShapeView()
Members
-
mainDiv :HTMLElement
-
Type:
- HTMLElement
Methods
-
addLink(link)
-
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 -
drawLinks()
-
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
-
getLink(linkId)
-
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
-
hideLink(link)
-
Parameters:
Name Type Description link
* -
removeShape(shapeId)
-
Parameters:
Name Type Description shapeId
string -
showLink(svgLink)
-
Parameters:
Name Type Description svgLink
* -
updateScales(link)
-
Parameters:
Name Type Description link
olympe.df.debug.d3.D3JSLink