]> gerrit.simantics Code Review - simantics/district.git/blobdiff - org.simantics.district.network/scl/Simantics/District.scl
Add functions for finding elements by DN id
[simantics/district.git] / org.simantics.district.network / scl / Simantics / District.scl
index 8e96b518a2dbb98a548de21eb23e984adaf2ebf5..0e79ef774402aa6a83a06e093c9023129223c181 100644 (file)
@@ -152,3 +152,7 @@ dnElementsMappedToComponents mappedComponents = mapMaybe possibleDNElementMapped
 
 importJava "org.simantics.district.network.DistrictNetworkUtil" where
     createNetworkDiagram :: Resource -> Resource -> String -> Resource -> Resource -> Resource -> Resource -> Resource -> <WriteGraph, Proc> Resource
+    changeMappingType :: Resource -> [Resource] -> <WriteGraph, Proc> ()
+    findDNElementById :: Resource -> String -> <ReadGraph, Proc> Maybe Resource
+    findDNElementByXYCoordinates :: Resource -> Double -> Double -> Double -> <ReadGraph, Proc> [Resource]
+