positionToDoubleArray (Position a b c d e f) = toDoubleArray [a,b,c,d,e,f]
positionToDoubleArray (Position a b c d e f) = toDoubleArray [a,b,c,d,e,f]
// --- Diagram element data types -----------------------------------
data Property res = Property res Dynamic
// --- Diagram element data types -----------------------------------
data Property res = Property res Dynamic
importJava "org.simantics.modeling.svg.CreateSVGElement" where
createSVGElement :: Resource -> String -> ByteArray -> Double -> Double -> <WriteGraph> ()
importJava "org.simantics.modeling.svg.CreateSVGElement" where
createSVGElement :: Resource -> String -> ByteArray -> Double -> Double -> <WriteGraph> ()
importJava "org.simantics.diagram.synchronization.graph.RemoveElement" where
removeElement :: Resource -> Resource -> <WriteGraph> ()
importJava "org.simantics.diagram.synchronization.graph.RemoveElement" where
removeElement :: Resource -> Resource -> <WriteGraph> ()