Spaces:
Runtime error
Runtime error
eaglelandsonce
commited on
Commit
•
8f67fbb
1
Parent(s):
015212a
Update app.py
Browse files
app.py
CHANGED
@@ -138,7 +138,7 @@ def main():
|
|
138 |
graph_store.add_triple(building_name, "has_sensor", sensor_id)
|
139 |
|
140 |
# Configuration for the graph visualization
|
141 |
-
agraph_config = Config(height=
|
142 |
|
143 |
# Display the graph
|
144 |
agraph(nodes=graph_store.getNodes(), edges=graph_store.getEdges(), config=agraph_config)
|
|
|
138 |
graph_store.add_triple(building_name, "has_sensor", sensor_id)
|
139 |
|
140 |
# Configuration for the graph visualization
|
141 |
+
agraph_config = Config(height=300, width=300, nodeHighlightBehavior=True, highlightColor="#F7A7A6", directed=True, collapsible=True)
|
142 |
|
143 |
# Display the graph
|
144 |
agraph(nodes=graph_store.getNodes(), edges=graph_store.getEdges(), config=agraph_config)
|