Hi there,
I am using inkscape to generate SVG, I try to draw a line and add the arrowhead (Arrow1mend) in the stroke style. After that, I upload the svg to a online svg editor ( https://code.google.com/p/svg-edit/) but I don't know why, that editor will remove all the arrowheads. I try to use other svg editor to generate the svg with arrows and upload again, it works. So I am wondering if anyone know the reason of causing the loss of the arrow. Thanks.
about rendering SVG in online editor
Re: about rendering SVG in online editor
Welcome to InkscapeForum!
I'm not familiar with that editor, but I wonder if you've tried saving in Inkscape as Plain SVG instead of Inkscape SVG? I don't understand the difference, but there is one, and sometimes that, will help. Good luck
Basics - Help menu > Tutorials
Manual - Inkscape: Guide to a Vector Drawing Program
Inkscape Community - Inkscape FAQ - Gallery
Inkscape for Cutting Design
Manual - Inkscape: Guide to a Vector Drawing Program
Inkscape Community - Inkscape FAQ - Gallery
Inkscape for Cutting Design
Re: about rendering SVG in online editor
brynn wrote:
Welcome to InkscapeForum!
I'm not familiar with that editor, but I wonder if you've tried saving in Inkscape as Plain SVG instead of Inkscape SVG? I don't understand the difference, but there is one, and sometimes that, will help. Good luck
Thanks for your reply. Yes, I tried that one, but it doesn't work. Maybe it is the problem of that editor, I don't know
Re: about rendering SVG in online editor
Well, "Import SVG into Drawing" is listed in Features, as well as "Connector Lines and Arrows" (at the link you provided). I guess you've tried importing as well as opening?
Technically....I'm not sure what a Marker really is. I only understand how Inkscape works in very general tems. The Feature list in that editor also includes "Line Joins and End Caps" which would seem to be like a marker. I wonder if markers could be tiny raster elements? Is it possible to open or import raster images?
Actually I might have to try svg-edit, out of curiosity. I'll look into it later today. If I can get it open and running, I'll try to reproduce the problem. I'll let you know what happens.
Oh! The arrow marker lies fully within the Inkscape page border, right? If it falls outside the border, it might seem reasonable that is doesn't appear.
Oops, hi v1nce, you posted while I was typing
Technically....I'm not sure what a Marker really is. I only understand how Inkscape works in very general tems. The Feature list in that editor also includes "Line Joins and End Caps" which would seem to be like a marker. I wonder if markers could be tiny raster elements? Is it possible to open or import raster images?
Actually I might have to try svg-edit, out of curiosity. I'll look into it later today. If I can get it open and running, I'll try to reproduce the problem. I'll let you know what happens.
Oh! The arrow marker lies fully within the Inkscape page border, right? If it falls outside the border, it might seem reasonable that is doesn't appear.
Oops, hi v1nce, you posted while I was typing
Basics - Help menu > Tutorials
Manual - Inkscape: Guide to a Vector Drawing Program
Inkscape Community - Inkscape FAQ - Gallery
Inkscape for Cutting Design
Manual - Inkscape: Guide to a Vector Drawing Program
Inkscape Community - Inkscape FAQ - Gallery
Inkscape for Cutting Design
Re: about rendering SVG in online editor
Ok, this is strange. Using the demo version, I opened a test SVG with the same arrow marker you described. And I have the same result -- the marker doesn't show up. The weird thing is that when I look at the XML/SVG, in that editor, it does show that the marker is there.
<path fill="none" stroke="#000000" stroke-width="1px" stroke-miterlimit="4" stroke-dashoffset="0" marker-end="url(#Arrow1Mend) " id="path2993" d="m559,545l97,-242"/>
I'm not sure the significance of that. I guess it does indicate that the file contains the marker, and that for some reason, it can't be displayed. I'm not sure what you plan to do with whatever you're using that editor to do. But....well, let me try it.... Ok, I was going to say that since the marker is in the code for the image, it might still be there after you save the image. But it doesn't show in the saved image/page either. However, if I look at the source of the saved image/page, it also contains the marker in the code.
Keeping in mind that I don't understand any of this from a technical perspective, I would guess that this is a bug. But I don't really know. If you save the image from off of the page, and display it in a viewer that's capable of displaying SVG, I wonder if the marker would show up? Maybe it's something about the program's display?
<path fill="none" stroke="#000000" stroke-width="1px" stroke-miterlimit="4" stroke-dashoffset="0" marker-end="url(#Arrow1Mend) " id="path2993" d="m559,545l97,-242"/>
I'm not sure the significance of that. I guess it does indicate that the file contains the marker, and that for some reason, it can't be displayed. I'm not sure what you plan to do with whatever you're using that editor to do. But....well, let me try it.... Ok, I was going to say that since the marker is in the code for the image, it might still be there after you save the image. But it doesn't show in the saved image/page either. However, if I look at the source of the saved image/page, it also contains the marker in the code.
Keeping in mind that I don't understand any of this from a technical perspective, I would guess that this is a bug. But I don't really know. If you save the image from off of the page, and display it in a viewer that's capable of displaying SVG, I wonder if the marker would show up? Maybe it's something about the program's display?
Basics - Help menu > Tutorials
Manual - Inkscape: Guide to a Vector Drawing Program
Inkscape Community - Inkscape FAQ - Gallery
Inkscape for Cutting Design
Manual - Inkscape: Guide to a Vector Drawing Program
Inkscape Community - Inkscape FAQ - Gallery
Inkscape for Cutting Design