Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -608,12 +608,15 @@ with tab3:
|
|
608 |
graph_store.add_triple(building_name, "has_sensor", sensor_id)
|
609 |
|
610 |
# Configuration for the graph visualization
|
611 |
-
agraph_config = Config(height=
|
612 |
|
613 |
# Display the graph
|
614 |
agraph(nodes=graph_store.getNodes(), edges=graph_store.getEdges(), config=agraph_config)
|
615 |
|
616 |
|
|
|
|
|
|
|
617 |
col3, col4 = st.columns(2)
|
618 |
with col3:
|
619 |
|
|
|
608 |
graph_store.add_triple(building_name, "has_sensor", sensor_id)
|
609 |
|
610 |
# Configuration for the graph visualization
|
611 |
+
agraph_config = Config(height=500, width=500, nodeHighlightBehavior=True, highlightColor="#F7A7A6", directed=True, collapsible=True)
|
612 |
|
613 |
# Display the graph
|
614 |
agraph(nodes=graph_store.getNodes(), edges=graph_store.getEdges(), config=agraph_config)
|
615 |
|
616 |
|
617 |
+
st.markdown("<hr/>", unsafe_allow_html=True)
|
618 |
+
|
619 |
+
|
620 |
col3, col4 = st.columns(2)
|
621 |
with col3:
|
622 |
|