import dash_core_components as dcc import dash_html_components as html import dash_bootstrap_components as dbc import plotly.express as px import dash_table from dash.dependencies import Input, Output import dash_daq as daq from sim import Sim import numpy as np queue_size = 10000 SToptions = [1.0, 3.0, 5.0] IToptions = [3.0, 5.0, 7.0, 10.0] ssq = Sim() S, T, D = ssq.simulateSSQ(lam=3.0, b=5.0, size=queue_size) app = dash.Dash(external_stylesheets=[dbc.themes.BOOTSTRAP]) colors = {'background': '#111111', 'text': '#7FDBFF'} fig = px.line() app.layout = html.Div(children=[ html.H1(children='Single Server Queue', style={ 'textAlign': 'center', 'color': colors['text'] }), dbc.Card(dbc.Row([ dbc.Col([ dbc.Card(dbc.CardBody([ html.Label('Service Times (S)'),