@JavaName getNodeTransform
getTransform :: ICanvasContext -> String -> String
- getICanvasSceneGraphProvider :: Model -> Resource -> String -> ICanvasSceneGraphProvider
+ @Deprecated
+ getICanvasSceneGraphProvider :: Model -> Resource -> String -> <Proc> ICanvasSceneGraphProvider
+ @Deprecated
disposeSceneGraphProvider :: ICanvasSceneGraphProvider -> <Proc> ()
+ doWithICanvasSceneGraphProvider :: Resource -> (ICanvasSceneGraphProvider -> <e> a) -> <Proc, Exception> a
+
+ doWithCanvasContext :: Resource -> (ICanvasContext -> <e> a) -> <Proc, Exception> a
+
editNodeText :: ICanvasContext -> String -> String -> String -> <Proc> String
copyPaste :: ICanvasContext -> ICanvasContext -> [Resource] -> <Proc> Boolean
renderSVG :: ICanvasContext -> <Proc> String
+ "Render an SVG with known width and height in pixels: `renderScaledSVG context width height`"
+ @JavaName renderSVG
+ renderScaledSVG :: ICanvasContext -> Double -> Double -> <Proc> String
+
getSceneGraphProvider :: Diagram -> <Proc> ICanvasSceneGraphProvider
getSceneGraphProvider diagram = do
diagramName = syncRead(\() -> getSafeName diagram)