graphql-voyager icon indicating copy to clipboard operation
graphql-voyager copied to clipboard

[feature] Implement simple saving SVG schemes

Open iviaks opened this issue 5 years ago • 4 comments

This PR tries to close #62

I've used the same implementation as @mjbcopland provided in https://github.com/APIs-guru/graphql-voyager/issues/62#issuecomment-41251608 and located button inside PanelHeader

button.png

It's a simple implementation, because not included styles inside SVG file


Source:

source.png

Result:

result.png

iviaks avatar Jan 07 '20 07:01 iviaks

@iviaks Is it possible to preserve CSS styles in the resulting SVG?

FluorescentHallucinogen avatar Jun 29 '20 10:06 FluorescentHallucinogen

Hey, @FluorescentHallucinogen According to article, we can add styles into svg.

It works for me in a next way.

  1. source image;
  2. screenshot from native Linux viewer;
  3. screenshot from Chrome

If it's OK, we can leave it.

iviaks avatar Jun 29 '20 16:06 iviaks

This has been open for 3+ years, any hope of getting it merged?

tspike avatar Apr 04 '23 19:04 tspike

GraphQL Editor can export schemas

aexol avatar Jul 20 '23 11:07 aexol