Skip to content

Instantly share code, notes, and snippets.

@shkiefer
Created January 20, 2022 07:14
Show Gist options
  • Save shkiefer/7b4ec706db343af103460aa7f7e8baa3 to your computer and use it in GitHub Desktop.
Save shkiefer/7b4ec706db343af103460aa7f7e8baa3 to your computer and use it in GitHub Desktop.
dbc.Row([
dbc.Col([
html.Progress(id=f'{APP_ID}_progress_bar', value='0', max='10', style={'visibility':"hidden"}),
])
]),
dbc.Row([
dbc.Col([
html.Div(
style={"width": "100%", "height": "60vh"},
children=[
dash_vtk.View(
id=f'{APP_ID}_vtk_view',
children=dash_vtk.GeometryRepresentation(
id=f'{APP_ID}_geom_rep_mesh',
children=[],
property={"edgeVisibility": True, "opacity": 1, "pointSize": 20, "lineWidth": 2},
colorMapPreset="Plasma (matplotlib)",
),
),
]
)
],
width=10
),
dbc.Col([
dcc.Graph(
id=f'{APP_ID}_results_colorbar_graph',
style={"width": "100%", "height": "60vh"},
),
],
width=2
)
],
className="g-0"
),
dbc.Row([
dbc.Col(
id=f'{APP_ID}_mem_sene_dt_div',
),
],
className="mt-3"
)
])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment