One application of the Graph Clustering Research Project is a part of the SPARQL module here. This is a UD-Viz widget for visualizing urban graph data and interacting with objects in the 3D scene.
Use the "Graph configuration" menu to enable or disable zoom clustering. This function hides nodes according to their group when zoomed into the graph, and displays them when zoomed out. The "Zoom sensitivity" parameter allows you to influence the speed at which zoom clustering operates.
Zoom clustering
You can also modify the forces exerted on and between nodes, as well as the length of the links connecting them.
The "Building ID" input lets you find and focus the camera on any building in the 3D scene, by knowing its ID.
Show button
Clicking on a building of the 3D scene will add the corresponding node and its children to the graph. This functionality is made possible by the URIs of nodes in the graph that corresponds with identifiers of objects in the tileset's batch table.
In the demonstration based on the sparql widget, two options have been added to the context menu.
Action title | Description | Apply to |
---|---|---|
Add its children | Updates the SPARQL query to add the children of the clicked node, if it has some | Nodes without children yet (exploration query only) |
Focus the camera on the building | Zooms the camera on the building in the 3D scene | Building nodes |
The action "Add its children" is not available with all queries but only with queries defined with an exploration property in the sparql_widget.json file.