-
Hi, I'm a new user of trame and I'm trying to build a page to embed VTK graph. I'm trying to combine the SimpleCone example and Router example to a multipage web app. But something error to use same VContainer in Router. In SimpleCone example, the VTK graph (children=[html_view]) works well:
But in Router example,nothing appared:
when the "children=[html_view]" is removed, both VContainer runs OK except the VTK graph is not embeded. What's wrong with it? How can I do it? Thanks in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 12 comments 3 replies
-
I'm not sure, it is hard to say. Could you provide a full example that illustrate the issue? It might be easier to see why it might be failing. In general, I would not recommend using a |
Beta Was this translation helpful? Give feedback.
-
SimpleCone example:
Router example:
The last one doesn't work correctly. |
Beta Was this translation helpful? Give feedback.
-
That is interesting and I now understand the issue. Let me try to explain it then I'll see if I can do something to fix it for the VTK views... So the A possible solution is to use inject within that VtkRemote to resolve the client when not provided by the props... HTH. |
Beta Was this translation helpful? Give feedback.
-
It is not going to be easy to solve that issue in |
Beta Was this translation helpful? Give feedback.
-
With the latest change I made in
|
Beta Was this translation helpful? Give feedback.
-
Your code seems not working----the VTK graph is not available: But I'm waiting for trame v2 |
Beta Was this translation helpful? Give feedback.
-
WARNING: Ignoring invalid distribution -ip (g:\mytrame.venv\lib\site-packages) |
Beta Was this translation helpful? Give feedback.
-
App running at:
Note that for multi-users you need to use and configure a launcher.
|
Beta Was this translation helpful? Give feedback.
-
Just clear your browser cache. |
Beta Was this translation helpful? Give feedback.
-
A new problom: |
Beta Was this translation helpful? Give feedback.
-
The If you are curious to see how any UI element get transformed to HTML, you can just do |
Beta Was this translation helpful? Give feedback.
Just clear your browser cache.