maom commited on
Commit
1079e63
·
verified ·
1 Parent(s): 6ac4757

tune style

Browse files
Files changed (1) hide show
  1. app.py +8 -4
app.py CHANGED
@@ -164,14 +164,18 @@ with col3:
164
 
165
  stylesheet = [
166
  {"selector": "node", "style": {
167
- "width": 200,
168
- "height": 75,
169
  "shape": "rectangle",
170
  "label" : "data(label)",
171
  "labelFontSize": 100,
172
- 'background-color': '#399AF9'
 
 
173
  }},
174
- {"selector": "edge", "style": {"width": 10}}
 
 
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")