导出大型实体框架图
我有一个相当大的实体图。我尝试将其导出到图像,不幸的是,由于它太大,图像全部像素化。
请参阅此链接 http://connect.microsoft。 com/VisualStudio/feedback/details/534574/edmx-model-image-export-pixelation 获取错误报告(由其他人制作)。
所以我想知道是否有另一种方法来导出该图表。 我不想编写自己的导出实用程序。
我尝试使用实体开发人员打开我的模型,但它崩溃了,当我去报告错误时,他们的网站抛出了一个错误,所以虽然我可以尝试修复他们在我的模型中抱怨的内容,但我不相信他们的应用程序足以将其视为永久解决方案,并且不想投入时间用于临时解决方案。
理想情况下,我能够将其导出到其他类似 UML 的图表中,没有 Visual Studio 的人可以对其进行编辑并返回给我,但我会选择足够详细的图像导出,以便您能够读取实体的名称。
提前致谢。
I have a fairly large Entity Diagram. I tried to export it to an image, unfortunately because it's so large the image comes out all pixelated.
See this link http://connect.microsoft.com/VisualStudio/feedback/details/534574/edmx-model-image-export-pixelation for the error report (made by someone else).
So I was wondering is there another way to export that diagram.
I don't want to have to write my own exporting utility.
I tried using entity developer to open my model but it just crashed, and when I went to report the error their web site threw up an error so while I could try and fix what they are complaining about in my model, I don't trust their application enough to view it as a permanent solution and don't want to invest that time for a temporary one.
Ideally I would be able to export it into some other UML like diagram that people without Visual Studio can edit and return to me, but I'll settle for image export that is detailed enough for you to be able to read the names of the entities.
Thanks in advance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
有一种简单的方法可以实现您的需求。
下载虚拟打印机,例如 PDF Creator。
打开 EDMX 文件。
进入“文件>页面设置...”并选择更大的纸张尺寸,“ARCH E3”相当不错。
转到“文件 > 打印...”,然后从可用打印机中选择“PDF Creator”,然后单击“确定”。将显示 PDF 创建选项,输入您想要的文件名,并在“配置文件”处选择您需要的格式,如“JPEG”或“PNG”,当然您也可以导出为“PDF”。
现在单击“保存”即可。
There's a simple way to achieve what you need.
Download a virtual printer like PDF Creator.
Open the EDMX file.
Go to "File > Page Setup..." and choose a bigger Paper Size, "ARCH E3" is pretty good.
Go to "File > Print..." and select "PDF Creator" from the available printers and click "OK". PDF Creator options will be shown, input your desired file name and where it says "Profile" select the format you need like "JPEG" or "PNG", you can also export to "PDF" of course.
Now click "Save" and voilà.
将打印机更改为 Microsoft XPS Document Writer。这样它就足够大了,可以显示,即使它不能放在一张标准纸上。
Change the Printer to Microsoft XPS Document Writer. It will then be big enough to display, even if it won't fit on a standard piece of paper.
你可以从视觉工作室做到这一点
文件>打印
,然后选择 PDF,您的图像就不会出现像素化的情况。You can do it from visual studio
File > Print
and then choose PDF and you image wont comes out all pixelated.您也可以将其导出到 OneNote。
文件->打印->发送到 OneNote
但不要在视觉工作室中使用深色主题,因为关系中的数字(如 0..1、*)不可见。
您必须将主题切换为 Light(工具 -> 选项 -> 环境 -> 常规)
You can export it to OneNote too.
File -> Print -> Send to OneNote
But dont use dark theme in your visual studio, because numbers in relations (like 0..1, *) are not visible.
You have to switch the theme to Light (Tools -> Options -> Envihiroment -> General)