We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is it possible to embed LaTeX formulas in nodes of cytoscape? I've tried this but it's not rendering:
import dash from dash import dcc from dash import html import dash_cytoscape as cyto app = dash.Dash(__name__, external_scripts=[ 'https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.4/MathJax.js?config=TeX-MML-AM_CHTML', ]) EMC2 = '$E=mc^2$' app.layout = html.Div([ cyto.Cytoscape( id='cytoscape-two-nodes', layout={'name': 'preset'}, style={'width': '100%', 'height': '400px'}, elements=[ {'data': {'id': 'one', 'label': EMC2}, 'position': {'x': 75, 'y': 75}}, {'data': {'id': 'two', 'label': 'Node 2'}, 'position': {'x': 200, 'y': 200}}, {'data': {'source': 'one', 'target': 'two'}} ] ) ]) if __name__ == '__main__': app.run_server(debug=True, port=8865)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Is it possible to embed LaTeX formulas in nodes of cytoscape? I've tried this but it's not rendering:
The text was updated successfully, but these errors were encountered: