How to save planogram items?

I’d like to save and open planogram items.
I made a graphview to save flowchart diagram, but planogram is not
easy to add.

That depends on what format you want to save everything in. I guess you don’t have any particular constraints, so it’s popular to use XML as a relatively flexible format that can easily handle schema changes. You can read more about this in the User Guide (page 33). And you can adapt the code in the sample applications.
I suppose we could add some simple XML persistence to the Planogrammer sample.