Please help to improve simple diagram (webpage embedded!)

Post unfinished work here for feedback and advise.
beginners_cry
Posts: 4
Joined: Sat Mar 03, 2012 1:31 am

Please help to improve simple diagram (webpage embedded!)

Postby beginners_cry » Sat Mar 03, 2012 1:47 am

Hello everybody,

I am new to this forum, I am new to inkscape and unfortunately I am not at all a designer. But my boss asked me to do a drawing for him.
Here is my first draft:
Image

It should get a little bit more professional in design and the little arrows pointing to the center have to be replaced by something more "sexy".

But I have no ideas how to improve that...

The result will be a scheme for influences on personal health so this diagram will be used in PowerPoint presentations. Each element in that diagram will be interactive and might be animated. But that will happen later on. Now the static impression must be improved first.

Has anybody good ideas?

I hope you can download the file and work with is directly if you want:
http://www10.file-upload.net/thumb/02.0 ... 8c6cwc.svg

Thanks in advance!
Last edited by beginners_cry on Fri Mar 09, 2012 10:30 pm, edited 1 time in total.

User avatar
brynn
Posts: 10309
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: Please help to improve simple diagram

Postby brynn » Sun Mar 04, 2012 10:30 am

Image
Welcome to InkscapeForum.com!

If I understand the goal correctly, I would actually change very little! (Although I'm not a designer either.) So my understanding is that each gray "rectangle" will contain some kind of image or icon or graphic, representing the subject to which it will be linked. Or perhaps the gray "rectangle" will be replaced with the graphic/link? Or maybe they will be like buttons for clicking? Will the arrows be clickable as well?

I'm concerned about the size. At the current size, it will be very difficult to accurately click on any particular rectangle, especially in the middle ring....much less see whatever graphic they might contain. So unless there is some limitation about the size, I would make it MUCH bigger. Or perhaps you intend to do that eventually anyway?

When it's bigger, it will be easier to see that the arrows are arrows. Right now I have to look closely to recongize the shape. I'm wondering if there were more white space around the arrows, if that would make them "pop" better. It would certainly have to be bigger, or the rings of rectangles narrower, to make more white space around the arrows.

I would make the human figure darker, and probably black. Unless perhaps you plan to put another, perhaps already existing image of a human figure there?

If the ring segments (red and gray "rectangles") and/or arrows are to be like buttons for clicking, I might download your file and try to make some fancier ones. Are the red and gray colors required? There are other members here who are better at designing, who could probably do better than me though.

beginners_cry
Posts: 4
Joined: Sat Mar 03, 2012 1:31 am

Re: Please help to improve simple diagram

Postby beginners_cry » Sun Mar 04, 2012 8:16 pm

Thanks a lot, brynn!

You gave me some very good hints. I will increase the size of course and I will replace the arrows by triangles and I will also change the colors to your suggestions.

You asked me about interactivity... The gray rectangles should act like buttons. So my very basic question is:
When I put this svg drawing to a webpage (inline commands, not a reference and not as object) I need this interactivity. But what about browser incompatibility? Most of users will have IE but this is exactly the browser that does not support SVG like others.

So to be sure it will work with ALL broswers I could make single images out of each polygon in my drawing. When clicking on an image I can reload a different picture to colorize that segment of the circle.

But how can I transform that SVG to multiple images that I can easily integrate into a web page? Is there a tool for that task? How can I arrange the single images on the webpage?

User avatar
brynn
Posts: 10309
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: Please help to improve simple diagram

Postby brynn » Mon Mar 05, 2012 12:54 am

Hhmmm, we seem to be right on the edge of what I understand about images, links and webpages. I don't understand "inline commands, not a reference and not as object".

As far as browser compatibility......well, I can say that I would suggest not using SVG. If it's absolutely necessary, for some reason, the buttons could be made simply enough to probably be displayed in all browsers. So the fancier you need/want it, the less likely the resulting SVG will work across all browsers. After drawing everything in Inkscape as SVG, it can be exported to PNG (File menu > Export Bitmap).

Where I get lost is making the links. I know that images can be made into links, and I know how to do it for single images (using html). But to have a whole image with individual clickable elements, that is beyond my knowledge and experience. I think it can be done with javascript or other scripts, but I don't know how. Or maybe even html, I'm not sure. But it sounds like you might understand that part of it already?

You could transform the SVG to multiple images by using File menu > Export Bitmap > Selection. So you would select one "button/polygon" and export that. Then you'll end up with a whole bunch of those. Hhmmm....well, maybe not that simple. Because then you'd have all these individual files, that are no longer arranged as the whole image.

I'm sure there are other members who can step in at this point, and speak more technically to your level of understanding. I might guess, that you could use Layers. Each element would have to exist on a separate layer. That way, each layer will be the same page size, and each element will retain its position on the page. But since we can't export layers to PNG (at least not yet, and I'm not sure about ever) you'd have to hide all the layers except one, and export the PNG. Then hide it, and unhide the next, and export the PNG. And so on....

But I have no idea how to put all the individual PNGs back together on the webpage. Since these will all be transparent backgrounds as well as the same page size, I guess they could be all stacked up on top of each other. But I don't know what that means in terms of making a webpage. I do know some very basic html, and as I said, how to make an image into a link. But I don't know how to stack them up -- or if that's even possible in the first place, lol!

Yes, you are definitely going to have to hear from someone else at this point! As I mentioned earlier, I could make some fancier buttons and other elements, but with all the added complexity which I don't understand, I'm probably not the best one for the job. However, I certainly will be interested to learn how something like this is done!

beginners_cry
Posts: 4
Joined: Sat Mar 03, 2012 1:31 am

Re: Please help to improve simple diagram

Postby beginners_cry » Mon Mar 05, 2012 3:38 am

Thank you for your reply! You tried it at least. Even if you are also missing the answer like me... Maybe we can learn from the others.

The problem is: Inkscape can help to make fantastic drawings. And such a drawing can be included in a HTML page as it is: simple declarative text instructions. And 90% of the browsers support it and render the SVG images perfectly. And futhermore I can manupulate the content of the drawing by Javascript commands (colors, sizes, visibility of objects and so on). And the image elements can be interactive (mouseover, click, ...).

That is what I want to use. But it seems that the integration of Inkscape and web technology is not given at the moment.

User avatar
brynn
Posts: 10309
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: Please help to improve simple diagram

Postby brynn » Mon Mar 05, 2012 4:03 pm

Oh, well I think it's entirely possible to do what you want. I just don't know how! Hang in there, someone will know :D

User avatar
brynn
Posts: 10309
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: Please help to improve simple diagram

Postby brynn » Fri Mar 09, 2012 9:29 pm

Hey, I just found a couple of possible leads for this issue. Extensions menu > Web > JavaScript. I don't know what they do, or how to use them. But most extensions are explained in the manual (Help menu). Also, I recently posted a link to the Extensions repository, where I saw this one: http://saws.googlecode.com/ You don't mention XHTML or CSS, but possibly they could be used. And this: http://wiki.colivre.net/Aurium/InkscapeAreaCuter. (fyi http://wiki.inkscape.org/wiki/index.php ... Repository)

Also, you might want to edit your topic title to include something like "javascript?" or "with links" or give some indication that it's more complicated than just the drawing. I know we have members who know how to do this, but who probably leave questions like in your title, to people like me ;)

Edit
I didn't know this before, but it looks like the JessyInk extensions might be helpful as well. There's one in the repository, but there are several already installed in the current stable version.

beginners_cry
Posts: 4
Joined: Sat Mar 03, 2012 1:31 am

Re: Please help to improve simple diagram

Postby beginners_cry » Fri Mar 09, 2012 10:29 pm

Ok, thanks again! Very helpful links. In the meantime I have had a deeper look into RaphaelJS. This is a kind of framework for SVG in webpages. Advantage: cross-browser-friendly. I started using this.

Best regards!
Chris

desus
Posts: 3
Joined: Thu Jun 13, 2013 3:56 pm
Location: Brasil

Re: Please help to improve simple diagram (webpage embedded!

Postby desus » Wed Dec 31, 2014 2:44 pm

Someone who recorded the extension Saws - S.A.W.S. (Save As Web Site), could send me. The link that points to the http://wiki.inkscape.org/wiki/index.php ... repository http://saws.googlecode.com/ but was removed and I am unable to find anywhere.

User avatar
brynn
Posts: 10309
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: Please help to improve simple diagram (webpage embedded!

Postby brynn » Wed Dec 31, 2014 4:38 pm

I wonder if it's coming out with 0.91? You could try 0.91 pre 3, which I think is current development version (if not, it's pre2). https://inkscape.org/en/download/ If not, I'd ask on the user mailing list. Surely someone there will know. https://inkscape.org/en/community/mailing-lists/

desus
Posts: 3
Joined: Thu Jun 13, 2013 3:56 pm
Location: Brasil

Re: Please help to improve simple diagram (webpage embedded!

Postby desus » Thu Jan 01, 2015 7:38 am

Thanks for the tip, I have all latest versions and none of them has Saws script. Also'm not finding one that exports to a web format. Ideally export a compatible format with html5 with animated svg, including CSS3 and javascript. I would like to see the code for this script I want to try to write an extension to these characteristics. I'm not a programmer, but I think I can share something recycling codes of other jobs.
I studied hard for something relatively simple, just updated material on the web.


Return to “Work in progress”

Who is online

Users browsing this forum: No registered users and 2 guests