kennethkufluk / js-mindmap

JavaScript Mindmap
http://kenneth.kufluk.com/google/js-mindmap/
MIT License
605 stars 146 forks source link

change shapes #15

Open ouya99 opened 11 years ago

ouya99 commented 11 years ago

Is there a way to change the default rectangular shape of a node? (e.g. to a circle)

ouya99 commented 11 years ago

problem solved. just have to adapt style.css

tamebadger commented 11 years ago

could you give me an example of how you did it java99 ? javascript/html/css noob here

ouya99 commented 11 years ago

play with this file.... maybe its already altered

body { background:green; } .js-mindmap-active a.node { background:red; border: 2px solid white; -webkit-border-radius: 60px; -moz-border-radius: 60px; border-radius: 60px; width: 120px; height: 60px;
padding: 30px 0px; text-align:center; } .js-mindmap-active a.node.active { border-width:5px !important; } .js-mindmap-active a.node.activeparent { border-width:5px !important; background:#8B0000; }

content{

    width:1000px;
    height:1000px;}