Spaces:
Sleeping
Sleeping
tune style
Browse files
app.py
CHANGED
@@ -164,14 +164,18 @@ with col3:
|
|
164 |
|
165 |
stylesheet = [
|
166 |
{"selector": "node", "style": {
|
167 |
-
"width":
|
168 |
-
"height":
|
169 |
"shape": "rectangle",
|
170 |
"label" : "data(label)",
|
171 |
"labelFontSize": 100,
|
172 |
-
'background-color': '#399AF9'
|
|
|
|
|
173 |
}},
|
174 |
-
{"selector": "edge", "style": {
|
|
|
|
|
175 |
]
|
176 |
|
177 |
st.title("ToxoCEN Network")
|
|
|
164 |
|
165 |
stylesheet = [
|
166 |
{"selector": "node", "style": {
|
167 |
+
"width": 100,
|
168 |
+
"height": 50,
|
169 |
"shape": "rectangle",
|
170 |
"label" : "data(label)",
|
171 |
"labelFontSize": 100,
|
172 |
+
'background-color': '#399AF9',
|
173 |
+
"text-halign": "center",
|
174 |
+
"text-valign": "center",
|
175 |
}},
|
176 |
+
{"selector": "edge", "style": {
|
177 |
+
"width": "data(label)"
|
178 |
+
}}
|
179 |
]
|
180 |
|
181 |
st.title("ToxoCEN Network")
|