d3node-output icon indicating copy to clipboard operation
d3node-output copied to clipboard

Provide options to only export png/svg/html instead of always all 3

Open andrew-leonard opened this issue 7 years ago • 4 comments

Has there been any thought into providing options to allow users to determine which output type they want instead of always providing png, svg & html?

I have a use case where I only want the png output.

andrew-leonard avatar Jul 18 '18 16:07 andrew-leonard

Happy to make a pull request and do this myself.

andrew-leonard avatar Jul 18 '18 17:07 andrew-leonard

Sure. I’d be happy to merge it. :)

On Wed, Jul 18, 2018 at 1:33 PM andrew-leonard [email protected] wrote:

Happy to make a pull request and do this myself.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/d3-node/d3node-output/issues/11#issuecomment-406012819, or mute the thread https://github.com/notifications/unsubscribe-auth/AAZ_7ic9zCu9J_Dpuph12ssfmmIsO4Kmks5uH3FYgaJpZM4VU9Im .

bradoyler avatar Jul 18 '18 21:07 bradoyler

Did this ever get done?

austinrutledge0 avatar May 15 '19 18:05 austinrutledge0

no, but I'd prefer we don't change the default behavior, but if we added the options: { skipHtml, skipSvg } that would be a simple change @ https://github.com/d3-node/d3node-output/blob/master/index.js#L49

bradoyler avatar May 15 '19 18:05 bradoyler