tobiashochguertel / c4-draw.io

C4 Modelling little bit easier
https://tobiashochguertel.github.io/c4-draw.io/
GNU General Public License v3.0
794 stars 105 forks source link

Plugin doesn't install in draw.io desktop 9.3.1 #12

Open JohnRCatlin opened 5 years ago

JohnRCatlin commented 5 years ago

Hi,

The plugin doesn't seem to install in draw.io desktop 9.3.1. Is this a known issue? If so, are there any plans to fix it?

Very best regards, John.

rkettelerij commented 5 years ago

I'm using it successfully in the desktop version of draw.io v10.6.3. You'll need to restart draw.io after installation. What error did you encounter?

andez2000 commented 5 years ago

I think I am having the same issue on Windows 10.

@rkettelerij - v10.6.3? Only windows desktop v9.3.1 is available from the draw.io website. I have added the url https://tobiashochguertel.github.io/c4-draw.io/c4.js to the Extras->Plugins and c4 notation does not show up - not even after restart.

Please note this does not also work in the online version in Edge.

It works directly in Google Chrome online. Perhaps it could be something to with the default browser? Mine is set to Edge and I suspect the desktop version just piggybacks onto the default browser locally as it is not a native app?

programming-wolf commented 5 years ago

I have v10.7.7 on macOS 10.14.5, and the plugin doesn't work either, unfortunately. It asks to load when I start draw.io, but then nothing happens and the shapes do not appear in the menu on the left.

kaminzo commented 5 years ago

I have the same issue on macOS using Draw.io version v10.9.5. It asks to load, but then nothing happens.

Also tried loading from localhost via node http-server - it didn't help.

Is there a log or some output from draw.io desktop that can be inspected?

rkettelerij commented 5 years ago

Too bad, upgraded my draw.io (v11.1.1) and now I also experience the same issue. C4 symbols don't show up. It used to work on my machine with v10.6.3.

tobiashochguertel commented 5 years ago

I will have a look on the issues in the next days. I'm a longer time ill, and took and take more care on myself. Thanks for let me know that there are issues and that there are people outside which use c4-draw.io. :)

rkettelerij commented 5 years ago

@tobiashochguertel completely understandable. Take care.

jwaring commented 5 years ago

Take care indeed.

As a work around I downloaded the c4.js and placed it in a local folder. If you then add the plugin directly from the folder it appears to load correctly.

J

kaminzo commented 5 years ago

@tobiashochguertel hope things get better soon.

@jwaring this hasn't worked for me on macOS with Draw.io v 11.1.4. I have tried referencing it as follows: /Users/myusername/Downloads/c4.js

Can you provide a bit more details i.e.

jwaring commented 5 years ago

@kaminzo

I hope this works for you.

EvgeniySpinov commented 5 years ago

For me previous comments on how to supply local path didn't work. What have worked though is providing this: file:\C:\Program Files\draw.io\c4.js

Windows 10, draw.io 11.2.5

kaminzo commented 5 years ago

This worked! Many thanks @EvgeniySpinov

These are the details for macOS:

OS: macOS Majove Version 10.14.6 draw.io: v11.2.5 in which local folder c4.js resides: /Users/myusername/Downloads/c4.js how did you reference the file in the Plugins panel: file:\Users\myusername\Downloads\c4.js

codering commented 5 years ago

macOS:

file:///Users/xxx/c4plugins/c4.js

mfd2033 commented 5 years ago

使用本地路径,不要使用https://tobiashochguertel.github.io/c4-draw.io/c4.js

MareGeldenhuys commented 5 years ago

Adding some info here for those interested. Draw.io desktop is fully offline since version 10.7.5 according to their release page. https://github.com/jgraph/drawio-desktop/releases/tag/v10.7.5 Assuming this means that the traditional way of adding the plugin via the web-accessible link won't work anymore.

In addition I found that installing to the draw.io install folder did not work in my case. I installed the file into a separate folder and used the file uri syntax to access the plugin from draw.io desktop :

file:///C:/software/c4.js

Thanks to previous commentators for pointing to the solution.

us0906 commented 4 years ago

Hello all, in order to make the plugin work in a local installation of draw.io on my Mac-machine I had to

Thanks to everyone above for tips and instructions.