Skip to content

A version of the widget that uses anywidget instead of ipywidget ? #32

Description

@AnthonyAus

I am hoping to use this within marimo but seem to be getting a mismatch

With the following code:

dot_source = """
digraph {
a -> b;
b -> c;
c -> a;
}
"""

output_a = graphviz_widget(dot_source)

t = graphviz_widget(dot_source)
t2 = mo.ui.anywidget(t)
t

I get

Unsupported mimetype: application/vnd.jupyter.widget-view+json

Which seems to reference this response:
marimo-team/marimo#5099

if I try and wrap with mo.ui.anywidget(t), I get an error so it may not be a pure anywidget ?

Other anywidgets are working in marimo so it would be great to use this as well

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions