]> gerrit.simantics Code Review - simantics/district.git/commit
First draft of vertex size adjusting district network diagram profiles 56/2256/2
authorTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Fri, 28 Sep 2018 13:33:33 +0000 (16:33 +0300)
committerTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Fri, 28 Sep 2018 13:40:37 +0000 (13:40 +0000)
commit29914be09d4a237840e5c793bdb562ec83093b8d
treed771e8be736b400b466c9fed4fe8e0d78122d502
parent10fe42db158693adffc526131d37f58cbd5780b2
First draft of vertex size adjusting district network diagram profiles

* Non-scaling edge/vertex rendering is now limited to view scale range
  [1,5] which supports seems to work well for current models.
* View zooming is now limited to range [0.01, 10000].
* Vertices and edges can be separately hidden with respective profile
  entries

gitlab #2

Change-Id: If8015fc4d65db88abb8c307b14be9139a4450c0d
19 files changed:
org.simantics.district.network.ontology/graph/DistrictNetworkDiagramSettings.pgraph
org.simantics.district.network.ontology/graph/DistrictNetworkProfiles.pgraph
org.simantics.district.network.ontology/src/org/simantics/district/network/ontology/DistrictNetworkResource.java [new file with mode: 0644]
org.simantics.district.network.ui.ontology/src/org/simantics/district/network/ui/ontology/DistrictNetworkUIResource.java [new file with mode: 0644]
org.simantics.district.network.ui/src/org/simantics/district/network/ui/DistrictDiagramViewer.java
org.simantics.district.network.ui/src/org/simantics/district/network/ui/NetworkDrawingParticipant.java
org.simantics.district.network.ui/src/org/simantics/district/network/ui/adapters/DistrictNetworkEdgeElement.java
org.simantics.district.network.ui/src/org/simantics/district/network/ui/function/Functions.java
org.simantics.district.network.ui/src/org/simantics/district/network/ui/nodes/DistrictNetworkEdgeNode.java
org.simantics.district.network.ui/src/org/simantics/district/network/ui/nodes/DistrictNetworkVertexNode.java
org.simantics.district.network/META-INF/MANIFEST.MF
org.simantics.district.network/adapters.xml
org.simantics.district.network/src/org/simantics/district/network/profile/DiagramSettings.java
org.simantics.district.network/src/org/simantics/district/network/profile/DiagramSettingsRequest.java
org.simantics.district.network/src/org/simantics/district/network/profile/DistrictNodeGroup.java [new file with mode: 0644]
org.simantics.district.network/src/org/simantics/district/network/profile/EdgeThicknessStyle.java [moved from org.simantics.district.network/src/org/simantics/district/network/profile/EdgeStyle.java with 83% similarity]
org.simantics.district.network/src/org/simantics/district/network/profile/HideStyle.java [new file with mode: 0644]
org.simantics.district.network/src/org/simantics/district/network/profile/VertexSizeStyle.java [new file with mode: 0644]
org.simantics.district.network/src/org/simantics/district/network/profile/VertexStyle.java [deleted file]